XML Sitemaps Generator

Author Topic: RSS 2.0 feed <enclosure>  (Read 6143 times)

r

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 27
RSS 2.0 feed <enclosure>
« on: March 11, 2015, 07:37:05 AM »
Hello,


I cannot include image url in rss 2.0 feed. Official RSS 2.0 specs are [external links are visible to admins only]

and my sitemap_rss.tpl is below.


<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
   xmlns:content="[external links are visible to admins only]"
   xmlns:dc="[external links are visible to admins only]"
   xmlns:atom="[external links are visible to admins only]">
<channel>
   <title>rss</title>
   <link>%SELF_URL%</link>
   <description>Items rss at %INIT_URL%</description>
   <lastBuildDate>%BUILD_DATE%</lastBuildDate>
       <pubDate>%BUILD_DATE%</pubDate>
   <atom:link href="%SELF_URL%" rel="self" type="application/rss+xml" />
%URLS_LIST_FROM%
<item>
   <title><TVAR TITLE></title>
   <link><TVAR URL></link>
   <description><TVAR DESC></description>
   <pubDate><TVAR LASTMOD></pubDate>
   <guid><TVAR URL></guid>
       <source url="[external links are visible to admins only]">feeds</source>
       <enclosure url="<TVAR iurl>" />
</item>%URLS_LIST_TO%
</channel>
</rss>


The <item> element resulted is

<item>

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

<link>
[external links are visible to admins only]
</link>
<description>Comenzi sampanie Sampanie Moet Chandon</description>
<pubDate>Fri, 06 Mar 2015 12:14:31 +0000</pubDate>

<guid>
[external links are visible to admins only]
</guid>
<source url="[external links are visible to admins only]">feeds</source>
<enclosure url=""/>
</item>


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 ?


Thnx,


r

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: RSS 2.0 feed <enclosure>
« Reply #1 on: March 11, 2015, 05:08:23 PM »
Hello,

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

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

r

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 27
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.


Cheers,


r


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.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2