Arne Brachhold

Google Sitemap Generator for WordPress 2.5

Filed under: Sitemaps — arne on June 15, 2005

Hi there!

Thanks for the great support and popularity of my Google Sitemap Generator to all the users and Bloggers who linked to me, especially to Michael Nguyen from socialpatterns.com who had the idea at first of all.

Since Monday, 6 June 2005 over 3500 people visited my Blog and downloaded the current version about 2800 times.

Special thanks go to the contributors who told me about fixes and supplied code templates:
Rodney Shupe for SQL improvements, James and John for the Google-Ping code template, Brad and Christian Aust for bug reports and Hirosama for translating the plugin into Japanese and made translations possible at all.

Today I released a new version of the script, which introduces the ability to include external files which are not part of WordPress and also tell Google automatically about changes via Google Ping. A small new feature is the ability to define a minimum post priority which will override the calculated value (if activated). The work was done on Monday, 13 June but I decided to wait for two days beta testing and language pack creation before making it public.

If you still find any bugs or errors, please don’t hesitate to inform me via mail or comment.

I will move the plugin in the next few days to dev.wp-plugins.org to enable versioning and SVN access. A One-Click-Installer for wp-plugins.net was also planned, but the needed plugin "WordPress Plugin Manager" was temporary discontinued. Stay tuned for upcoming releases with new features.

More Information and Download

Update: (2005-06-16)
César Gómez Martín sent me a Spanish translation file.

Second Update: (2005-06-20)
Stefano Aglietti sent me an Italian translation file. Thanks for the good work!

Third Update: (2005-06-23)
Kirin Lin sent me a Traditional Chinese translation file! Many thanks for this! Download the full package with language files to get it :)

13 Comment(s)

Comment by XeroCool

Posted on June 15, 2005

keep up the good work!

Comment by Stefano Aglietti

Posted on June 18, 2005

I’d liked you plugin and i made the localization for Italian adding translation for the yearly/montly/daily frequency text, I’d also made a readme_it-IT.txt file. Where can i send the languages files and other stuff? Email me at: steagl (at) wordpress-it (dot) it thanks :)

Comment by arne

Posted on June 18, 2005

Hi Stefano,

many thanx :) Please send it to my eMail and I will include it on my site :)

Thanks,
arne

Comment by james

Posted on June 19, 2005

Thanks Arne, this is excellent.

Comment by Wilfred

Posted on June 21, 2005

Hi Arne,

Thanks for the great plugin! It’s running on my own weblog and works just great. There was just one issue. On my site, the blog is in a subdirectory (http://blog.niftypaint.nl/blog). The sitemap.xml is also placed in this /blog subdirectory. The first entry in the XML file (homepage) is http://blog.niftypaint.nl/blog. That entry is refused by Google with an error “URL not under sitemap domain”. I’ve changed the code of the plugin to append a trailing slash to the URL (making it http://blog.niftypaint.nl/blog/). That makes Google accept the URL.

Perhaps somethin to tweak in a future version?

Comment by Emo

Posted on June 21, 2005

Damn, I was about to send you the spanish translation of the sitemap generator.
But now I see that you´ve contacted someone in the middle that did this.
Ok. No hurt feelings :’(

Comment by Caspar

Posted on June 22, 2005

Hello Arne,

I’ve just discovered a small problem with the plugin. When I add ‘additional pages’ manually and enter a ‘last changed’ date for 2005-06-22 it changes the date to 2006-06-10 after save.

Sorry to bother you. ;-)

Comment by Shobhit

Posted on June 23, 2005

Great work!!!

I’ll try it.

Google is doing a lot of new things to make its index more relevent and powerful.

Comment by kalli

Posted on June 27, 2005

I have the same problem as Wilfred! So i added the trailing slash to the url too and it worked. But it doesn’t work with external pages which aren’t generated by WordPress or are not recognized by this plugin if they are not in a directory under the directory of the xml-file.
It would be fine to be able to setup the location of the xml-file so I can put it in the root-directory of my webspace!
Nevertheless, a great work, Arne

Comment by Wilfred

Posted on July 4, 2005

Some people emailed me about the hack for the trailing slash (see http://www.arnebrachhold.de/2005/06/15/google-sitemap-generator-for-wordpress-25#comment-188 )

The trick is:

See line 980 of sitemap.php

old code:

//Add the home page
if(sm_go(”sm_in_home”)) {
$s.=sm_addUrl(get_bloginfo(’url’),mysql2date(’Y-m-d\TH:i:s+00:00′, get_lastpostmodified(’GMT’), false),sm_go(”sm_cf_home”),sm_go(”sm_pr_home”));
}

new code:

//Add the home page
if(sm_go(”sm_in_home”)) {
$s.=sm_addUrl(get_bloginfo(’url’).”/”,mysql2date(’Y-m-d\TH:i:s+00:00′, get_lastpostmodified(’GMT’), false),sm_go(”sm_cf_home”),sm_go(”sm_pr_home”));
}

Notice the extra .”/” to concatenate the slash to the get_blocginfo(’url’).

Comment by arne

Posted on July 4, 2005

Hi Wilfred,

thank you! A similar solution will be included in the next release, which will be available for download later this day.

arne

Comment by gsyi

Posted on July 19, 2005

Nice Tool, thx ;-)

Comment by Deep

Posted on August 17, 2005

Great piece of code, been using it for quite some time now :)

Deep

18 Trackbacks

Sorry, the comment form is closed at this time.

 


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser