#522 Files created with sitemap give an error on Google

closed
5
2009-03-27
2009-03-12
Borksoft
No

As reported in message "Google Sitemap - Invalid XML attribute" the generated sitemap files give an error when imported by Google. The message is Line 3. Status:

Invalid XML attribute. The XML attribute of this tag was not recognized. Please fix it and resubmit.
Tag: urlset
Attribute: url

After checking with http://www.sitemaps.org/ the header of the generated sitemap file is changed to reflect the header as specified here. Attached are the new index.php file (which replaces the index.php file in modules/sitemap) and the patch file with the changes in the index.php file.

Discussion

  • Borksoft

    Borksoft - 2009-03-12

    Sitemap index.php file

     
  • Borksoft

    Borksoft - 2009-03-12

    Diff file containing the changes in the index.php file

     
  • Borksoft

    Borksoft - 2009-03-12
    • labels: --> Functionality Improvement
    • milestone: --> Applies to Normal and mySQL
     
  • Łukasz Wileński

    File added to Subversion

     
  • Łukasz Wileński

    • assigned_to: nobody --> wooc
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks