How-To Categories
Recent How-To's
News Feed E-mail
Login
| How to use the syndicate (RSS) component in Joomla! |
|
|
|
| Written by Cory | |
| Thursday, 30 November 2006 | |
|
Website content syndication has been around for a while in the form of RSS, or "Really Simple Syndication." If you want to know more about RSS, you can either ask the source of all knowledge (search for "RSS"), or read about it at Wikipedia. For the sake of brevity, I will only discuss how to use Joomla!'s Syndicate component and third-party RSS services, and I will try to provide a list of other RSS components for Joomla! RSS in Joomla! 1.0.xMost of this article will discuss RSS in Joomla! 1.0.x. To syndicate your content in Joomla!, you need to know about two core extensions: com_syndicate and mod_rssfeed. com_syndicateThe component that generates the RSS feeds for your website is called com_syndicate. You can configure your syndication settings by clicking "Components->Syndicate" in your Joomla! administrator panel.
On the next screen, you will see a list of parameters that you can set for your content syndication. Here is a list of the parameters, along with a description of what each does.
Once you have set your parameters in com_syndicate, it is time to set up mod_rssfeed. mod_rssfeedThe module for content syndication is mod_rssfeed. This module displays a link to your feed in your choice of 5 different formats: RSS 0.91, RSS 1.0, RSS 2.0, Atom, and OPML. You can choose any combination of the 5 formats to display. I usually just pick one, and I'll explain why in a later section. Before you use mod_rssfeed, you will need to configure it. Here's how you do it:
Once you have set your mod_rssfeed parameters, you will want to publish it to a module position of your choice. If you have done this successfully, you now have a published syndication feed for your website. Be sure and go to your home page, and make sure that your Syndicate module is published and visible to your site's visitors. Drawback in com_syndicate for Joomla! 1.0.xThe biggest drawback for com_syndicate in Joomla! 1.0.x is that it only syndicates items published to the frontpage. If you wanted to have separate feeds for separate categories, you could not do that with the core syndication component. Other optionsThe good news is, there are options around this drawback. Joomla! is a highly extensible application, which means you can either create your own syndication component or use one of the third-party syndication components available for Joomla! Click here for a list of RSS extensions for Joomla! in the Extensions Directory. You want to get a syndication extension and not an RSS reader extension. More good news: Joomla! 1.5With Joomla! 1.5, the syndication functionality has gotten a much-needed overhaul. You can syndicate content for any section or category you want, and you can even syndicate content from there components. For example, you could provide an RSS feed of the contacts in your contacts component. When I have had more time to play with it and understand it, I will post another article on how to use the syndication functionality in Joomla! 1.5. Advanced TechniquesThe syndication component is pretty limited in what it can do for you as a webmaster. Luckily, there are several feed services available the provided extended functionality for your RSS feed. For HowToJoomla!, I am using a service called FeedBurner. With this service, I have several tools at my disposal. Among other things, I can track the number of subscribers to my RSS feed, and I can give visitors the option to receive automatic e-mail updates when my RSS feed is updated. Pretty cool, huh? I mentioned earlier that I typically only use one of the feed choices (RSS 2.0) available in com_syndicate. That is because FeedBurner only needs one link to your feed, and the format you use is really not that important if you are using FeedBurner. Here's how you use FeedBurner:
Another benefit to using a service like FeedBurner is that you can change the location of your RSS feed (for example, if you decide to use a third-party syndication extension), and your visitors will not have to re-subscribe to your feed. You would just need to change your link information through your FeedBurner account. Your visitors will never know the difference, because the link they see (http://feeds.feedburner.com/yourfeedname) stays the same. Once you make sure that your FeedBurner link module is displaying on the front end just like you want it, you are now set. Your visitors can now subscribe to your RSS feed via Feedburner. Thanks for the suggestion!Thanks to Craig Watkins from IllustratorTips.com for suggesting RSS feeds in Joomla! as a "How To" topic. If there is a feature of Joomla! that you would like for me to discuss, please feel free to contact me and suggest the topic. As always, please feel free to post any questions or comments.
Set as favorite
Bookmark
Email This
Hits: 22474 Trackback(0)
Comments (42)
![]()
Amy Stephen: ... http://AmyStephen.us
Very good, thanks Cory!
1 report abuse
vote down
vote up
December 03, 2006
Votes: +0
Troy Hall: ... http://www.treeturner.com
cory, how about an article on how to reset ALL of the permissions properly when you don't have shell access. What should they be set too, certainely not global 7777. somehow after using the built in permission configurator, it hosed everything and now I can't get RSS to work. I get Warning: fopen(/home/n6rej/public_html/cache/rss20.xml) [function.fopen]: failed to open stream: Permission denied in /home/n6rej/public_html/includes/feedcreator.class.php on line 711
Error creating feed file, please check write permissions. even after setting includes and cache and feedcreator.class.php to 777 3 report abuse
vote down
vote up
December 03, 2006
Votes: +0
Amy Stephen: ... http://AmyStephen.us
Cory - to me, the most important missing topic of Joomla! educational material are easy to use instructions for how to backup and restore your Joomla! environment.
This is tough because of the varied web hosts and operating systems that come into play. It is also complicated because one must consider their database and website and the implications of third party extensions, upgrades and image files and stupid mistakes. Might be an elephant to be eaten in pieces, but, after a year of hanging around this joint, I would have to say, sadly, I'll bet well over half of the Joomla! websites are not properly backed up. And, of the ones that are properly backed up, many nervously hold backup files that they hope they never have to use because they haven't a clue about how they would go about doing that. We are encouraging nontechnical people to use Joomla! to build websites -- but then sort of brushing over the stuff that might keep them from jumping off the top of a building one day. (just kidding, of course) Even if a tutorial started with XAMPP on the PC and walked through the process -- Cory -- that would be filling an enormous gap. There - now you won't ever ask me again for another challenge! hehehe! Everyone, download the podcast and hear this guy from Texas talk about Joomla!, the world finest CMS http://www.podcastpickle.com/casts/18089 Cory - you rock. Love your site and appreciate your help. Amy ![]() 5 report abuse
vote down
vote up
December 04, 2006
Votes: +0
Craig: ...
Cory,
Awesome! Awesome! Awesome! Especially breaking down what each of the parameters are and what they mean. Makes a lot more sense to me now. I always like the way you explain things. Thanks for doing that! Craig 6 report abuse
vote down
vote up
December 06, 2006
Votes: +0
Chris Chee: ... http://rangit.com
Hi Cory.
How do you redirect users from your old feed to your new feed in feedburner? 8 report abuse
vote down
vote up
December 12, 2006
Votes: +0
shashi: ... http://www.indianinside.info
hi
thanks a lot .. nice tips .. it helped me in my site.. thanks www.indianinside.info 10 report abuse
vote down
vote up
December 24, 2006
Votes: +0
Jonathan: ... http://www.jonathanvanee.com
this looks really helpful. my question, which i didn't see the answer to right up front, is how to i publish other people's RSS feeds on my site with joomla. either i missed the reference, or you don't have a link/explanation for that. i'll keep looking. thx for putting this together!
11 report abuse
vote down
vote up
January 22, 2007
Votes: +0
Guest: ...
I'm sorry, this is really not very useful. You basically repeat the information that is available in Joomla's online help system. What is the point of that?
13 report abuse
vote down
vote up
January 28, 2007
Votes: +0
chris3243: ...
I want to find out how to use other peoples feeds on my joomla site, I cant figure out if I can even do what im thinking. I want to have an RSS feed that will update on my website with out me having to pull the article every time. Not my own RSS feeds. I know im a noob but I cant seem to figure out how to do this. I am trying to put it into the top right module. I appricate the time you took to write this article but I couldn't figure out what how to solve my problem with it.
15 report abuse
vote down
vote up
February 05, 2007
Votes: +0
chris3243: ... http://www.alamodefense.110mb.com
Corey,
Thanks for your speedy reply, and your time to type all of that out for me. I hope I could bug you, for your expertise with just another question. I am still having no luck please let me know what i am doing wrong in filling out my parameters I have the following info: Modual Class Suffix: ( I have this blank dunno what it is) maybe this is my problem? Modual cache: No Mambots Yes RSS URL http://www.nraila.org/xml/newsRSS.aspx Feed Title Yes Feed Description Yes Feed Image No Items 5 Item Description Yes No Word Count 20 RSS Cache time 3600 17 report abuse
vote down
vote up
February 06, 2007
Votes: +0
Chris Stockton: ... http://www.alamodefense.110mb.com
I copyed that exactly and still no workie, I notice you are going to do a write up on what we are talking about, so I will wait for that. I think I am missing a plug in or something extra because all I did was add that custom modual and wanted the feeds in the top right corner of my website, however nothing shows up. I want to thank you for all the time it will take you for doing the write up on this process and I will wait for that, and wont bug you with any more questions.
God Bless 19 report abuse
vote down
vote up
February 06, 2007
Votes: +0
David: ... http://www.kinaportalen.se/bloggar
Hi,
and thank you. However, it doesn´t work for me, and I can´t really see WHY??? There are simply no feeds! 20 report abuse
vote down
vote up
February 20, 2007
Votes: +0
Hummerbie: ... http://www.pathos-seo.com
Hello Cory,
There is one Mayor thing that I don't like about the Standard Syndication component of Joomla!, and that is the fact that it strips all HTML coding, so you never get the layout and images of you postings.. I wrote an article on http://seo4joomla.wordpress.co...promotion/ that I updated later on because of this really great Syndication DS-Component of JoomlaFun.com I use it on my dutch Joomlasite http://www.itmentor.nl/blog/ and although you probaly don't read Dutch :-) You can still check the feed to see how well it is brought into feedburner, all HTML and layout including pictures remains as shown on the content page. I think the component of www.joomlafun.com would be a great component for any Joomla! based site that want to Syndicate there site or parts of it. 21 report abuse
vote down
vote up
March 24, 2007
Votes: +0
Chris Davies: ... http://www.beingthegaffer.com
Hi Cory.
This article has helped me a little bit but im still unsure on what files are needed to be writable for the syndication of my site to work. Thanks in advance Chris 23 report abuse
vote down
vote up
April 27, 2007
Votes: +0
Elles: ... http://Http://www.SuperSmartGames.com
I know I am way late on asking this, but how can I use feedburner (btw thanks a ton for putting this up!) to get my site to feed only from certain categories? I've looked for months for a joomla extension that will let me only feed my news and blog categories. But all of them just seem far to complex (read=potential site breakers tricky to set up). If anyone knows of a nice and easy one, I will be mucho grateful!
![]() 25 report abuse
vote down
vote up
August 28, 2007
Votes: +0
Elles: ... http://www.SuperSmartGames.com
Hi Cory,
Excellent! Thank you! That component is dead easy and does the trick. I just have one quick question if you would indulge me once more.... here is the link to my feed, http://feeds.feedburner.com/SuperSmartGames/cmoe . The problem I can't solve, is how to make the title stop saying "powered by Joomla" rather than the titles that I gave the feed in both the Run Digital component and on Feedburner. Strange right? Thanks again for this article and the others you have written. Really, really helpful stuff. Elles 27 report abuse
vote down
vote up
September 04, 2007
Votes: +0
Elles: ... http://www.SuperSmartGames.com
Cory, you rock!
thanks anyway, I'll sort it out. Cheers! 29 report abuse
vote down
vote up
September 04, 2007
Votes: +0
alvin: ... http://chisutra.com
Hello Corey, I want to use www. feeddigest.com to add content to my site. I want to use the php rss code, so the content can be read by the search engine bots. I am confuse of how to go about this. I was told to paste the code into a new created module,after I turn of my wysiwyg editor ....etc on the joomla forum. I have tried this but it does not work. You seem to have a deep understanding about this rss stuff.
Can you help me? Very Grateful alvin ![]() 30 report abuse
vote down
vote up
November 07, 2007
Votes: +1
Chris S: ... http://www.northcentraltechnology.com
Ok--hopefully this is a new one for you--I have designed a variety of joomla sites in the past, and the syndication worked fine. On this latest one, all the versions of RSS' work fine, except RSS 2.0. When I click on the logo or the one in the URL bar, it takes me to a 'Powered by Joomla!' title, where all the other logos take me to the title I put in the component. Really weird. Any ideas?
31 report abuse
vote down
vote up
December 08, 2007
Votes: +0
Chris S: ... http://www.northcentraltechnology.com
No, haven't touched a thing. This is a brand new install of Joomla! (same day actually), and the first time I tried playing with it at all.
33 report abuse
vote down
vote up
December 09, 2007
Votes: +0
Chris S.: ... http://www.northcentraltechnology.com
Ok--this is one of those Twilight Zone Things (that usually occur in using Linux for me, but I switched templates, and it's working. Is that even possible to have a bug in a template? Anyway, it works. Thanks for your help--I discovered your site accidentally, but I'm excited to continue to use it now that I found it!
34 report abuse
vote down
vote up
December 09, 2007
Votes: +0
Adam: ... http://www.build-muscle-gain-weight.com
Cory help! I'm having the same problem as Chris. S did above - I can't get rid of the "Joomla! Powered Site" title, despite changing the title in the syndications settings section. Any ideas as to how I can fix this?
35 report abuse
vote down
vote up
March 26, 2008
Votes: +0
Adam: ... http://www.build-muscle-gain-weight.com
I'll give that a try - Thanks!
37 report abuse
vote down
vote up
March 28, 2008
Votes: +0
sonia: ... http://www.chypps.org.uk
Hi Cory - thanks for that - very helpful...
but I seem to be missing a trick. will the sydication work with out feedburner? I have never used RSS feeds myself now regret it. I have set up the module and the component, but not feedburner. Not sure to it's role? when you click on the RSS 2.0 icon on the site, it just opens Outlook and pastes alot of code into a window. I'm sure this is not right. Any thoughts? Sonia 38 report abuse
vote down
vote up
May 08, 2008
Votes: +0
Gino: ...
Great article,
Do you know if it's possible to create a feed for content items that would usually have "Registered" user acess level? 39 report abuse
vote down
vote up
June 18, 2008
Votes: +0
Edward: ... http://firm.uk.com
Hi
sorry if this is a dumb question, I've just installed Joomla 1.5 and I'm looking everywhere for some way of syndicating my content. On this article I saw the 'Syndicate' component on J1.0 but on 1.5 I can only see a way to present other people's feeds. Do I need to install a component or something to do this? Thanks Edward 41 report abuse
vote down
vote up
June 25, 2008
Votes: +0 Write comment
|
| < Prev | Next > |
|---|











now regret it.
