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.

rss feed shows: "empty_feed"

December 22, 2011 4:30am

Subscribe [3]
  • #1 / Dec 22, 2011 4:30am

    deschamps

    137 posts

    I followed “Channel University” instructions to set up the rss feed…

    the template loads, but it says “empty feed”...
    also, it does not load with

    <a href="http://www.homepage.com/feed">http://www.homepage.com/feed</a>

    I have to use

    <a href="http://www.homepage.com/site/feed">http://www.homepage.com/site/feed</a>

    ...

    if I try to use

    feed://www.homepage.com/feed

    it returns with the template, but it shows the message
    “browser could not update this feed because the source file is not longer available” + “no articles”

    any ideas?... thanks

  • #2 / Dec 22, 2011 5:39am

    Thomas Hartmann

    170 posts

    maybe you can post some code?
    do you know this one: http://devot-ee.com/add-ons/datagrab
    I used it to get feeds into my databse…

  • #3 / Dec 23, 2011 3:49am

    John Henry Donovan

    12339 posts

    Hi deschamps,

    As franky says, can you post your template code please?
    What version and build of EE are you using?

  • #4 / Dec 23, 2011 8:06pm

    deschamps

    137 posts

    franky, Donovan, I’am using: EE 2.3.1 - no add-ons / Forum 3.1.6 / MSM 2.1.1
    here is the code…

    {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>{site_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" status="Homepage Featured|Homepage Secondary|open"}
        <item>
          <title><![CDATA[{title}]]></title>
          <link>{title_permalink='news/view'}</link>
          <guid>{title_permalink='news/view'}#When:{gmt_entry_date format="%H:%i:%sZ"}</guid>
          <description><![CDATA[{news_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}
  • #5 / Dec 27, 2011 1:51pm

    Kyle Cotter

    730 posts

    Hey deschamps,

    Sorry to see you encountered this problem. Can you try adding this to the opening RSS tag?

    {exp:rss:feed channel="{master_channel_name}" status="Homepage Featured|Homepage Secondary|open"}

    Do any entries display when you add that?

    Thanks.

  • #6 / Dec 29, 2011 11:12pm

    deschamps

    137 posts

    hey Kyle, sorry too… ... 8 videos seeing you fix this and I forgot about it… jaja…

    thanks… everything is working great now…

  • #7 / Dec 30, 2011 4:05am

    John Henry Donovan

    12339 posts

    Glad you are up and running again. Feel free to start anew thread if you have any more questions

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

ExpressionEngine News!

#eecms, #events, #releases