Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • n1ght3y3s 1 post 20 karma points
    Apr 29, 2009 @ 03:24
    n1ght3y3s
    0

    Create RSS Feed from News items

    Hi everyone,

    I am new very new here so go easy! (hope I got this in the right section)

    We have just finished creating our website on Umbraco and its seems to be working well. There is one final feature we would like to add though. We have created a 'News' section which is templated on the New item and it contains several pages. This news feed is shown on our main page and everything is working as expected.

    What I would like to do now is have an RSS feed generated from these items. Basically this means I can get anyone to update the news section with a new item and it would then be published to our RSS feed in one move. Is this possible?

  • Richard Soeteman 4047 posts 12900 karma points MVP 2x
    Apr 29, 2009 @ 08:43
    Richard Soeteman
    0

    Hi,

    Yes this is possible with Umbraco. The first time I had to deal with such a task I installed the Creative website wizard (on a different Umbraco install) to see how that works. Basically you have to create an extra template that renders the XML output and use that template as an alternative template to render the XML. Just use the querystring parameter ?alttemplate=[the template name that displays the news items as RSS]

    Hope it helps you,

    Richard

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Apr 29, 2009 @ 11:38
    Dirk De Grave
    0

    Hi,

    Adding one last option:

    instead of using http://www.domain.com/rss.aspx?alttemplate=template, one may also use http://www.domain.com/rss/template.aspx -> Both will generate same results.

    umbraco flexibility, right?

    Cheers,
    /Dirk

Please Sign in or register to post replies

Write your reply to:

Draft