Has anybody figured out a way to get xwiki to generate a Google sitemap as
an alternative to RSS feeds? (see
http://www.google.com/webmasters/tools/docs/en/protocol.html ). Also, video
sitemaps (
http://www.google.com/support/webmasters/bin/answer.py?answer=80472&cbi…)
would be useful to index xwiki attachments and media on media search
engines (
http://video.google.com/ ). Video sitemaps are predicated on MRSS:
*Using an mRSS feed as a Video Sitemap* back to
top<http://www.google.com/support/webmasters/bin/answer.py?answer=80472&…
Google supports mRSS <http://search.yahoo.com/mrss>, an RSS module that
supplements the element capabilities of RSS
2.0<http://cyber.law.harvard.edu/rss/rss.html>to allow for more robust
media syndication. If you publish an mRSS feed for
the video content on your site, you can submit the feed's URL as a Sitemap.
For detailed information on creating an mRSS feed, including samples and
best practices, please see the Media RSS
specification<http://search.yahoo.com/mrss>ss>.
Google also supports RSS 2.0 using enclosures tags for video content and
thumbnail urls.
**Sitemaps seem to use their own protocol:
*XML Sitemap Format*
The Sitemap Protocol format consists of XML tags. All data values in a
Sitemap must be
entity-escaped<https://www.google.com/webmasters/tools/docs/en/protocol.…ed>.
The file itself must be UTF-8 encoded.
A sample Sitemap that contains just one URL and uses all optional tags is
shown below. The optional tags are in italics.
<?xml version="1.0" encoding="UTF-8"?>
<urlset
<https://www.google.com/webmasters/tools/docs/en/protocol.html#urlsetdef>
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url
<https://www.google.com/webmasters/tools/docs/en/protocol.html#urldef>>
<loc
<https://www.google.com/webmasters/tools/docs/en/protocol.html#locdef>>http://www.example.com/</loc>
*<lastmod
<https://www.google.com/webmasters/tools/docs/en/protocol.html#lastmoddef>>2005-01-01</lastmod>
<changefreq
<https://www.google.com/webmasters/tools/docs/en/protocol.html#changefreqdef>>monthly</changefreq>
<priority
<https://www.google.com/webmasters/tools/docs/en/protocol.html#prioritydef>>0.8</priority>*
</url>
</urlset>
The Sitemap must:
- Begin with an opening <urlset> tag and end with a closing </urlset>tag.
- Include a <url> entry for each URL as a parent XML tag.
- Include a <loc> child entry for each <url> parent tag.
Niels
http://nielsmayer.com
PS: google sitemap support sounds like a good entry-level GSOC project. :-)
Probably just a big hack to existing code in Main.WebRss?xpage=rdf and
Main.BlogRss?xpage=rdf. Probably a 1 day project for someone that knows
how....
PPS: why does
http://nielsmayer.com/xwiki/bin/view/Main/WebRss?xpage=rdfwork
in many places, display correctly in firefox 3, but when used to
generate a sitemap in google webmaster tools, it fails. (Meanwhile roller
blogger's RSS feed succeeds):
roller/NielsMayer/feed/entries/atom
Atom Feed 5 hours ago OK 32 xwiki/bin/view/Main/BlogRss?xpage=rdf
-- 5 hours ago Errors -- xwiki/bin/view/Main/WebRss?xpage=rdf
-- 5 hours ago Errors
The reported problem coming from xwiki's xpage=rdf feeds:
*Unsupported file format*
Your Sitemap does not appear to be in a supported
format. Please ensure it
meets our Sitemap guidelines and resubmit.
Help<http://www.google.com/support/webmasters/bin/answer.py?answer=35738…
[image:
Help]