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

July 20, 2011 9:30am

Subscribe [3]
  • #1 / Jul 20, 2011 9:30am

    furryfrog

    17 posts

    This question may be related to a resolved thread.

    hello there

    i have recently started receiving the following in my rss feed:


    Date: 20 July 2011 10:43:09 GMT+01:00
    Subject: This feed contains no entries
    Source: Blackfield

    This feed contains no entries


    this has started since the entries have all expired. how can i stop receiving this in the feed?

    regards

  • #2 / Jul 20, 2011 9:45pm

    Sue Crocker

    26054 posts

    Hi, furryfrog.

    Basically, add newer entries. If something is expired, it shouldn’t be showing. I’m not sure what Blackfield is, though.

  • #3 / Jul 20, 2011 9:51pm

    Kyle Cotter

    730 posts

    Hi furryfrog,

    Can you try adding the “show_expired=“yes” ” (sans-quotes) parameter to your {exp:rss:feed}.

    So it should look something like

    {exp:rss:feed weblog="weblog-name" show_expired="yes"}

    For more information visit the Feed Parameters Page.

    Hope this helps.

    Thanks!

  • #4 / Jul 21, 2011 6:41am

    furryfrog

    17 posts

    hi there thanks for the replies.

    blackfield.org/live is the site address

    the expired entries are showing on the web page with strike through as is perfect, however, the feed in the rss feed is empty and users’ are being updated with “this feed contains no entries” daily, which i dont want

    regards

    neil

  • #5 / Jul 21, 2011 10:07am

    Kyle Cotter

    730 posts

    Hi furryfrog,

    Can you post the relavent part of your feed template here?

    NOTE: If there is any proprietary information in the template, please don’t include that here.

    Thanks.

  • #6 / Jul 21, 2011 10:16am

    furryfrog

    17 posts

    subscribe to gig updates via  <a href="http://{path={my_template_group}/rss-gigs}"> assets/images/content/rss-subscribe.png_rss</a> /   <a href="http://{path={my_template_group}/atom-gigs}">assets/images/content/rss-subscribe.png atom feed</a>
    
    <h3 class="dates">tour dates for 2011</h3><!-- // #dates  -->
    
    
    {exp:weblog:entries weblog="Blackfield_Live_Dates" show_expired="yes" orderby="expiration_date" sort="asc"}
    
    <table class="dates">
        <tr{if expiration_date != "0" && "{expiration_date format='%U'}" < "{current_time format='%U'}"}
     class="expiredgig"{/if}>
        <td class="date">{title}</td>
    <td class="location">{thelocation}</td>
        <td class="country">{thecountry}</td>
        <td class="tickets">{tickets}</a></td>
     </tr>
    </table>
    {/exp:weblog:entries}
  • #7 / Jul 21, 2011 10:22am

    Kyle Cotter

    730 posts

    Hi furryfrog,

    Sorry if I was unclear, can you post the code from your XML RSS template, and not the html template?

    Thanks!

  • #8 / Jul 21, 2011 10:29am

    furryfrog

    17 posts

    ahh i see. here it is.

    {assign_variable:master_weblog_name="Blackfield_Live_Dates"}
    {exp:rss:feed weblog="{master_weblog_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>{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="{master_weblog_name}" limit="10" rdf="off" dynamic_start="on" disable="member_data|trackbacks"}
        <item>
          <title>{exp:xml_encode}{thelocation}{/exp:xml_encode}</title>
          
          <description>{exp:xml_encode}{summary}{title}{/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}
  • #9 / Jul 21, 2011 10:39am

    Kyle Cotter

    730 posts

    Hey furryfrog,

    Can you make your second line look like

    {exp:rss:feed weblog="{master_weblog_name}" show_expired="yes"}

    And add

    show_expired="yes"
    to your
    {exp:weblog:entries weblog="{master_weblog_name}" limit="10" rdf="off" dynamic_start="on" disable="member_data|trackbacks"}

    tag.

    Let me know if that works for you.

  • #10 / Jul 22, 2011 1:17pm

    furryfrog

    17 posts

    thankyou so much for the reply, that appears to have sorted it


    Regards
    Neil
    Furry Frog

  • #11 / Jul 22, 2011 1:22pm

    Kyle Cotter

    730 posts

    Awesome!!! Glad we got you back up and running Neil. If you have any more problems, please feel free to start a new thread.

    Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases