Mar 02

sitemap: Google Sitemap: Sitemap Protocol: RSS Sitemap

Some useful information on sitemap: Google Sitemap Rules: Sitemap Protocol: RSS Sitemap

Sitemap Protocol is defined on the Official Sitemap Protocol Organization

http://www.sitemaps.org/protocol.html

---

An example sitemap created with following the sitemap protocol and that has multiple urls

http://www.sitemaps.org/protocol.html#sitemapXMLExample

---

Validating your sitemaps:

For Sitemaps: http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
For Sitemap index files: http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd

---

urlset

url

loc

lastmod

changefreq

priority

---

You can use sitemapindex to group multiple sitemaps in a single sitemap file

sitemapindex related tags:

sitemapindex

sitemap

loc

lastmod

 

---

Your Sitemap file must be UTF-8 encoded

As with all XML files, any data values (including URLs) must use entity escape codes for the characters listed in the table

 

Extending your sitemaps with custom tags

You can extend the Sitemaps protocol using your own namespace. Simply specify this namespace in the root element. For example:

 

 Sitemap Protocol and Google Sitemap

Sitemaps created with the protocol mentioned above work well with google

https://support.google.com/webmasters/answer/156184?hl=en

 

Google page on creating sitemaps

https://support.google.com/webmasters/answer/183668

This url (https://support.google.com/webmasters/answer/183668) also shows how to include image and video information in sitemaps.

 

<image:image>
       <image:loc>http://example.com/image.jpg</image:loc> 
    </image:image>
    <video:video>     
      <video:content_loc>
        
      </video:content_loc>
      <video:player_loc allow_embed="yes" autoplay="ap=1">
        http://www.example.com/videoplayer.swf?video=123
      </video:player_loc>
      <video:thumbnail_loc>
        http://www.example.com/thumbs/123.jpg
      </video:thumbnail_loc>
      <video:title>Grilling steaks for summer</video:title>  
      <video:description>
        Get perfectly done steaks every time
      </video:description>
    </video:video>

The xmlns references to include for image and video are
  xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" 
  xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">

Sitemap Extensions:

including information on images, videos, news, and mobile content in sitemaps is 
considered to be extensions to sitemap. The details on these extensions can be found at
https://support.google.com/webmasters/answer/183668#2 . This google support page also 
lists the name spaces to include to utilize these extensions



RSS Sitemap

Google also supports RSS sitemaps.
an example RSS sitemap can be see at: (Go to the page and use view source to check the 
xml rss sitemap) . I checked the rss sitemap for justetc with google webmaster tools; it 
worked well with no errors.

http://www.justetc.net/rss_sitemap.xml

Another example:
http://www.xml-sitemaps.com/feed_rss.xml

You can also use some extension (xml) for rss to include media. Media can be used with the default xmlns at leat for image (as I used image)

 

<item xmlns:media="http://search.yahoo.com/mrss/" xmlns:dcterms="http://purl.org/dc/terms/">
    <link>http://www.example.com/examples/mrss/example.html</link>
    <media:content duration="120">
      <media:player url="http://www.example.com/shows/example/video.swf?flash_params" />
      <media:title>Grilling Steaks for Summer</media:title>
      <media:description>Get perfectly done steaks every time</media:description>
      <media:thumbnail url="http://www.example.com/examples/mrss/example.png" height="120" 
width="160"/>
    </media:content>
  </item

 

Media related rss tags

The following tags are required for each video item:

  • media:content
  • media:player
  • media:title
  • media:description
  • media:thumbnail

In addition, Google strongly recommends including the following tags, where applicable:

  • media:restriction: For videos that can be played only in some territories.
  • dcterms:valid: For videos that have an expiration date.
  • media:price: For videos users must pay to view.

 

Some related information:

I may have seen that the urls in sitemap needs to be urlencoded

You can include only one channel in a RSS sitemap.

 

Bing and Sitemaps

Bing also supports rss sitemaps.

Sitemaps supported by Bing

Sitemaps are a great way to tell Bing about URLs on your site and Bing supports different formats:

  • XML Sitemaps and XML Sitemap index files (as specified by www.sitemaps.org)
  • Atom 0.3 and 0.1
  • RSS 2.0, and
  • Text files (containing one URL per line)

 

Further study on sitemaps

http://salearningschool.com/searchResult.php?queryStr=sitemap&submit=Search+Database

 

 

 

Skip to toolbar