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 setup

September 01, 2007 7:08pm

Subscribe [1]
  • #1 / Sep 01, 2007 7:08pm

    Enviromed

    375 posts

    Further RSS setup questions:
    Reference Link: http://www.allergy-immunology.com/index.php?/Commons/testRSS/

    Question 1:
    How do I setup the <link> node to be a custom url link.  Seems to append whatever value i have after my base IP.  I would like to put a custom link in this area (ex: http://www.google.com).

    <link>http://www.google.com</link>

    Question 2:
    Trying to show my the categories, but nothing shows up.  Using unchanged code from template RSS that comes with EE.

    <dc:subject>{exp:xml_encode}{categories backspace="1"}{category_name}, {/categories}{/exp:xml_encode}</dc:subject>

    Question 3:
    Is there a way to filter the RSS by category or date etc?  How do I filter the RSS?

    Question 4:
    How do I setup the RSS to point to our WIKI and our FORUM???
    I think you responded to this earlier, but i am still confused.
    Is there a link to where the WIKI/FORUM RSS template is?

  • #2 / Sep 02, 2007 10:37am

    Robin Sowell

    13255 posts

    Do you have a copy of the default rss template up- I’d put up a copy of that (found here- to alter the item links, you just tweak:

    {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=site/index}</link>

    That last line?  That should be the link to the individual article.  You could use whatever path variable you like- I generally use {comment_url_title_auto_path}- it’s weblog specific- the base url is set in ‘Admin- Weblog Admin- Weblog Management’ for each weblog- it the weblog’s ‘path’ settings.

    As for the categories- do they show up in a regular weblog tag?  It’s just the rss where they fail?

    For the wiki- it depends on where your wiki is installed, but in general- mysite.com/index.php?/wiki/Special:Recentchanges_RSS - if that doesn’t help, do you have a link to your wiki?

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

ExpressionEngine News!

#eecms, #events, #releases