I discovered that my sitemaps not longer worked on 1.4.0.2, just upgraded to 1.4.0.3 [6817] (Official Build)and get the same error. No information in the debug log.
The only message is in the browser.
XML Parsing Error: no element found
Location:
http://gallery.soft-focus-imagining.com/index.php?sitemapLine Number 37719, Column 1:
Comments
For others if you run into this; in php.ini change
max_execution_time = xx (I made mine 60 (seconds))
I don't like having it set this high but it does work and generates the sitemap.
I do have a follow up question though. I was able to spend some time really looking into sitemaps and I need some advice.
I noticed that Google was reporting errors and discovered in the XML file that the image URL being reported was as follows :
<image:loc>
http://gallery.soft-focus-imagining.com/zp-core/i.php?a=Colorado Modeling Network/Retro 70s/Arlet&i=CMN+-+70s+Retro+Shoot-Colorado-139.jpg&s=1000&cw=&ch=&q=95&wmk=!
</image:loc>
The problem is the zp-core/i.php part. Typically you would want \zp-core\ in the robots.txt file as a disallow and this throws google off and reports the image as an error.
URL restricted by robots.txt
Is there a way around this?
Nigel.
Now I've run into an issue I've never seen before with google sitemaps. I can generate them locally with no issues and they display correctly in Firefox but when I submit them to google I get the following message
Line Status Details
Errors 3 Sitemap is HTML Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.
and no matter what I have tried this is all I get.
Ironically (and a bit of a saving grace) if I save the locally generated sitemap, place sitemap.xml file in the web site and hook up to that it works perfectly.
Except for increasing the process time that's the only php change I have made and this was all working when using the plugin version. Though I don't think it's same plugin that you based your "supported" version on.
Take care,
Nigel.
It is completly useless if your theme uses custom sizes programmed in the theme directly. The precaching will only cache images based on standard values that in this case would not be used at all. You would only waste space actually.
Regarding validation: Last tests a contributor, who actually helped with that Google extras, and I did when the last major changes where added (before 1.4.) the generated sitemap was completly valid (even with that i.php links above). Make sure all is indeed in UTF8 mode as we do our tests always with that encoding.
I was caught out by sizes early on in my Zen Photo experience, so I made sure that sizes in the theme matched the sizes specified in Zen's config.
I have a horrible suspicion that the Google issue is actually more a time out issue than anything else. I think Google is expecting data almost immediately but it's actually about 35 to 40 seconds before anything is sent, working on how the browser responds.
I created a non-existing sitemap called not_exist.xml
within 5 seconds it came back with exactly the same error about it being html. And when I submit sitemap.php in about the same time 5 or 6 seconds, it comes back with the red cross.
Nigel.