How to embed an RSS feed into an article in Joomla
Written by Cory |
February 28, 2009
|
(0)
In my most recent blog post about my 10 favorite Joomla! extensions, I embedded a news feed from Twitter to show the latest posts using the #t10jx tag on Twitter. Initially, I thought about finding a plugin that handled displaying an RSS feed in an article, since that would be the easiest way to accomplish what I wanted. Then I remembered the "Load Module" plugin and the "Feed Display" module that are part of a core Joomla! installation. I realized that I could embed the feed without installing any 3rd-party extensions. Read on to find out how to do it.
Step 1: Set up the Load Module plugin
The first thing you need to do is navigate to the plugin manager in your Joomla! Administrator panel. In Joomla! 1.5, you can access the plugin manager by clicking Extensions->Plugin Manager in the administrator main menu. In the plugin manager, locate the "Content - Load Moudle" plugin. If you have a lot of plugins, it might help to filter the list to only show content plugins. The filter is in the top right hand corner above the page just above the list of plugins. Under "Select Type", select "content."
Once you have located the Load Module plugin, click on it to open it in the plugin editor. First, make sure the plugin is enabled. Then set its style however you choose. The style is the way in which modules will be loaded via this plugin. I prefer to choose "Wrapped by Divs", "Wrapped by Multiple Divs" or "No wrapping (raw output)" because those offer cleaner, more semantic output. Once you have set the parameters how you want them, save the changes you have made to the plugin.
Step 2: Create module you wish to display
You can display any type of module you want to display through this plugin. To display an RSS feed, you need to create a Feed Display module.
First, navigate to the module manager by clicking Extensions->Module Manager in the administrator menu. Then, click new in the toolbar to create a new module. A list of module types will be displayed. In that list, select "Feed Display" to create a module that displays an RSS feed.
Module position
You can choose any module position to display this module because the Load Module plugin lets you specify any module position. A good idea is to choose some name that will not interfere with the other module positions on the site because you do not want to display this module anywhere but in an article. For my article, I chose "tjx", but you could use anything. For the "position" parameter, simply delete the position that is currently selected and type the position name you wish to use.
Module parameters
Under the module's parameters, be sure and set the feed URL. Otherwise, the module won't work properly. The rest of the parameters can be set however you want according to how you want the module to display.
Step 3: Embedding the module into an article
Now that the Load Module plugin and Feed Display module are set the way you want them, you are ready to embed the module into an article. To embed the module, you simply need to add the following plugin tag to your article:
{loadposition position_name}
Make sure you set position_name to the name of the module position you chose in Step 2. In my case, the tag looked like this:
{loadposition tjx}
That's all there is to it. The module position is now loaded into your article with the Feed Display module that you set up, so you now have an RSS feed embedded in an article.
Questions/Comments
Questions and comments are always welcome. I hope you have found this useful.
Trackback(0)
Comments (21)
written by jason abalos, March 06, 2009
written by Adam, March 11, 2009
written by Adam, March 11, 2009
written by Jagjit, March 14, 2009
Is there a way to format the feeds displayed in articles? - it may be asking too much.
written by Adam, March 16, 2009
written by Nash, April 01, 2009
written by Olivier, April 07, 2009
Regards,
written by Teresa, April 07, 2009
written by Shyam Karki, April 29, 2009
Shyam
written by Mikey, June 10, 2009
written by gubbles, July 16, 2009
This was very helpful - thanks. I've been searching for info on how to do this for a long time now. Only think is I wold like the news feed to scroll acfross the module from right to left like a news ticker across the bottom of a TV screen rather than in a list format as is with this module. Is there a way to modify it to get it to scroll or could you perhaps suggest a scrolling ticker I could use? I'ce tried a few but they haven't had the option to change the background colour.
Thanks
written by Crusader, August 07, 2009
This was much appreciated i literally bought the domain name late last night and am getting some news stuff up quickly while I format the game guides so this was a great help, thank you!
written by Erok210, August 08, 2009
I have the feed working in the "right" position, so I know it is working. Now, I want to put it into an article.
Thanks
written by Neuronic, August 12, 2009
written by Matt, September 22, 2009
Thanks in advance
Matt
written by Achala, November 03, 2009
...but im facing one problem... in my website module is having borders... so rss feeds are also showing borders...
is this because of my template structure????
Write comment
Join the HowToJoomla Community!
- Create a profile
- Connect with other members
of the community - All for FREE
Already a member? Login here.



I use modules and positions all the time so I knew exactly what you were explaining. Everything is set up, enabled and/or published. The feed shows up when I use position right or left, so I know the feed url is correct.
Any thoughts why it wouldn't show use the load module tag in an article?