I’m doing a sitemap for a site done in jquery mobile. I’m targeting both desktop and mobile, so…
Do I add entries with the mobile tag like this:
<url><!-- some -->
<loc>http://someurl.com</loc>
<lastmod>2012-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>0.25</priority>
<!-- use this or not?-->
<mobile:mobile/>
</url>
or without it?
From what Google states, it seems you may have to have 2 sitemaps.
If you use the mobile tag it is for mobile only content, therefore it won’t index it for desktop.
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=34648
From the link above: “A Mobile Sitemap can contain only URLs that serve mobile web content. Any URLs that serve only non-mobile web content will be ignored by the Google crawling mechanisms. If you have non-mobile content, create a separate Sitemap for those URLs.”