English Yacs handbook Syndication

How to aggregate a feed?

Learn, with this tutorial, how to integrate some RSS feed in your YACS server.

All you need is a YACS server and a valid RSS feed.

The overall solution is based on following components:

- A server profile, where you can configure and test access to the RSS feed,

- A target section, that YACS will feed from RSS items,

- A background process to process feed updates.

[title]Create a section to host aggregated links[/title] You will have to do that only if you want to place new links in a separate section. Else skip this step and select to use an existing section.

[title]Create a server profile[/title] Visit the Control Panel, being authenticated as an associate. Then select the 'Server' link in the list of modules.

YACS will display the list of existing server profiles. Click on the link 'Add a new server' below page title.

Then select the target section for gathered links. Do not worry about the size of all records added to the database, YACS will automatically limit the maximum number of links, and purge older records when necessary.

[title]Test the feed[/title] Then click on the 'test' link to have YACS actually parse the feed and report on found links on the screen.

If the result looks ok, then you can be pretty sure that YACS will successfully fetch new items in the background. Don't worry if news donot appear immediately, YACS may take up to one hour before actually importing new items.

[title]Publish news[/title] As last step, edit the target section again, and adjust layout options as usual. For the homepage, you can select to have news displayed in a gadget box or in an extra box.