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.

This feed contains no entries

September 02, 2010 2:48pm

Subscribe [5]
  • #1 / Sep 02, 2010 2:48pm

    Eastwood Design

    605 posts

    Having trouble displaying an rss feed in EE 1.6.9.  I have many entries in a weblog and when i try and view in RSS I get

    This feed contains no entries

    Here is my Rss code:

    {assign_variable:master_weblog_name="default_site"}
    {exp:rss:feed weblog="Events"}
    
    <?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>{exp:xml_encode}{weblog_name}{/exp:xml_encode}</title>
        <link>{weblog_url}</link>
        <description>{weblog_description}</description>
        <dc:language>{weblog_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:weblog:entries weblog="Events" limit="10" rdf="off" dynamic_start="on" show_expired="yes" show_future_entries="yes" disable="member_data|trackbacks"}
        <item>
          <title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
          <link>{title_permalink=site/Events_detail}</link>
          <guid>{title_permalink=site/Events_detail}#When:{gmt_entry_date format="%H:%i:%sZ"}</guid>
          <description>{exp:xml_encode}{summary}{body}{content}{events_short}{/exp:xml_encode}</description>
          <dc:subject>{exp:xml_encode}{categories backspace="1"}{category_name}, {/categories}{/exp:xml_encode}</dc:subject>
          <dc:date>{gmt_entry_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
        </item>
    {/exp:weblog:entries}
        
        </channel>
    </rss>
    
    {/exp:rss:feed}

    The weblog code works fine, displays the 5 upcoming events:

    {assign_variable:my_weblog="default_site"}
    {assign_variable:my_template_group="site"}
    Events
    {exp:weblog:entries orderby="date" sort="asc" limit="5" weblog="Events" dynamic="off" show_expired="no" show_future_entries="yes"  }
    <h3>{title}</h3>
    <p>{events_short}<br />
    <hr ><br />
    {/exp:weblog:entries}

  • #2 / Sep 02, 2010 5:18pm

    Ingmar

    29245 posts

    Do you’ve got a link to the feed? Are you using any extensions?

  • #3 / Sep 02, 2010 5:21pm

    Eastwood Design

    605 posts

    http://aaronministries.ca/index.php/site/rss_2.0/

    Extensions:

    FieldFrame (v.1.0.0)
    EEvent Helper (v.1.0.4)
    LG Twitter (v.2.0.1)
    LG TinyMCE (v.1.3.3)
    jQuery for the Control Panel (v.1.1.1)
    Clone Entries (v.1.1)
    SL MailChimp Subscribe (v.1.1.2)
    Publish Tweeks (v.0.8)
    LG Add Sitename (v.1.2.0)

  • #4 / Sep 02, 2010 8:40pm

    Brandon Jones

    5500 posts

    Eastwood Design,

    Any change if you flip dynamic_start to off? If not, please test with extensions disabled temporarily so we can rule that out.

  • #5 / Sep 02, 2010 9:45pm

    Eastwood Design

    605 posts

    Eastwood Design,

    Any change if you flip dynamic_start to off? If not, please test with extensions disabled temporarily so we can rule that out.

    dynamic start on or off, extensions all disabled still nothing

  • #6 / Sep 02, 2010 10:03pm

    Eastwood Design

    605 posts

    this is really strange.  All of my entries in Events have expiry dates.  If I add a new event without an expiry date they all show up in the RSS feed.  But if all the entries in Events have an expiry date the RSS feed shows that there are no entries.

    What is different in the RSS feed that does not allow entries to display if they have an expiry date?  These Events entry dates are in the future and the expiry dates are in the future as well.

    ie: Entry Date 2010-09-17 06:00 PM
    Expiry date     2010-09-17 11:59 PM

    and today is 2010-09-02

  • #7 / Sep 03, 2010 2:43am

    John Henry Donovan

    12339 posts

    Eastwood Design,

    You can use those 2 parameters in your rss://feed tag also. Can you try that please?

    {exp:rss:feed weblog="Events" show_expired="yes" show_future_entries="yes"}
  • #8 / Sep 03, 2010 7:36am

    Eastwood Design

    605 posts

    Eastwood Design,

    You can use those 2 parameters in your rss://feed tag also. Can you try that please?

    {exp:rss:feed weblog="Events" show_expired="yes" show_future_entries="yes"}

    excellent work John, that seemed to fix the problem.

  • #9 / Sep 03, 2010 7:51am

    Sue Crocker

    26054 posts

    Glad things are working again. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases