[pLog-svn] r4317 - plugins/branches/lifetype-1.1/sitemap

pwestbro at devel.lifetype.net pwestbro at devel.lifetype.net
Sun Nov 19 18:43:44 GMT 2006


Author: pwestbro
Date: 2006-11-19 18:43:43 +0000 (Sun, 19 Nov 2006)
New Revision: 4317

Modified:
   plugins/branches/lifetype-1.1/sitemap/pluginsitemap.class.php
Log:
Changed the format of the xml to the 0.9 version


Modified: plugins/branches/lifetype-1.1/sitemap/pluginsitemap.class.php
===================================================================
--- plugins/branches/lifetype-1.1/sitemap/pluginsitemap.class.php	2006-11-16 14:12:59 UTC (rev 4316)
+++ plugins/branches/lifetype-1.1/sitemap/pluginsitemap.class.php	2006-11-19 18:43:43 UTC (rev 4317)
@@ -122,10 +122,7 @@
 
             // Data from the xml file that needs to be there.
             $xmlData =  "<?xml version='1.0' encoding='UTF-8'?>\n".
-                          "<urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\"\n".
-                          "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n".
-                          "xsi:schemaLocation=\"http://www.google.com/schemas/sitemap/0.84\n".
-                          "http://www.google.com/schemas/sitemap/0.84/sitemap.xsd\">\n";
+                          "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n";
                               
              
             // Iterate over the posts and create an entry for each.



More information about the pLog-svn mailing list