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 is not showing.

August 20, 2010 12:28am

Subscribe [4]
  • #1 / Aug 20, 2010 12:28am

    martaspendowska

    41 posts

    Safari says: “Safari could not update this feed because the source file is no longer available.”
    Mozilla is blank…

    I am trying to figure this one out for a wekk or more.. No luck. I need your help. please.

    http://www.polishlab.com

    Thank you,
    Marta

  • #2 / Aug 20, 2010 1:05pm

    Ingmar

    29245 posts

    What version and build of EE are you using? Can you give us a direct link to your feed?

  • #3 / Aug 20, 2010 1:24pm

    martaspendowska

    41 posts

    Hello,

    EE2, the newest, I just became a EE user.

    The website is not finished.
    www.polishlab.com

    I set up the feed to :
    http://polishlab.com/feed

    I made a template under the *site group called feed.

    I am trying to set uo few feeds, but for now at least one : design


    FEED:

    {preload_replace:master_channel_name="design"}
    {exp:rss:feed channel="{master_channel_name}" status="Open|Featured "}
    
    <?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}{site_name}{/exp:xml_encode}</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" rdf="off" dynamic_start="on" disable="member_data" status="Open|Featured"}
        <item>
          <title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
             <link>{title_permalink="design/view"}</link>
    
             <guid>{title_permalink="design/view"}#When:{gmt_entry_date format="%H:%i:%sZ"}</guid>
    <description>{exp:xml_encode}
    {design_teaser}{/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:channel:entries}
        
        </channel>
    </rss>
    
    {/exp:rss:feed}

     

    My XTML : <link rel=“alternate” type=“application/rss+xml” title=“PolishLab // RSS” href=“http://www.polishlab.com/design/feed” /> 

    Thank you, I have a battle with this one for quite a while..

    Marta

  • #4 / Aug 21, 2010 4:06pm

    Greg Salt

    3988 posts

    Hi Marta,

    Have you fixed this issue because the feeds work properly for me in both Safari and Firefox?

    Cheers

    Greg

  • #5 / Aug 21, 2010 4:33pm

    martaspendowska

    41 posts

    yes;)
    Sorry I didn’t get back to the thread.
    Could you point me to the link that would explain how to include images in feeds?

    Thank you,
    Marta

  • #6 / Aug 22, 2010 5:17pm

    Greg Salt

    3988 posts

    Hi Marta,

    Essentially you just add the file custom fields in the same way that you would do for any ordinary template. You may need to use the xml:encode tag pair just like in your posted example. If your images are embedded in text fields then they should display anyway.

    Cheers

    Greg

  • #7 / Aug 22, 2010 9:08pm

    John-Gordon

    76 posts

    I’m having a similar problem. My RSS 2.0 and Atom feeds are blank, but when viewing the source code, it appears to be just fine. It even validates at feedvalidator.org. Even though the debugging parameter is set to “yes”, it doesn’t show anything.

    It’s basically the exact template that comes with EE, except for a few changes:

    {assign_variable:master_weblog_name="news"}
    {exp:rss:feed weblog="{master_weblog_name}" debug="yes"}
    
    <?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 protected]</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}{title}{/exp:xml_encode}</title>
          <link>{title_permalink=news}</link>
          <guid>{title_permalink=news}</guid>
          <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}

    I have EE installed in a testing folder on a live server. It’s a folder up from the root. WordPress is installed on the root, but I did put every root file in a “test” folder to see if that was the problem, but it didn’t change anything.

    I’m using EE 1.6.9

  • #8 / Aug 22, 2010 9:12pm

    John-Gordon

    76 posts

    Well I exited out of Firefox, re-opened it and checked the feed. And there it is.

    No need to answer my question. It appears to be fixed.

  • #9 / Aug 22, 2010 11:14pm

    martaspendowska

    41 posts

    Thanks Gregg!

    Well..I usually have an channel_image field, but I don’t post images that often to the channel_body.
    In my channel channel_image get’s transferd to the view template anyways.

    So essencialy all I use ( or mostely) is a custom field channel_image.
    Is there a way to pass this custom field with the body of the text?

    Thanks!

  • #10 / Aug 23, 2010 4:03pm

    Ingmar

    29245 posts

    As Greg said you’d use it like any other custom field. Just use {channel_image} or whatever it is called in addition to {body}.

  • #11 / Aug 23, 2010 4:48pm

    martaspendowska

    41 posts

    When I do:

    <description>{exp:xml_encode}
    {design_image}{design_teaser}{/exp:xml_encode}</description>

    It displays a path to the image, not the image itself..

    Marta

  • #12 / Aug 23, 2010 4:56pm

    Ingmar

    29245 posts

    So you’ll need to setup your feed correctly:

    <description>
    <image>
        <url>{design_image}</url>
        <title>{design_teaser}</title>
    </image>
    </description>

    Something like that, anyway.

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

ExpressionEngine News!

#eecms, #events, #releases