Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mobile sitemap renderer #6

Open
dmitryd opened this issue Apr 11, 2013 · 0 comments
Open

mobile sitemap renderer #6

dmitryd opened this issue Apr 11, 2013 · 0 comments

Comments

@dmitryd
Copy link
Owner

dmitryd commented Apr 11, 2013

A sitemap for mobile sites needs two things:
a different urlset declaration

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0">

and the (empty) tag

<mobile:mobile/>

in each declaration

Example:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" 
xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0">
<url>
<loc>http://mobile.example.com/article100.html</loc>
<mobile:mobile/>
</url>
</urlset>

See: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=34648

Imported from: http://forge.typo3.org/issues/42141
Author: A.L.Datenverarbeitung

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant