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 of secondary weblog

August 18, 2007 4:05pm

Subscribe [1]
  • #1 / Aug 18, 2007 4:05pm

    Luka

    2 posts

    I have installed a mini blog on my blog. It works properly, in that it displays the last two entries in the sidebar, and links to the comments that are a stripped down version of the main blog comments.  I am trying to set up an RSS feed of just that weblog’s entries.  The field names are different in the miniblog. I’ve code the RSS as follows, but when I input the rss url into a feedreader, it pulls the full blog RSS.  I’ve cleared the cache and restarted the firefox.

    {assign_variable:master_weblog_name="tinyblog"}
    {exp:rss:feed weblog="tinyblog"}
    
    <?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>Luka's Tiny Blog Feed</title>
        <link>{weblog_url}</link>
        <description>{weblog_description}</description>
        <dc:language>{weblog_language}</dc:language>
        <dc:rights>Copyright {date format="%Y"}</dc:rights>
        <dc:date>{date format="%Y-%m-
T;%H:%i:%s%Q"}</dc:date>
        <admin:generatorAgent rdf:resource="http://www.pmachine.com/" >
        
    {exp:weblog:entries weblog="tinyblog" limit="10" rdf="off" dynamic_start="on" disable="member_data|trackbacks"}
        <item>
          <title>{exp:xml_encode}i posted a tiny blog {/exp:xml_encode}</title>
          <link>{exp:xml_encode}{linkyloo}{/exp:xml_encode}</link>
          <description>{exp:xml_encode}{explainit}{/exp:xml_encode}</description>
          <dc:subject>{comment_path="tinyblog/comments"}</dc:subject>
          <content:encoded><![CDATA[{body}]]></content:encoded>
          <dc:date>{entry_date format="%Y-%m-
T;%H:%i:%s%Q"}</dc:date>
        </item>
    {/exp:weblog:entries}
        
        </channel>
    </rss>
    
    {/exp:rss:feed}


    http://www.incogblogo.net/index.php/tinyblog/rss_2.0/

    I’m not sure what I’m doing wrong. I looked around and it looks like the code is correct, but that it’s just working weird.  I’m obviously messing it up somehow! 😊 Any help would be appreciated! 😊

    Luka

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

ExpressionEngine News!

#eecms, #events, #releases