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?