topics
PHP SitemapPOP Version 0.8b
Submitted by zen on Wed, 2005-06-08 22:20. Download Tools | SitemapPOPThe first release of sitemap_pop is ready.
Purpose:
This program generates a xml sitemap you can submit to google
You can download the program here
Change in 0.8b:
It can generate sitemap in both html and xml format. The html file is human readable and search engine friendly. It'll help your site to be more searchable by the search engine.
The program will crawl your site like GoogleBot does (through the web page),
the only advantage of this program is to control what to include,
Install Windows Vista
Submitted by zen on Thu, 2007-02-22 00:05. Windows TipsToday start installing Vista Ultima 32 Bit.
Installation started at 8:00pm
Installing Vista on existing WindowsXP dual boot
Usb device not recognized
Submitted by zen on Wed, 2007-02-07 11:02. Windows TipsI have a USB drive that always worked. However all of a sudden, it stopped working. I got a "Usb device not recognized" error every time I plugged in the device.
Probable Cause:
I've plugged in my friend's USB drive on the same computer, perhaps during the automatic installation process, the USB device didn't install properly and then some how it messed up my USB device drivers.
Solution:
I found the following solution workable for my case:
Remove Hidden Devices
2. Type “set DEVMGR_SHOW_DETAILS=1″ (without quotation marks) and press Enter.
3. Type “set DEVMGR_SHOW_NONPRESENT_DEVICES=1″ (without quotation marks) and Press Enter.
4. Type “start devmgmt.msc” (without quotation marks) and click press Enter.
5. Click View. Click Show hidden devices.
6. Click “+” to expand Imaging devices, Unknown devices and USB devices.
7. Are there any USB devices and unknown devices (including grayed out devices)? If so, please right click it and click Uninstall.
(It's found on the hersam web site)
After doing this, my device works again with no problem.
Your Problem:
If you get "Usb device not recognized" in Windows and the above solution doesn't work for you, there might be other causes:
A) USB device worked before but suddenly stopped working:
The following solution might be applicable:
1) Remove all oem*.inf files
Microsoft Windows XP: Open File Security Warning - Unknown Publisher
Submitted by zen on Tue, 2006-12-26 14:00. Windows TipsAfter Installing IE7 (Internet Explorer 7), when I click on any batch files/exe files/vbs files on my local network, I got an warning messages that says:
"Open File - Security Warning"
Unknown Publisher
Would you like to run the file?
I have to spent an hour searching on the Internet to disable that stupid warning.
I have tried to avoid doing any of those "automatic updates" just because of these dumb features Microsoft suddenly decided to add to the operating system. But sometimes because the threats were immanent (e.g. when there was a security hole in the iframe) and sometimes because I wanted new features (e.g. IE7), I have to use their updates. Their updates are bad.
Google's Holiday Doodle
Submitted by zen on Fri, 2005-12-23 00:29. SEO NewsDo you know you can click on the Google logo and see the hidden doodle images?
Here's a list of all the doodle images.
The Google Summer day Doodle - Page Rank 5
Summer Olympic Doodle - Page Rank 7
The first polar bear holiday doodle - Page Rank 7
The winter Olympic Doodle - Page Rank 7
The animal party holiday doodle - Page Rank 6
Hacked - PHPbb highlighter security hole
Submitted by zen on Sun, 2005-07-03 17:29. ForumThere's a serious security hole in PHPbb 2.0.15. The patch was only available for 1 week and my site has already been hacked. I was usually pretty quick on patches. But I also usually wait for a week first, just until the "first bug" of the patches has been ironed out. But this time, the hacker got me first.
Here's the detail of the hack:
on July 3rd, 2005 1:34am the hacker ip-201-93.mrejata.net
with IP address 85.187.201.9 first found my site by typing:
ie?q=intext:%22powered+by+phpbb+2.0.15%22&hl=en&lr=&c2coff=1&start=40&sa=N
in Google search (I guess my high ranking in Google is causing me trouble now :) )
Find absolute path
Submitted by zen on Sat, 2005-07-02 14:50. PHP LibraryTo find the absolute path base on a base path, here's the functions:
//---------------- check if a path is absolute
function is_path_abs($path) {
return preg_match("`^(http:|[a-z]:)`i", $path);
}
//---------------- make an absolute path
function path_abs($path,$base_path) {
if(is_path_abs($path)) {
return $path; #already absolute, no need to change
} elseif ($path{0}=='/') { #paste to very base
Habbit of a GoogleBot
Submitted by zen on Thu, 2005-06-23 00:28. SEO TipsThe GoogleBot visit my site almost everyday. However, it doesn't crawl through all the pages in one night. It usually dips on several pages first, then comes back another night and dips some more.
It always starts from the Index page. After the index page is read by Google, it will remember the next time it visits. And I can safely remove the link from my home page so it won't be so crowded.
Sitemap Update on June 20
Submitted by zen on Mon, 2005-06-20 21:56. SEO NewsAs of today, about 53 pages of my experimental site is being updated by Google. That's a great improvment from last time's 33 pages. But I found that it really has nothing to do with the Google Sitemap. It's more related to my removal of the sid.
MSN, on the other hand, are more tolderate about those strange url. They return the result not matter how the url are formed.
New google algo
Submitted by zen on Sat, 2005-06-18 14:39. SEO NewsSince Wednesday June 15th, I have noticed Google has changed their algorithm back to "title-heavy mode". That was the original algo they used for many years. But back in May 19th, they seemed to be experimenting with some new algo. They might have applied some new penalty rule or put more emphasis on back links. The change doesn't seem to produce any real improvement on search results. Sometimes the phrases are more important than the reputation.
So now it's returning to the old algorithm. MSN, on the other end, seems to be using the "title-heavy mode" all the time. I didn't notice much change on their results for the last few months.
Progress of Google sitemap on June 16th
Submitted by zen on Thu, 2005-06-16 18:56. SEO NewsMy sitemap was read by Google successfully. The googleBot dropped by my site for a couple of times already. It doesn't seem anything is changing. Everything stay the same. No improvement at all.
It seems the GoogleBot is not at all interested in my site.
Well, I think the Google Sitemap excercise is a total waste of my time, but it's still too soon to say so. Maybe it's only a half-total waste of time. Only time can tell... Waiting...
Have you bought google stocks yet?
Submitted by zen on Mon, 2005-06-13 00:16. SEO NewsSearching for a reason to buy Google | CNET News.com
Its supporters point out that Google is no concept stock. Unlike pre-millennial Internet darlings, Google makes money. But parallels with the late 1990s should make investors wonder whether there is more room above today's price than below it.
Hilltop Algorithm
Submitted by zen on Sat, 2005-06-11 20:21. SEO NewsIs Hilltop Good for Google Users
Hilltop is the patented algorithm provided for Google's use by its creators, Krishna Bharat and George A. Mihaila of the University of Toronto. It is an algorithm that finds so-called expert documents that appear to have authoritative value with respect to particular keyword topics. These documents then become "mini Yahoo directories" of sorts and Google emphasizes the outbound links contained on them.
PHP - IMAP - Receive Email in PHP
Submitted by zen on Fri, 2005-06-10 20:52. PHP Library.net - .web builder - PHP: Email, IMAP and PHP Conveniently, PHP includes a library of IMAP functions created to bring these mailbox operations under the control of the intrepid PHP programmer. Even more conveniently, many of PHP's more useful IMAP functions also support two other protocols for accessing mailboxes; POP3 and NNTP.
PHP Header
Submitted by zen on Fri, 2005-06-10 13:09. PHP LibraryFor dynamic page over written with mod rewrite, they always return the current date in the header. It's possible to change such date to reflect when your document has actually been updated.
The code is:
<?php
header("Expires: Sat, 1 Jan 2000 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
?>
More information avaialble at:
http://www.developerfusion.com/show/3703/7/
