The questions often asked by static website owners are: How can I make a RSS feed for my website? Is it only blogs that can have an RSS on their websites?
The answer to the first question is: Yes, you can simply create an one for static websites. And I guess this gives you a clue to what the answer to the second question would be. So, you too can offer RSS feeds on your website.
Having an RSS feed on your static website has a lot of benefits:
- You can send updates to your website visitors who subscribe to it. You can generate more traffic to your website. When your RSS feed subscribers receive the update in their chosen RSS reader, they will come back to your website to reader the full article.
- You can leave a link to specific articles on your website when you comment on ComLuv blogs. You know those links you see in comments (XYZ’s last blog post…) You can do that too if you have feeds on your website.
- You have a lot of control when you create your own RSS feeds because you can choose to send a summary of your updates to your subscribers so that they can come back to your website to read the full article. With the traditional RSS feed that is auto generated, you do not have much control. Most often, the full article is sent to your subscribers so they will not need to come back to your website.
Creating a feed takes four steps:
- The first step is to create the file itself and save it as yourdomainname.xml. Don’t worry, these are very simple codes. Upload it to your website, to the same folder where you have your homepage.
- You should then place a link element of the RSS file in the head section of the pages of your website. Here’s an example:
<link rel=”alternate” type=”application/rss+xml” title=”www.yourdomain.com RSS Feed” href=”http://www.yourdomain.com/yourdomain.xml” /> If you want, you can place it only in the head section of your homepage. But I advise that you place it on all the pages of your website because you never know the page through which your visitors will land on your website. If you have it on all the pages, the RSS icon on your visitors’ browsers will tell them that you offer RSS feeds on your website as soon as they land on your website even if they do not go to your homepage.
- Find a nice spot on your website, above the fold and place the bright orange RSS icon with a link to your RSS feed. You should also submit your RSS file to Google. It is done exactly the same way as you submit a sitemap.
Because this process involves XML tags which I cannot display here, I advise you visit my website to learn the details of how to create your own RSS feeds for static websites.