ZenphotoCMS Forum
ZenPhoto 1.4.0.4 Sitemap is HTML Error - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: ZenPhoto 1.4.0.4 Sitemap is HTML Error (/thread-8669.html)



ZenPhoto 1.4.0.4 Sitemap is HTML Error - hkdigit - 2011-05-30

Zenphoto version 1.4.0.4 [7122] (Official Build)
Current locale setting: en_US.UTF8
Plugin : sitemap-extended v1.4.0

When I submit sitemap to Google Webmaster tool by using following URL:

http://www.hkceleb.com/pic/index.php?sitemap

It' return following error:

Sitemap is HTML
Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.

I try validate the sitemap file:

http://www.w3.org/2001/03/webdata/xsv?docAddrs=http://www.hkceleb.com/pic/index.php?sitemap&style=xsl

It return:

Attempt to load a schema document from http://www.w3.org/1999/xhtml (source: docElt) for http://www.w3.org/1999/xhtml, failed:

Not recognised as W3C XML Schema or RDDL: html

It pass sitemap generate by Wordpress :

http://www.w3.org/2001/03/webdata/xsv?docAddrs=http://www.hkceleb.com/sitemap.xml&style=xsl

It is something wrong which generated sitemap file?

Regards,
Chris




ZenPhoto 1.4.0.4 Sitemap is HTML Error - acrylian - 2011-05-30

If I visit your site and call the sitemap the index page appears. That is a bug in the 1.4.0.4 sitemap plugin if I recall right that long has been fixed in development.

The sitemap has been reworked quite a bit for the coming 1.4.1 release which can be previewed by installing the trunk nightly build (it does not generate automatically anymore on calling!).




ZenPhoto 1.4.0.4 Sitemap is HTML Error - hkdigit - 2011-05-30

acrylian, try use Google Chrome, it show HTML page

http://www.hkceleb.com/pic/index.php?sitemap




ZenPhoto 1.4.0.4 Sitemap is HTML Error - acrylian - 2011-05-31

As I said this is a bug that calls the index page of your site which is of course a html page... So the fix is to try the trunk nightly build (which our own site uses right now) or wait until Zenphoto 1.4.1 is out.