Remember Me
forgot your password?

Syndicate RSS Feeds on your Website for Extra Content

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.

Brian Rock

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.

Rate this Article: 0 / 5 stars - 0 vote(s)
Print Email Re-Publish


Article Source: http://www.articlesbase.com/web-design-articles/syndicate-rss-feeds-on-your-website-for-extra-content-329116.html
Add new Comment



Captcha

  • Latest Web Design Articles
  • More from Brian Rock

Website Design – An Eye Opener

By: Caitlina Fuller | 05/07/2009
There are many reasons that a person or a company would want a website. Internet marketing is a huge reason a company would likely have a website on the internet.

The Differences between Web Development and Web Design

By: Caitlina Fuller | 05/07/2009
A person can consider themselves as a web designer if they create websites that are considered social networking websites but as professional web designers are concerned, their job consists of much more that creating a site to upload family pictures.

Corporate Business Promotion, Corporate Marketing Technology

By: Jigney Bhachech | 03/07/2009
Offer a wide range of professional seo services like corporate business promotion, search engine marketing, search engine optimization, email marketing, pay per click advertising, seo management, seo maintenance and seo consulting services to launch a successful business website promotion campaign.

The Uses of Color Arts - Photoshop Brush Tools

By: Manish Shrivastava | 03/07/2009
Over the past several years, a strong trend towards using various Photoshop Tools is seen in website design and development. Increasingly, clients ask for the ability of their web sites to reach maximum potential customers as possible.

Reasons to Have a Website Redesign

By: Steve Irron | 03/07/2009
Website redesigning could be a simple task to perform. Though, it can also be a difficult task. There are certain numbers of things which you can do in order to make your website more powerful than before.

Should You Outsource Pay-Per-Click? - Here's “Seven” Good Reasons Why!

By: Chriss Tyrrell | 03/07/2009
One huge difference between pay-per-click agencies and yourself, is that these agencies tend to share and maintain a much closer business relationship with search engine managers, which allows them to do things like resolve issues and contention with these account managers and also upload data much more faster and efficiently. The end result is that their higher level of prioritized service translates directly to a more positive bottom line for these agencies and those who seek out their service

Search Engine Optimisation For Business Success

By: Chriss Tyrrell | 03/07/2009
Its a fact that the Internet has become a far more competitive place to do business. So the old adage, “build a better mouse trap and they will buy it” just doesn't apply any more. Now it seems its “build a better mouse trap, develop an effective SEO campaign and then they will know where to come and buy it”.

Acanthus Infotech is a Web design company and website development services firm based in Chennai India

By: Muthusamy.S | 03/07/2009
Acanthus Infotech is a Website Design and Website Development Services firm based in Chennai.We are committed to provide Creative, Innovative, Quick and Quality Website Design Solutions, Web Development, Web Development Services, E-Commerce Web Applications, Website Maintenance etc.

How to Encrypt and Hash Passwords in Php

By: Brian Rock | 02/02/2008 | Web Design
If 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 Design
If 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.

Submit Your Articles Free: Signup


Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.29, 7)