Bienvenue
Jalios Community
Tout ce que vous souhaitez savoir sur l'écosystème Jalios
Cette fiche décrit la mise en place d'une Portlet Feed pour l'export de vos contenus JCMS au format RSS et/ou Atom.
Your site can export some of its content through RSS (0.91, 1.0, 2.0) and Atom feeds, so that it can be included in your partners Web site.
In your Portlet Feed, customize your query and set the formats you want to provide to your partners. Feeds will be accessible using a url in the form:
http://www.yoursite.com/feed/<feedFormat>.jsp?id=<portletId>
where <feedFormat> is the format of your feed (Rss091, Rss1, Rss2, Atom03) and <portletId> is the id of the Portlet Feed you created.
If you incorporate the portlet in your portal, icons (
) will provide a direct link to those feeds.
For a type, if you wish to provide more information than those available in a given feed. You can customize each item/entry of this feed using a jsp inside the type's folder.
/types/<myType>/do<myType><feedFormat>ElementDisplay.jsp
where <myType> is the type to customize and <feedFormat> is the feed format to change customize.
For example, with the type FileDocument and for the feed format Rss2, you could provide an enclosure element by using the jsp :
/types/FileDocument/doFileDocumentRss2ElementDisplay.jsp