Author Topic: sitemap including images  (Read 4061 times)

Barbyr

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
sitemap including images
« on: April 26, 2010, 04:44:51 PM »
Am I overlooking something? I can't find how to have my Google XML sitemap include image files (.jpg) linked to each url.
Is there no way to do this?

Example from Google webmaster tools:

<?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">
 <url>
   <loc>http://example.com/sample.html</loc>
   <image:image>
     <image:loc>http://example.com/image.jpg</image:loc>
   </image:image>
   <image:image>
     <image:loc>http://example.com/photo.jpg</image:loc>
   </image:image>
 </url>
</urlset>

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • Webmaster and Website Help Forums
Re: sitemap including images
« Reply #1 on: April 27, 2010, 07:01:43 AM »
Images in XML sitemaps were first announced 7th April.
And I have not gotten around to supporting it yet.

Personally I don't understand Google does not choose to either support all formats into same XML sitemap file or continue to split up into unique sitemap files. Instead they flip flop between the two things :( But no matter, implementing support for image data in XML sitemaps will be a snap in A1 Sitemap Generator, so it will most likely make it into release 2.1.5 or 2.1.6

Barbyr

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: sitemap including images
« Reply #2 on: April 30, 2010, 08:59:04 PM »
You know how we customers are. Pushy.
Have a time frame? This revision is very
important to me, my site is graphics heavy.
Thanks! The sitemap generator works great.

Barb

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • Webmaster and Website Help Forums
Re: sitemap including images
« Reply #3 on: May 01, 2010, 07:46:20 AM »
Within a couple of weeks at max. Possibly beta out somewhat sooner, e.g. a week or less.

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • Webmaster and Website Help Forums
Re: sitemap including images
« Reply #4 on: May 08, 2010, 10:57:56 AM »

Barbyr

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: sitemap including images
« Reply #5 on: May 13, 2010, 09:08:41 PM »
Looks like it worked fine. Thank you for your prompt turnaround!
I will advise how Google digests the sitemap w/images
or if any problems.

Barbyr


Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • Webmaster and Website Help Forums
Re: sitemap including images
« Reply #6 on: May 14, 2010, 07:33:43 AM »
Happy to hear. And yes, please keep me informed if you encounter any problems of any sort! :)

Barbyr

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: sitemap including images
« Reply #7 on: May 16, 2010, 08:45:27 AM »
OOPS. Google's webmaster tools now tells me none of my urls are indexed. No other indications of problems with the sitemap:

Format   URLs in Sitemap   Submitted   Downloaded
Sitemap   Total: 6,408, Indexed: 0   
Submitted: May 13, 2010
Downloaded: May 15, 2010
Sitemap errors and warnings: No errors or warnings found.

I normally have 950 indexed urls from my A1-generated sitemap.

Help!

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • Webmaster and Website Help Forums
Re: sitemap including images
« Reply #8 on: May 16, 2010, 12:00:00 PM »
When you add or remove/add an XML sitemaps, that's default behavior in Google. See this article where this behavior is documented. The actual count of indexed URLs is not zero :) As a side note, I reallly recommend that you submit the Image sitemap in addition to your existing XML sitemap. That will work fine and makes it easier update them separately.

Barbyr

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: sitemap including images
« Reply #9 on: May 17, 2010, 09:48:09 PM »
Hmm. Never had that happen before, ever. And Google still shows none indexed. My traffic and rankings remain unchanged as far as I know.

How do I generate two different sitemaps?

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • Webmaster and Website Help Forums
Re: sitemap including images
« Reply #10 on: May 18, 2010, 10:00:47 AM »
It's pretty common, but at this point, some of the URLs should start to get listed as indexed. Anyways, A1 Sitemap Generator is able to generate about 10 different sitemap files. And if using default settings, their file names do not clash and you can just submit those you want (standard XML sitemap, image xml sitemap (I chose to add it as a separate type as that's how Google has handled all their other sitemap file types and most people won't want images in their standard XML sitemaps. Please note that there is no problem in submitting multiple sitemaps even if they share a few URLs), video xml sitemap, mobile sitemap, news sitemap etc.)

Just click any of the links above to read the tutorial for the specific sitemap file kind.

Barbyr

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: sitemap including images
« Reply #11 on: May 22, 2010, 07:43:19 AM »
Well, I have both regular and image sitemaps loaded, and Google has acknowledged both with their green checkmark. However, in the "format" column, the xml site map shows "sitemap" but the image sitemap just has "--" as if the format is unrecognized.

The format of the image sitemap appears to follow the example Google gives in their webmaster guidelines, so I don't understand why this happened. I followed all your instructions, Thomas.

In addition, neither of those sitemaps shows any urls indexed. Zero. This has never happened before. Since I began submitting sitemaps, I've always had over 900 urls indexed. Now I have none. What does that mean, if anything? I'm worried.

sitemap urls
http://www.cirrusimage.com/sitemap/sitemap.xml   and sitemap-image.xml

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • Webmaster and Website Help Forums
Re: sitemap including images
« Reply #12 on: May 23, 2010, 02:11:51 PM »
Please upload your sitemap files to:
http://www.cirrusimage.com/sitemap.xml
and
http://www.cirrusimage.com/sitemap-image.xml

(At least in the in past you would need to have sitemaps in root to URLs submitted for it to work!)

Also do notice that when you remove/add a sitemap in Google Webmaster Tools, indexed URLs will reset. It does not not indicate anything but "URLs in sitemap that are verified to be indexed". See this indexed urls article for explanation.

When you have done that then please give it a few days. I believe you will start see it to move then.

Barbyr

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: sitemap including images
« Reply #13 on: May 24, 2010, 02:07:17 PM »
I never had my sitemap in the root directory before, and I had over 950 urls indexed by Google.

Did you look at the code in my sitemaps, and does it appear to be correct?
I'm worried submitting multiple sitemaps might be detrimental to my googlebot crawler's activities.
Should I just delete the files in my /sitemap folder and submit them again from the root? (Goolge provides no facility for deleting sitemaps already submitted). Why would the file location have anything to do with it if Google acknowledges the existing sitemaps with its green check mark?

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • Webmaster and Website Help Forums
Re: sitemap including images
« Reply #14 on: May 24, 2010, 04:33:17 PM »
You can get around the requirement, but usually Google will only accept URLs in sitemaps that are below the directory you submit it in. Think about it it this way, 2 people each have their website on a domain.
example.com/Joe
example.com/Tom

Should I (Tom) be able to inform google about URLs on Joe's website. Short answer is no.

(And yes, I did look at the sitemap files.)

I am not sure why you can't delete sitemaps once submitted to Google... I will try write some more in-depth answers and tutorials about this and sitemap file location. (Can't right now this instant as it takes time to take screenshots and write etc. But hopefully within a day)

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • Webmaster and Website Help Forums
Re: sitemap including images
« Reply #15 on: May 24, 2010, 04:41:50 PM »
I just found official resource that also states same as me.

http://sitemaps.org/protocol.php
Section
Sitemap file location


Quote
The location of a Sitemap file determines the set of URLs that can be included in that Sitemap. A Sitemap file located at http://example.com/catalog/sitemap.xml can include any URLs starting with http://example.com/catalog/ but can not include URLs starting with http://example.com/images/.

Quote
URLs that are not considered valid are dropped from further consideration. It is strongly recommended that you place your Sitemap at the root directory of your web server. For example, if your web server is at example.com, then your Sitemap index file would be at http://example.com/sitemap.xml


You can even also find this topic described in The A1 Sitemap Generator FAQ albeit its topic is slightly different (click link)


in my mind, this gives a quite satisfactory explanation why you are not seeing URLs indexed.

Barbyr

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: sitemap including images
« Reply #16 on: May 24, 2010, 04:49:39 PM »
Thomas,

I copied the xml sitemap and put it into the root directory. I'll see what happens with that one.

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • Posts: 1090
  • Karma: +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • Webmaster and Website Help Forums
Re: sitemap including images
« Reply #17 on: May 24, 2010, 04:50:08 PM »
I'm flooding my own forum tonight it seems :)

While this should not affect image-sitemap-indexing as such beyond inefficiency, it seems it sometimes adds the same image URL multiple times. I consider it a bug and will fix ASAP, but it should in no way give the problems you are experiencing currently and problem is limited to image sitemaps introduced in 2.1.5

Barbyr

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: sitemap including images
« Reply #18 on: May 26, 2010, 09:02:21 PM »
OMG I discovered the problem. All is well, at least with my .xml map.
Sitemap   Total: 973, Indexed: 963   
May 26, 2010
Sitemap errors and warnings
Line   Status   Details
No errors or warnings

All my indexed files were restored within 10 minutes of my resubmission.

Sorry to be such a pain. Thanks for all your help. Now I'll make a new image sitemap too.

Barbyr

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: sitemap including images
« Reply #19 on: June 10, 2010, 08:44:12 PM »
Thomas,
I seem to have lost the email with the link you sent me. You made another beta for images sitemaps, yes?
Thanks,
Barbyr

 

WebHelpForums
WebHelpForums

WHF at Twitter   WHF at Google+
Join Our Newsletter
More information
BitsDuJour