How to aggregate a 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.
Create a section to host aggregated links
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.Create a server profile
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.
Test the feed
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.
Publish news
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.Notes
- Tof on May 20 2007 - #
J'ai toujours une lacune sur l'aggrégation de flux RSS dans yacs.
Je n'ai pas compris s'il fallait renseigner les parametres de type ping, recherches et surveillance et surtout comment pour les sites non yacs.
Par exemple, sur altairis, j'ai paramétré les nouvelles open-source de LMI; j'ai aggrégé ce fil :
http://www.lemondeinformatique.fr/flux-rss/open-source/rss.xml.Il m'a bien récupéré les fils RSS à la création du connecteur, mais ne se met pas à jour.
Qu'ai-je raté ?
Tof- Tof on May 22 2007 - #
nobody ?
- GnapZ on May 22 2007 - #
- Tof : Je n'ai que Yetanother pour l'instant et l'adresse du flux RSS + La case Ping des "Services autorisés pour ce serveur" suffisent.
J'ai ajouté LMI en test pour voir ...
Tiens, je viens de remarquer que le premier flux a des liens tous datés au 31/12/1969 ...
- Bernard on May 23 2007 - #
- Tof: Il faut indiquer l'adresse du fil RSS dans le champ correspondant, sans oublier de cocher la case radio à proximité. J'ai mis ton fil en test sur la machine de développement.
Rate this page
Posted by Bernard on Mar. 16 2006, commented by Simplify3 on June 14 2007, (popular)