Podcasts configuration
To use the podcast portlet, you should create <portal-name>/podcast directory and place there podcast.xml file.
1. Structure
The podcast.xml file has the following structure:
<?xml version="1.0"?> <podcast max-podcasts="max-number-of-items-displayed"> <feed> <id>podcast-id</id> <url>podcast-URL</url> </feed> <feed> <id>podcast-id</id> <url>podcast-URL</url> </feed> ... </podcast>
2. URLs
You can use external URLs (beginning with http://) or, for appropriately configured feeds, /feeds/<feed-name>/<feed-type> address. See FeedsConf for more details.
3. Number of items displayed
Attribute max-podcasts defines how many items from the given podcast feeds will be displayed. Only max-podcast latest items are shown.
This attribute is not mandatory (default value equals 50).
4. Example
<?xml version="1.0"?> <podcast max-podcasts="5"> <feed> <id>my_external_podcast</id> <url>http://www.myhomepage.org/audioblog.xml</url> </feed> <feed> <id>my_project_podcast</id> <url>/feeds/myproject/podcast/rss2</url> </feed> </podcast>
Comments