How to Embed an RSS Feed into an Article in Joomla
This post will tell you how to embed the RSS feed in an article without installing any 3rd-party extensions. We will use the "Load Module" plugin and the "Feed Display" module that are part of a core Joomla installation for this purpose.
1. Set up the Load Module plugin
Navigate to the Plugin Manager in your Joomla Administrator panel first. You can access it by clicking Extensions -> Plugin Manager (for Joomla! 1.5). In the Plugin Manager, locate the Content – Load Module plugin.
Note: If you have a lot of plugins, you can apply a filter to show only content plugins. To filter the list of plugins, find a filter (it is at the top right corner above the list of plugins) and select Content from the Select Type drop-down list.
Then open the Load Plugin in the plugin editor (just click on it) and perform the following actions:
- Make sure the plugin is enabled;
- Set its style. The style is the way in which modules will be loaded via this plugin. The preferred styles are "Wrapped by Divs", "Wrapped by Multiple Divs" or "No wrapping (raw output)". Those styles offer cleaner, more semantic output.
- Save the changes you have made.
2. Create module you want to display
This plugin allows you to display any type of module. To display an RSS feed, you should create a Feed Display module:
- Navigate to the module boss selecting the Extensions -> Module Manager;
- Click New button in the toolbar to form a new module. You will see a list of module types;
- Select Feed Display from that list.
Module position. The Load Module plugin lets you specify any module position. You can select any position to display this module.
If you do not wish to display this module anywhere but in the article, selecting of some name that will not interfere with the other module positions on the site becomes a good idea. Wherefore you don’t desire to display this module anywhere except in an article.
For the "position" parameter, simply remove the currently selected position and enter the position name you want to use.
Module parameters. Under the module’s parameters, be sure and set the feed URL. Otherwise, the module will not work correctly. You can set the rest of the parameters however you need depending on how you would like the module to display.
3. Embed the module into an article
The Load Module plugin and Feed Display module are set the way you need them. Now you are ready to embed the module into an article.
To embed the module, add the following plugin tag into your article:
loadposition position_name
Where position_name is a name of the module position you selected in p.2.
That is all. The position of the module is now loaded into your article with the Feed Display module, so you have an RSS feed embedded in an article.