Blog Syndication (Part I) - How To Create An RSS FeedBy: Martin Lemieux
What is an RSS Feed?RSS - Real Simply Syndication was created as a programming language to help webmasters with sharing their "news posts" with other web sites. From there, people have taken this sharing really seriously and an entire network of syndication uses have been implemented throughout the internet. This trend has helped a growing number of bloggers to show their latest information in real time all across the globe. Is an RSS Feed Pre-Setup for Me?If you use services like; BlogSpot.com, WordPress.com, or any other automated source, the chance is that you already have an rss feed setup for you. Just look within your blog for a link called:
...or something along those lines. If you already have an RSS feed pre-setup for you, don't worry about the next steps below. =================== RSS Standards 2.0:=================== As with any programming language, there are rules we must all follow while creating a feed. This tutorial will only go into the specifications for RSS 2.0 only. RSS 2.0 vs. Atom feeds are more practical and easier for the average user to implement. We can find all 2.0 standards from here: ============= Sample File:============= <?xml version="1.0"?> =========================== Sample File Explanations:===========================
================= Each Item Post:=================
====================== Other Optional Items:======================
======================= Saving Your File:You have many options when creating your own feed. Some programmers like to use PHP to dynamically generate the information from a database. RSS files are typically saved as .xml - but by doing so, you need to find a way to update your rss file. If you update everything manually, you won't run into any problems, but if you want to generate the information dynamically, you will need to change the output headers of the file. PHP Outputting:Instead of the XML version from the sample above, add this... <?php This will tell php to output this index.php file for xml/rss specifications. There is an alternative using an .htaccess file, but I’ve spent countless hours trying to make everything work properly and found that .php is much easier to use. Besides, many of the dynamic methods talked about online come from people who have "server admin" access. This tutorial is geared to helping everyone, even if you are on a shared hosting server. PHP File Saving tip:When saving your file, create a directory folder called rss and save the file named index.php within it. This way you can promote a simple link, for example: "www.rssfilespec.com/rss/", and not have to worry about promoting the index file like so: "www.rssfilespec/rss/index.php". RSS / Atom Feed Testing & Validation:Have fun with this, you may have to brew a couple of coffees before you get it right, but just keep trying and don't forget to test your rss file from this feed validator here: www.feedvalidator.org/ . This feed validator will show you the areas of your rss feed that are either good, or bad. About The Author:Martin Lemieux is the owner of many article directories, business directories, and syndication web sites within Adcidia - an eSyndication Advertising Network. To promote your blog or feed, feel free to visit some of these great resources online:
Post A Comment: |
|
![]()
Copyright © 2010,
Adcidia™ (MartinLemieux.ca) - All Rights Reserved
Contact » About » Privacy Policy » Terms & Conditions »
RSS Feed » Search Blog Archives » Link to Martin's Blog » Article Directories
Adcidia Network: Blog Marketing Tips » Article99 Blog Directory » Blogging - RSS Tips
Seo Directory » Press Release Directory » Blog Directory » Search Engines Directory