Now we can add images to our sitemap :
Now we can use a Sitemaps extension to provide Google with exactly this information. For each URL we list in our Sitemap, we can add additional information about important images that exist on that page. We don’t need to create a new Sitemap, we can just add information on images to the Sitemap we already use.
<?xml version="1.0" encoding="UTF-8"?>
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
http://example.com/sample.html
http://example.com/image.jpg
Google indexes billions of images and see hundreds of millions of image-related queries each day. To take advantage of that traffic most effectively, lets update our Sitemap file with information on the images from our site.
We dont have this feature so far in xmlsitemap. Please look into this.
Comments
Comment #1
Anonymous (not verified) commentedI understand why you're asking for this but in the meantime you could use the custom links module to add in the image links. You could even create a custom module for it using the xmlsitemap API which maybe the way this request leads anyway.
Comment #2
Paulhvir commentedYes it would be nice but adding a custom link wouldn't do it because there is a format to display it in the sitemap, apparently like this:
Comment #3
dave reidI'm not inclined to support this yet for several reasons:
1. Requires determining what location is associated with each image.
2. Will require changing how individual sitemap links are generated, which will likely slow down the generation process.
3. Using the example given in the Google Webmaster Tools Blog is not even going to pass validation. Their own image XML namespace is a 404: http://www.google.com/schemas/sitemap-image/1.1
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=178636
Comment #4
inders commentedHi,
I agree with this feature request, I have many images on my sites but none listed on google ;-( . I tried to hack xmlsitemap module for this and have added this support there. you can check my personal site map at:-
http://indersingh.com/sitemap.xml
I am waiting for my pics to be listed on google :-) and I hope they will do something for their image XML namespace validator.
Thanks & regards
-Inder Singh
http://indersingh.com
Comment #5
dave reidMerging this request into #451234: Support for extended sitemap formats (e.g. video, news, image, mobile).
Comment #6
liquidcms commented@inders: how did you hack to get that?
is it possible to use the xmlsitemap api to do this in a separate .inc file for a custom module without having to hack the module?
Comment #7
drupjo commentedWhat is the status of adding video, news, image, mobile URLs to the XML sitemap.