Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

AFAIK, Google accepts sitemaps which are about ordinary URLs (text/plain), images (image/png, image/gif, image/jpg, etc.), and videos (video/avi, video/mpeg, etc.).

My question is, how many Internet Media Types (formerly known as MIME Types) can have sitemaps. For example, if I'm a researcher, can I create a sitemap for my PDF files (application/pdf), or can a compose create a sitemap for his/her compositions (audio/mpeg3)?

share|improve this question
up vote 4 down vote accepted

To the last bit about composers, this could be done by extending the sitemap format with an audio namespace. (This is basically what's done for the video sitemaps, eg. <video:description>.)

But that only covers the technical possibility.
The actual practical use of such a sitemap would be limited at best right now, as Google isn't doing anything for audio that's analogous to their image or video search functions, which may use the sitemap data to let you filter video search results by length, for example. I don't think any major engine is currently.

If Facebook is a factor for you, apparently they suggest cramming audio into their video OpenGraph tags, but the Google employee in that thread is definitely suggesting that wouldn't be too great an idea for sitemaps. The person who opened the thread does bring up using HTML schemas for it, though, which you might investigate.

share|improve this answer

Google's advanced search shows that Google supports these formats:

  • Adobe Acrobat PDF (.pdf)
  • Adobe Postscript (.ps)
  • Autodesk DWF (.dwf)
  • Google Earth KML (.kml)
  • Google Earth KMZ (.kmz)
  • Microsoft Excel (.xls)
  • Microsoft Powerpoint (.ppt)
  • Microsoft Word (.doc)
  • Rich Text Format (.rtf)
  • Shockwave Flash (.swf)

So if your content in these formats and want them index they should be in your sitemap.

share|improve this answer
So, how should I include those MIME Types in my sitemap? Which tags and attributes should I use? – Saeed Neamati Jul 15 '11 at 17:14
Use the normal syntax for those files just like they were a web page. Google will know what kind of file they are by their file extension or the Content-Type HTTP header. – John Conde Jul 15 '11 at 17:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.