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 Page has no style information associated with it.

January 08, 2010 6:17pm

Subscribe [4]
  • #1 / Jan 08, 2010 6:17pm

    kasdesign

    13 posts

    I looked through quite a few posts about RSS and style issues, but wasn’t able to find an answer. I copied the RSS template from here and replaced weblog_name=“default-site” to my “news” weblog. The information is coming up, however there is a message at the top saying This XML file does not appear to have any style information associated with it.

    The template type is set to RSS. I’ve attached an image that shows what it looks like on my RSS page and what EE’s RSS feed looks like in my browser.

    The url to my RSS page is: http://six.kasdesigndev.com/rss/

    If anyone has any ideas as to why it looks different, I would greatly appreciate it.

    Thanks.

  • #2 / Jan 08, 2010 6:30pm

    Firebrand Media

    64 posts

    That looks correct.  The RSS Feed itself should necessarily have any styling. The RSS reader itself will add some styling but when opened in a browser that is typically what an RSS feed will look like.

    I have attached a screen capture of your RSS feed in my reader.

  • #3 / Jan 08, 2010 8:12pm

    Adam Dorsey

    1439 posts

    I am seeing your RSS fed without errors (Safari 4+). Can you post the RSS template code?

  • #4 / Jan 09, 2010 2:43pm

    kasdesign

    13 posts

    Thanks for responding Firebrand and Adam. I’m still wondering why my feed doesn’t look like the bottom example EE image I attached. All of the other feeds I subscribe to, when you click on the subscribe link, show up like the EE example image, asking which reader I’d like to use to subscribe and allowing me to subscribe now.

    Here is the template code:

    {assign_variable:master_weblog_name="news"}
    {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}{title}{/exp:xml_encode}</title>
          <link>{title_permalink=bioFuture/index}</link>
          <guid>{title_permalink=bioFuture/index}#When:{gmt_entry_date format="%H:%i:12%Z"}</guid>
          <description><![CDATA[{summary}{body}]]></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}
  • #5 / Jan 09, 2010 4:46pm

    Greg Salt

    3988 posts

    Hi kasdesign,

    Can you please check what type you have this template set to? Click the Preferences link in your template group and check that this is an RSS template.

    Cheers

    Greg

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

ExpressionEngine News!

#eecms, #events, #releases