Google sitemap.xml for WordPress – gzipped with links to categories

I’ve combined dt’s gzipped version with dsas’s script which generates links to categories to produce this version

http://www.macewan.org/sitemap.txt

and  

http://www.macewan.org/sitemap.php is the output

These are all originating from the socialpatterns.com code found here.

I’ve also been pointed in the direction of http://www.arnebrachhold.de/ – thanks SoGuTz

Updated: Currently testing the plugin code of arnebrachhold found here 

  • StumbleUpon
  • Technorati
  • del.icio.us
  • Digg
  • Facebook
  • Google
  • Pownce
  • TwitThis

2 Comments to “Google sitemap.xml for WordPress – gzipped with links to categories”

  1. m0n5t3r 4 June 2005 at 12:46 pm #

    some fixes needed:

    add or post_status = 'static' to the query, otherwise pages won’t be present in the sitemap
    send the content length before echoing the gzipped thing, or there may be problems (how is the client supposed to know it got it all?)

  2. Sidney 6 June 2005 at 8:35 am #

    Perhaps you’re also interested in a remix of socialpattern’s and Arne Brachhold’s scripts that combines all the advantages.

    Sid

    http://sidney.ws4f.us/2005/06/04/keeping-pace-with-google


Leave a Reply