ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Why can't I get RSS to work?

November 06, 2012 7:08am

Subscribe [2]
  • #1 / Nov 06, 2012 7:08am

    k2zs

    114 posts

    Good morning all,

    I’ve been trying to get RSS working on some sites I’m working on but can’t seem to get it to work.

    RSS is installed in Add-ons and I have a template group named “feed” with the following index.html file based on what I found in the user guide:

    {preload_replace:master_channel_name="news"}
    {exp:rss:feed channel="{master_channel_name}"}
    
    <?xml version="1.0" encoding="{encoding}"?>
    <rss version="2.0"
        xmlns:dc="http://purl.org/dc/elements/1.1/"
        xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
        xmlns:admin="http://webns.net/mvcb/"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns:content="http://purl.org/rss/1.0/modules/content/">
    
        <channel>
        
        <title><![CDATA[{channel_name}]]></title>
        <link>{channel_url}</link>
        <description>{channel_description}</description>
        <dc:language>{channel_language}</dc:language>
        <dc:creator>{email}</dc:creator>
        <dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
        <dc:date>{gmt_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
        <admin:generatorAgent rdf:resource="http://expressionengine.com/" >
        
    {exp:channel:entries channel="{master_channel_name}" limit="10" dynamic_start="on" disable="member_data|pagination"}
        <item>
          <title><![CDATA[{title}]]></title>
          <link>{title_permalink='{master_channel_name}/index'}</link>
          <guid>{title_permalink='{master_channel_name}/index'}#When:{gmt_entry_date format="%H:%i:%sZ"}</guid>
          <description><![CDATA[{summary}{body}]]></description>
          <dc:subject><![CDATA[{categories backspace="1"}{category_name}, {/categories}]]></dc:subject>
          <dc:date>{gmt_entry_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
        </item>
    {/exp:channel:entries}
        
        </channel>
    </rss>
    
    {/exp:rss:feed}

    I have the rss url set in the “news” channel but yet it still isn’t recognized as a feed. I use Google Chrome for my browser and have the RSS extension installed but the “subscribe” button never shows up in the toolbar when I visit the site. If I try accessing the feed I am prompted to download the file. In FireFox, I can access the feed.

    At first I thought it was a “chrome” thing since it works in FF but yesterday I left a comment on a blog that uses “Comment Luv” and it said there was no RSS feed associated with my website.

    Any suggestions as to how I can get RSS working?

  • #2 / Nov 07, 2012 12:01pm

    Shane Eckert

    7174 posts

    Hello k2zs,

    Thank you for posting your question.

    Is your template type set to RSS or Webpage?

    Please let me know.

    Cheers,

  • #3 / Nov 09, 2012 5:56am

    k2zs

    114 posts

    The page is set to RSS. The site in question is using ee ver 2.5.3 and says it’s up to date.

  • #4 / Nov 12, 2012 1:00pm

    Shane Eckert

    7174 posts

    Hey k2zs,

    Understood.

    I would like to login and take a closer look.

    Please be on the lookout for an email from EllisLab.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases