Set up an RSS Feed
RSS, an acronym for Rich Site Summary or Really Simple Syndication, is a useful way to make a list of updated or new information online available in a concise format for other sites and RSS readers. RSS is essentially an XML document with links and metadata conforming to a specific standard.
For your example, you want to create an RSS feed on our demo of press releases from our Internet site.
A. Create an RSS Feed Page from Scratch
First, you need to create a new RSS target:
- Go to the Administration area, and select Targets & Destinations in the left navigation bar.
- Browse to your desired target in the left asset tree. We will choose web.
- Click on New Target in the left navigation bar.
- For the Name field, type in rss.
- For the Base Folder, select /web.
- For the Output File Extension, type .rss.
- For the Type of Data field, select XML from the drop down.
- For the Internal Links field, check the Include Target Path box.
- Click the Submit button to save the new target.
Second, you need to create a new template that uses the RSS target:
- Go back to the Home area, and browse to your desired templates folder. In our case, we will select /web/templates.
- Select New -> Default -> Template from the top navigation menu.
- For the XML field, type in:
<system-region name="DEFAULT"/>. - Switch to the System pane.
- For the System Name field, type in simple.
- For the Target field, browse to the new RSS target. In our case, we will choose /web/rss.
- Click Submit to save the new template.
- Now click the Edit tab followed, by the Regions pane in order to apply a block.
- For the DEFAULT Block, select the index block of the data. In our case, we will choose /web/blocks/index/press releases.
- For the DEFAULT Stylesheet, select /common/stylesheets/output/rss091. This is a standard stylesheet that is shipped with the product database.
- Click the Submit button to save the updated template.
Third, you need to create a new configuration set for the RSS:
- Go to the Administration area, and select Configuration Sets from the left navigation bar.
- Click New Configuration Set.
- For the Name field, type in Demo RSS.
- Select the Configurations pane.
- Under Add, click the Template browse icon and select /web/templates/simple.
- For the Name field, type in RSS and click Add this new configuration.
- Check the box for Default Configuration.
- Click the Submit button to save the new configuration.
Fourth, you need to apply the configuration set to a new page:
- Go back to the Home area, and select an existing page on the left asset tree. In our case, we will choose /web/index.
- Click on the Copy tab.
- For the System Name field, type in rss.
- Click Submit to make the page copy.
- Click the Edit tab on the new page.
- Select the System pane.
- Click the browse icon next to Configuration Set, and select Demo RSS.
- Click Submit to save the new configuration set on the page.