Read PHP Tutorials, Web Design Guides, and Money Making Tips at Web Cash.
Also check out the latest PHP Tutorials or the latest Web Design tips.
RSS feeds are a great way for you to keep up to date on your favorite websites. But they can be an even greater tool for a webmaster. You can syndicate RSS feeds on your own site, adding continuously updating content without any work of your own.
Use PHP to Parse an XML File and Syndicate the Feed
In order to syndicate an RSS feed on your site, you'll need to read the XML file somehow. PHP is great for this.
Previously, you would have had to write your own XML parser to do this. This is possible - but it takes some time and it can get fairly complicated.
Thankfully, PHP now comes with SimpleXML built-in. You can use this great package to quickly and easily read XML files.
Since RSS feeds follow a standard structure, you can use SimpleXML to read the file, manipulate the data, and output a list of links and/or descriptions onto your website. All you need to know is how to use SimpleXML and how an RSS feed is structured.
Here's a tutorial on how to syndicate an RSS feed in PHP, if you're interested in learning how to do that.
Use Rel='nofollow' In the Links
If you do syndicate an RSS feed and reproduce it on each of your pages, you may want to consider using rel='nofollow' for the links.
Each of those links is an external link. Without the nofollow tag, you'd be bleeding a lot of pagerank from each of your pages. In the long run, this could be detrimental to your site - and it would probably outweigh any benefits from using the RSS feed in the first place.
You can fix this problem by placing the attribute rel='nofollow' in each of the links you create from the RSS feed.
If your website is a Wordpress blog, you'll need to manually do this. Wordpress comes with a great built-in RSS Feed Widget - so you don't have to manually parse the feed. However, it doesn't give you an option to use 'nofollow' for the links.
You can read this guide to find out how to hack the Wordpress source to make the RSS Widget nofollow. You'll need to know a bit of PHP, but it's not too hard.
Remember: Don't Steal Someone Else's Copyrighted Work
Although articles are spread around the internet in RSS feeds, you still don't own them.
It is acceptable to use an RSS feed to syndicate links back to the original source of an article. It would also be acceptable to include a short description of that link - based on the RSS feed it came from.
However, some users place entire articles in their RSS feeds. To reprint an entire article is copyright infringement. It is wrong, illegal, and could land you in a lot of trouble.
Use other people's work fairly. It can add relevant links to your site - but try to steal whole articles.
- Related Videos
- Related Articles
- Ask / Related Q&A
- Did You Know Wordpress is a Free Traffic Machine?
- How To Podcast Using Wordpress
- HTML Character Entities, Problems For RSS Readers
- Syndicate RSS Feeds on your Website for Extra Content
- Wordpress Knocks Out Google's Blogger In Building Niche Blogs
- RSS Explained in Plain English
- A Threat to Your Wordpress Blog: Duplicate Content
- Free Wordpress Plugins: Top 3 Plugins For Internet Marketers




Web Development India: Dabble Into Pure Web Development
By: Arun Kumar | 12/11/2009In today’s internet dominated world, website development has become a much patronized field – credit goes to the never-ceasing progress of technology. Web developed saw its first seeds sown in the development of platforms for virtual communication and knowledge base germinated on websites.
Flash Web Design: The Unanimous Winner
By: Arun Kumar | 12/11/2009Flash is that sort of a website development platform that comes cheap despite its awe-inspiring results. A product from the world renowned Macromedia Group, a California based graphics, web development and software firm, Flash is now taken over by Macromedia’s own rival Adobe Systems which in fact controls the line of all Macromedia products.
Understanding Many Aspects of Website Development
By: spinxwebdesign | 12/11/2009A website development process consist many stages and there are many aspects which needs to be taken care from start till the end. These stages behave as milestones to achieve your final goal and satisfy your business needs.
Create a marvelous website with easy website builders
By: Mantoo Joinx | 12/11/2009With the Easy Website Builders one can have the website built in the best manner. With the Easy Website Builders you can have the website built along with its placement on the reliable servers. You will also be assisted in the website promotion.
Choose the right seo website design company
By: Chris Genge | 12/11/2009It is absolutely essential for anyone to select an expert seo website design company for your website because you can not handover your source of earning to anyone. It should be taken care of well by only expert hands.
Contribution of Graphic Designers in Designing Process in Kelowna
By: Michael Horny | 12/11/2009Graphic designers are the people who carry out the graphic arts in a professional manner, who congregate the images, symbols and words to convey the message in a different manner.
Flash Website Designing - Usage in e-Business
By: Amya Adora | 12/11/2009Flash Website Designing helps the web today, Which is a gamut of websites that are designed in varied creative techniques which make them appear attractive and definitely more interactive. Businesses that wish to acquire a stronger presence in the internet, are readily adopting flash website designing
Quick Reference Links To Fight Iframe Injections
By: Joseph Schembri | 11/11/2009I have had many requests from people reading my articles on combatting iframe injection to create a quick start guide with the various links one can use to detect and recover from iframe injection attacks.
How to Encrypt and Hash Passwords in Php
By: Brian Rock | 02/02/2008 | Web DesignIf you want to build a user-management system - or work on someone else's - you should know a few basics about how passwords are encrypted or hashed. In other words, how are they made safe for storage?
Three Ways to Display Sample Html in a Web Browser
By: Brian Rock | 16/01/2008 | Web DesignIf you want to display some sample HTML, you've got a tiny problem. The browser thinks that it should render the code. This guide suggests three ways that you can force the browser to display the markup un-rendered.