• *
  • 28
RSS 2.0 feed <enclosure>
« on: March 11, 2015, 07:37:05 AM »

I cannot include image url in rss 2.0 feed. Official RSS 2.0 specs are http://cyber.law.harvard.edu/rss/rss.html#ltenclosuregtSubelementOfLtitemgt

and my sitemap_rss.tpl is below.

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
   <description>Items rss at %INIT_URL%</description>
   <atom:link href="%SELF_URL%" rel="self" type="application/rss+xml" />
   <title><TVAR TITLE></title>
   <link><TVAR URL></link>
   <description><TVAR DESC></description>
   <pubDate><TVAR LASTMOD></pubDate>
   <guid><TVAR URL></guid>
       <source url="http://www.comenzi-sampanie.ro/generator/data/sitemaps/rss.xml">feeds</source>
       <enclosure url="<TVAR iurl>" />

The <item> element resulted is


<title>Comenzi sampanie Sampanie Moet Chandon</title>

<description>Comenzi sampanie Sampanie Moet Chandon</description>
<pubDate>Fri, 06 Mar 2015 12:14:31 +0000</pubDate>

<source url="http://www.comenzi-sampanie.ro/generator/data/sitemaps/rss.xml">feeds</source>
<enclosure url=""/>

RSS is fastest way to submit , and I do not want to waste the opportunity.

is this something wrong I do ?

Anybody has had success ?


Re: RSS 2.0 feed <enclosure>
« Reply #1 on: March 11, 2015, 05:08:23 PM »

sitemap generator includes only pages in the feed (not images).
Oleg Ignatiuk
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.


  • *
  • 28
Re: RSS 2.0 feed <enclosure>
« Reply #2 on: March 12, 2015, 08:08:38 AM »
Thanky you Oleg,

I find usefull to adjust feed RSS script to allow image inclusion, because Google and Bing see RSS submission as a update to sitemap submission and in my experience, they grab new RSS for sure and add URLs , while my experiments with new URLs submitted via sitemap were less satisfactory.

RSS for them is more for Fresh content, while Sitemap is for overall content.

This somehow guarantees the new URL gets into engine memory.

As I said, very nice to have.



PS. If RSS feed is placed into Google Webmaster , at Other Resources /Custom Search Engine / Indexes / URL connected to a HUB page.

In this case, Google will add to index first the URLs from Hub, then will grab the sitemaps below, in Sitemaps URL.