Google Webmaster Central Blog - Official news on crawling and indexing sites for the Google index

Sitemaps: One file, many content types

Tuesday, June 29, 2010 at 4:48 PM

Webmaster Level: All

Have you ever wanted to submit your various content types (video, images, etc.) in one Sitemap? Now you can! If your site contains videos, images, mobile URLs, code or geo information, you can now create—and submit—a Sitemap with all the information.

Site owners have been leveraging Sitemaps to let Google know about their sites’ content since Sitemaps were first introduced in 2005. Since that time additional specialized Sitemap formats have been introduced to better accommodate video, images, mobile, code or geographic content. With the increasing number of specialized formats, we’d like to make it easier for you by supporting Sitemaps that can include multiple content types in the same file.

The structure of a Sitemap with multiple content types is similar to a standard Sitemap, with the additional ability to contain URLs referencing different content types. Here's an example of a Sitemap that contains a reference to a standard web page for Web search, image content for Image search and a video reference to be included in Video search:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
 xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
 xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url>
 <loc>http://example.com/foo.html</loc>
 <image:image>
   <image:loc>http://example.com/image.jpg</image:loc>
 </image:image>
 <video:video>
   <video:content_loc>http://example.com/videoABC.flv</video:content_loc>
   <video:title>Grilling tofu for summer</video:title>
 </video:video>
</url>
</urlset>

Here's an example of what you'll see in Webmaster Tools when a Sitemap containing multiple content types is submitted:



We hope the capability to include multiple content types in one Sitemap simplifies your Sitemap submission. The rest of the Sitemap rules, like 50,000 max URLs in one file and the 10MB uncompressed file size limit, still apply. If you have questions or other feedback, please visit the Webmaster Help Forum.

The comments you read here belong only to the person who posted them. We do, however, reserve the right to remove off-topic comments.

45 comments:

Citiguard Security Sydney said...

That sounds really good, didn't know we could do direct image sitemap submissions. Where is there data on doing geo sitemap submissions?

Nigel said...

How would you add the geo information to this all-in-one? It's got a different schema & layout.

BLB Finance Institute said...

Yes its another useful features add by Google.

mernen said...

In the example, you're declaring the default namespace three times. Don't you mean xmlns, xmlns:image and xmlns:video (in this order)?

Anyway, great news!

www.greenitweb.co.za said...

I am a beginner in SEO industry I need help where to start get usefull information to keep me up to date.how can I start using this Sitemap here is my first website Green IT Web

Shivaji said...

In sitemaps priority is important or not.

Arthur said...

Great news. We can still use the old fashioned way of having different sitemap types in the same way right?
Arthur

dannybuntu said...

It would be cool however, if Google can provide a tool that automatically does this - specially on the blogger platform.

As webmasters, there are more and more things that we have to do now aside from creating the site itself and the content.

It seems as we progress in technology, that we are getting more and more burdened with additional tasks.

mhausenblas said...

Good to see this happening! I was wondering if you'd consider to update the list at [1] with the sitemap extension we've developed for semantic markup (microformats, RDFa, etc.), see [2].

If you have any question, please feel free to contact me.

Cheers,

Michael Hausenblas
(Sindice Data Acquisition)


[1] http://www.google.com/support/webmasters/bin/topic.py?hl=en&topic=20986
[2] http://sindice.com/developers/publishing

Waldemar Pross said...

Good you posted it now :D
I was going to write a tutorial (with video) how to create video sitemaps (for external sites like vimeo and blip.tv too).

Now I finally can combine both types of sitemaps in one file!

Do you guys know any good Plug In which can create video sitemaps or MRSS? Didn't find any...
_
wapr | screencastblog.net

methode said...

@Nigel, each and every sitemap has its own XSD, but all, including the Geo sitemaps uses the standard XML 'layout'. You supply the schema for the Geo reference the same way you'd supply a News schema

@Arthur, a standard web sitemap (sitemaps protocol) is the base of this new feature, so yes, you can continue using web sitemaps

Cight said...

Does this apply to news sitemaps or not. its not mentioned so its unclear

Risma2006 said...

How do I make Site map for Blogspot. I need to give Site map for my blog http://risma2006.blogspot.com

Nazgut said...

http://www.sitemaps.org/schemas/

there are no image and video schemas

Ian said...

Vanessa Fox (a prominent ex-Google employee) has criticised Google for "going it alone" with these changes and not discussing it with fellow sitemaps.org members Yahoo! and Bing.

I entirely agree - the world wants standardised formats, not everyone doing their own thing. If Yahoo! and Bing really weren't involved, then frankly, shame on Google for behaving like that.

methode said...

@Nazgut, specialized sitemaps such as News and Video sitemaps are extensions of the sitemaps protocol and their schema aren't bundled in the original web-sitemap schema. The specification and examples of these sitemap extensions can be found in the Webmaster Central Help Center

Anshu Garg said...

How can we create this type of sitemap? Do we need to create it manually? If yes, then what in case of big sites with 100's of videos and image..

Please suggest.

Jasonk said...

http://www.sitemaps.org/schemas/sitemap-image/1.1

gives a 404

dailywebarticles said...

Yes useful information for websites, but how about blogs is there any way or need to create a site map in BlogSpot? Dailywebarticles.com

Kitvy said...

Is there any different between XML in plain format (.xml) and compressed format (.xml.gz) ?

Romul Zanini Hammer said...

That's Great!

Romul zanini hammer

Jiten said...

That's something great ! It's like a cherry on the cake.....another set of useful features provided by Google....

seo4clients said...

Sounds really interesting. This really helps webmasters having different sections of website indexed without the sitemaps having any load problems.

dansho said...

Thats interesting but I have a question regarding sitemaps, hope someone here can answer here. I'm running a blog called Monsters Exposed, a site on real world monsters and mysterious paranormal events which is rich in multimedia content. How do I make sure that google indexes all of the relevant content?

Complex Simplicity said...

This is a great new asset to getting valuable content indexed. QUESTION: Can a sitemap index be used to identify separate sitemaps containing, just certain content types (e.g. video sitemap, image sitemap, etc.)?

If so, is there a code example?

It'd be beneficial in managing all asset types into isolated sitemaps.

Vikas Uttam said...

Very good improvement.It makes really helpful to SEO's rather using different type of sitemaps for each.

Nicola Connolly said...

Brilliant addition! This will be incredibly useful. The specifications are detailed in the Google Webmasters Support Forum. Nice one :)

Justin said...

Thank you

Ivan Cavric said...

Great to know, thanks
Ivan Cavric

Mister Lucky said...

how to upload sitemap file for blogger ?

BALRAM KUSHWAHA said...

what site map i will use for submitting on Google and other search engine...... ??


http://sarkarinaukriyaa.blogspot.com/

stephan said...

Thanks

seotools said...

Great news! Voila the Russian translation of this article:
Несколько типов данных в одной карте сайта

Laptop Battery, Battery Charger, Camcorder Battery said...

All right, it's good!
But how could I submit my all url, it is a large number.

Analytic said...

How to create a sitemap for a site which is developed in Google like www.siteshelp.com ?
All talked about websites sitemap but Google Sites are also iportant and need ore SEO information and webmaster information which can helpful for Google Sites users.

arick.net said...

i guess i can't submit xml sitemap if i were using blogspot because there are no other way to upload xml file to root directory. it is only possible using other hosting which allowed us to upload file to root directory. but I could be wrong.

WebSanity Internet Marketing said...

Doesn't work - Google webmaster tools rejects this example.

keith said...

Does anybody knows, who introduced the sitemap feature.

John Regis said...

What about using this sitemap for wordpress?

is there a plugin version or does this have to be created manually?

Hà Thanh Ngọc said...

Great news. We can still use the old fashioned way of having different sitemap types in the same way right?
Arthur

HD Shop Online said...

for blogspot, log in to webmaster tools, and type atom.xml on sitemap field and submit.

-luzie- said...

Your example here looks a bit questionable. You give the URL of a page as:

www.example.com/page

whereas in the URL of the image the prefix (subdomain) is lacking:

example.com/image

Not that I'd think that wouldn't work, yet I'd prefer to have this example completely clean from any ambiguity.

-luzie-
Top Contributor Google Webmaster Help

John Mueller said...

Thanks, Luzie! I added the "www" to the URL to make it consistent.

bogdan said...

First time I used google gmail service was
prior to 2008 and see Googele officials have`t acknowledge my registration
options.

When I registered for US soil I had
made an agreement to use only en-us
language.

Because
http://www.google.com/intl/en/privacy/
https://www.google.com/dashboard/?hl=en
your website with privacy is not running english and thaw you agreed it,
see no reson to keep using it.

Please modify my status and use not
romanian LOCALIZED messages
https://profiles.google.com/connectedaccounts
I will come back nomore. You can remove my account in two weeks time,but try
not if anyone in your team is kindly willing.

Google Webmaster Central said...

Hi everyone,

Since over a year has passed since we published this post, we're closing the comments to help us focus on the work ahead. If you still have a question or comment you'd like to discuss, free to visit and/or post your topic in our Webmaster Central Help Forum.

Thanks and take care,
The Webmaster Central Team