Blogging-RSS |
| Articles in Database: 630 |
|
|
Creating an RSS Feed for Your Website By Michael LawrenceRead about Blogging-RSS on erreur404.info. This article about "Creating an RSS Feed for Your Website By Michael Lawrence" will help you with the Blogging-RSS. erreur404.info specializes in Blogging-RSS. As part of Blogging-RSS your website, you also need to be aware of all everything out there so we are provideing these articles for you as reference. The acronym RSS stands for "Really Simple Syndication". RSS is a format that enables you to easily distribute links to your website content by adding channel and item definitions to an XML (eXtensible Markup language) file on your webserver which can be read by RSS Reader software. Channel and item definitions consist of a title, description and URL. RSS Reader Software
RSS has it's own special set of XML tags defined which allows any software which understands RSS to parse an XML document into a readable format for the software user. Defining Items in an XML File Using the information we have collected for our webpage about "Grooming Blades" we can now begin creating our XML document for this example. The syntax would have the following form:
Using our "Dogs" website example, if we add two more webpages to our site about "Dog Grooming" then we would have to add two more items to our XML document as well:
We would repeat this process until we have defined items in our XML document for all of the webpages on our site that are about "Dog Grooming". Organizing Items Using Channels Having an unordered list of items in your XML document may be fine for a personal or one-topic website, but what if you have a larger website with a number of different topics? Organization of items within an XML document is accomplished by defining channels which correspond to each major topic of your website. If you have a news website for example, you may want to define channels for; weather, sports and politics in your XML document. As with items, you are required to define a "channel title", "channel description" and a "channel URL" for each channel you add. Continuing with our "Dogs" website example from above, we would define a channel in our XML document for "Dog Grooming". Here is the information we have gathered for our proposed "Dog Grooming" channel:
The channel definition in our XML document would have the following syntax:
Notice that the syntax to define an item or a channel in an XML document are virtually the same. To keep the definitions straight, it is best to think of channels as "containers" for similiarly themed items. A channel must have all items associated with it defined before it's closing tag within your XML document in order for it to work properly. Combining the channel and item definitions we have already created for our proposed "Dog Grooming" channel would produce the following XML document:
Notice that we opened the channel tag, defined it's title, description and link values, and then nested the item definitions within the channel structure before finally closing the channel tag. Adding the items between the opening and closing channel tags tells an RSS Reader that these items are associated with that channel. To finish our RSS feed we need to add tags to our XML document to define the RSS and XML versions that our XML file is compatible with. The current standard for XML is 1.0 at the time of publication. RSS Versions
Most RSS readers will support both RSS and Atom XML feedtypes but be sure to read the documentation for your chosen RSS software client if you have any compatibility questions. Using XML version 1.0 and RSS 2.0 comptibility our XML document would now look like:
We now have a fully functional XML document which defines our "Dog Grooming" channel complete with links to the items within this channel. To create a complete XML document for our "Dogs" website we would need to define channels and items for the rest of our website topics and webpages and add them to this XML document. After completing this process, we would then save this file as dogexample.xml (replace dogexample with your own appropriate filename) and upload it to our webserver in ASCII format. Validation After completing your XML document make sure there are no errors in your file before you provide your feed for syndication. Visit the XML validator provided by Feedvalidator.org and input the URL of your newly created XML file to be validated. Fix any problems identified by the validator service and get ready to begin the syndication process. Getting Syndicated You now have a validated XML document loaded on your webserver with links to all of your website content. So how do you go about actually getting your feed syndicated? The first step would be to provide a link to your new feed from your own website. If you use a template to manage your website content it is a good idea to add a link to your RSS feed to this template so that it will be available from all pages of your website. Using our Dogs example we would add the following link to our website template: http://www.dogexample.com/dogexample.xml Now anyone who visits our "Dogs" website can syndicate our content by pointing their RSS reader software to the address of the XML file on our server. Using javascript a webmaster could even parse the headlines from your XML file to display right on their website. If you updated your XML document, the headlines on their website would also change! There are also a number of websites on the internet where you can add your RSS feed for others to syndicate. Some RSS Syndication Services: XML as a Sitemap Creating an XML file to use as an RSS feed is also a great way to ensure that all of your website content gets indexed by the major search engines. Since your XML document is essentially a list of titles and URLs for your website documents it acts as a SiteMap for your website. Providing a link to your RSS feed from all pages of your website is the same as providing a link to a sitemap! Since the major search engines are able to parse XML you can be sure to have all of your webpages indexed regardless of the linking structure of your website. Having trouble getting those tier 3 webpages on your site indexed? Define an item in your XML document pointing to the trouble webpage and watch it get indexed. Google Site Maps Google has recently implemented the idea of Google Sitemaps which is essentially the same idea as setting up an RSS feed for your website. For more information on Google Sitemaps please visit the Google Sitemaps Homepage. Instant Article Submitter. - Amazing Breakthrough Software Stuffs Any Website You Want Full Of Free Targeted Traffic. 15,000 Mb Hosting For $4.95/mo. - 4.95 web hosting, Free domain registration! Free setup and online website builder included. Michael Lawrence (BA Sc) runs a Directory of Website Promotion and SEO Resources and is also performs Search Engine Optimization duties as part of the SEO Team at BDN Website Design. ?expert=Michael_Lawrence |
SEARCH
OTHER ARTICLES Are You Thinking of Republishing RSS Feeds? By Allan Burns There is lively debate about the republishing of RSS feeds on other sites. The argument surrounds the use of RSS feeds from the feed publisher being used in an unfair manner. This includes republishing the entire articles and not displaying sufficient credit to the original source. Before we go into the details you may want to brush up on your understanding of RSS. This will help you fully appreciate and fully understand the issues involved. I am glad this conversation is happening now as it… RSS Directory Submission: The Key to Blog Promotion By Josiah Mackenzie According to Technorati, there are over 15 million blogs as of July 2005. And during July, an average of 80,000 new blogs were created each day. If you own a blog, how are you going to promote it in order to stay ahead of the competition?Fortunately, there is a simple, yet very effective method: RSS directory submission. Submitting your RSS newsfeed to specialized news directories benefits your site in several ways.RSS directory submission increases your readership. When a person is look… The Blog Factor: Everything you need to know to start blogging - today! So what is this 'blog factor'? Well, what a few thought was a novel idea some years ago has now morphed into something no one expected. There are currently nine million blogs out there with 40,000 new ones being added everyday. Some are informative and some are just downright a waste of your time. And while we hear a lot about blogging these days, what is blogging *really*? Blogging in its simplest term is like an online journal but much, much more powerful. Blogs (short for Web log) is a place … What Is RSS? By Kim Bloomer Recently I did an interview with a well known email Internet Marketer. He wanted to share with his readers a viewpoint on what RSS is from someone who is using it in place of traditional email marketing. Of course this interview was geared towards other Internet marketers so they all somewhat “get” what RSS is, at least in theory.So, what IS RSS? Again, I find myself laughing, as I did in that interview because I’m fairly new to this RSS business myself. RSS is really an acronym for REALLY SIM… Should My Home Business Have a Blog? By Martin Neumann It's fair to say that blogging has taken the Internet by storm over recent years. And it's no surprise that today there are hundreds of thousands of new blogs being launched every day.But as a home-based business owner, should I have a blog?To put it bluntly, if you conduct any part of your business over the internet, then Yes, you should have a blog.So what is a blog?Wikepedia describe a blog as ..... a weblog (usually shortened to blog) is a web-based publication consisting primarily of peri… |
| home | Site Map |