WHIR | BLOGS | WEB HOST NEWS | FIND WEB HOSTS | RESELLER HOSTING | MAGAZINE | WHIR TV | NEWSLETTER | rss feeds
find web hosts at web host industry review Jobs | Events | Sitemap | Search 


More Web Hosting Articles  Web Hosting Specials RSS Feed 

 
Previous Article: Distributing Content with RSS
 
Next Article: Hosted Merchandise Stores
 





Building Your RSS File With XML

Even if you don't know much about HTML, creating an RSS file actually isn't too complicated. With a set of simple instructions you can have your RSS feed set up in no time.

   
Let Rackspace make the difference with reliable managed hosting solutions backed by Fanatical Support.™ 100% Network Uptime Money-Back Guar., 1-hour hardware replacement, 24/7 LIVE, MS and LNX certified technical support.

RSS files are written in a coding language called Extensible Markup Language or XML. Its tags are similar to HTML tags with the exception that XML tags have no set definition. Anyone can make up an XML tag. However, RSS feeds have their own unique set of defined XML tags. If you use them correctly, anything that reads RSS will understand your information. You can use Dreamweaver or Notepad to create your RSS file.

At the heart of an RSS file are something called items. Items usually include three pieces of information: a title, a description and a link. Be sure you keep the title between 10 to 12 words and your description short and concise. Once you have this information you need to add that little bit of coding to make it RSS reader-friendly. This is where you add XML tags at the open and close of each piece of information, like the <title> tag at the beginning of the title and </title> tag at the end. The same goes for the description and link fields. Here's an example of what it will look like:

<item>
<title>Here is Where the Headline Goes</title>
  <description>This is where you describe press release or blog post with a quick, catchy sentence. </description>
  <link>http://www.TheLinkToYourNewStory.com</link>
</item>

You also need to add the <item> tag at the top of all the information you've listed, as well as a close </item> tag at the end to define all details as forming a particular item. You can repeat this process with each new entry on your Web site to create a list of items that will be available to your readers through your RSS feed.

The list of items now need to be chained together to create a channel. This appears at the top of the file and tells people how the items relate to each other. Like items, channels use title, description and link tags to describe its content, but don't add the <item> tags. Instead put an open <channel> tag at the top. The close </channel> tag occurs after the last item.

<channel>
<title>The Channel Title Goes Here</title>
<description>The explanation of how the items are related goes here</description>
<link>http://www.YourWebSiteURL.com</link>

The final steps include adding XML and RSS defining tags at the top of the file to designate the XML specifications as well as what RSS version you're using. Here's what is commonly used:

<?xml version="1.0"?>
<rss version="2.0">

You also need to insert a closing channel and RSS tag at the bottom of the file, after all the items you want to syndicate, like this:

</channel>
</rss>

After this is complete, make sure you save it as a .xml file, upload it to your server and validate it through FeedValidator (feedvalidator.org) before you begin publishing it.

Your finished RSS file should look something like this:

<?xml version="1.0"?>
<rss version="2.0">

<channel>
<title>The Channel Title Goes Here</title>
<description>The explanation of how the items are related goes here</description>
<link>http://www.YourWebSiteURL.com</link>

<item>
<title>Here is Where the Headline Goes 1</title>
  <description>This is where you describe press release or blog post with a quick, catchy sentence. </description>
  <link>http://www.TheLinkToYourFirstStory.com</link>
</item>

<item>
<title>Here is Where the Headline Goes 2</title>
  <description>This is where you describe press release or blog post with a quick, catchy sentence. </description>
  <link>http://www.TheLinkToYourSecondStory.com</link>
</item>

</channel>
</rss>



Print this Page       Email this Page        Add to: | del.icio.us | digg


WHIR.com Sponsored Links

> World-class managed hosting from PEER 1, ValuePro Plan just $299.
> DataPipe: Managed Hosting Services
> Rackspace: What Do You Get With Your Hosting Provider?
> Website Source: Powerful Website hosting starting at $6.85
> SuperbHosting.Net: Dedicated Servers-$59m & Cheap Web Hosting-$2.50/m
> iWeb: Quality Servers. 3000GB of traffic for only $69
> Apollo Hosting: Award Winning Hosting from $6.96 – Click Here!
> Doba: Looking for more products to help grow your online store?
> FindSSL.com: Find SSL Certificates, SSL News and EV SSL Information
> Click here for special deals and offers from WHIR sponsors!
 


 


request a quote for web hosting
Web Hosting Directory

 Personal Web Hosting
  > Budget Web Hosting
  > Blog Hosting
  > Photo Album Hosting
  > Domain Registrars

 Small Business Hosting
  > Ecommerce Hosting
  > Windows Web Hosting
  > Database Web Hosting
  > Email Hosting Solutions
  > Adult Web Site Hosting
  > SSL Certificates

 Reseller Hosting
  > Web Host Automation
  > Private Label Hosting
  > Services for Web Host
  > Advertising Agencies
  > Wholesale Domains

 Dedicated Servers
  > Virtual Private Servers
  > Game Servers, Hosting

 Managed Hosting
  > Application Hosting
  > Complex Web Hosting
  > Data Center Space
  > Grid Hosting
  > Compliance Hosting

 Worldwide Web Hosts
  > Asian Web Hosting
  > Australian Web Hosting
  > Canadian Web Hosting
  > Caribbean Web Hosting
  > China Web Hosting
  > European Web Hosting
  > German Web Hosting
  > Hong Kong Hosting
  > India Web Hosting
  > New Zealand Hosting
  > Singapore Web Hosting
  > UK, Irish Web Hosting
  > USA Web Hosts

 Web Hosting Search

 



WHIR NEWSLETTER SIGN-UP | MANAGE SUBSCRIPTIONS | WHIR RSS FEEDS
Name:
Email:
Password:
theWHIR Blog Email Update
Magazine
Daily News
Find Web Hosts
Occupation:
Company Type:

Find Web Hosts | Reseller Hosting | Personal Web Hosting | Small Business Web Hosting | Dedicated Servers | Managed Hosting | Adult Web Hosting


About WHIR | Online Advertising | Print Advertising | Print Subscription | Email Newsletters | RSS Feeds
 
Submit News | Privacy Policy | Buy Reprints

Web Host Industry Review, Inc. is not responsible for the content of comments submitted by our users.

  © Copyright Web Host Industry Review, Inc.