Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
Hi: Does anyone know of a fairly simple way to install an RSS feed on my homepage? I googled it and have tried three different methods, but none of them seem to work properly.
Does it need to be automated from content you already have?...or are you going to manually update it?
I would suggest trying the manual root first to familiarize yourself with the format. It's pretty straight forward document you can create in text editor, link to it the head of your document..... Done.
It gets complicated if you want to automate it, needs a programmed script and has to gt the content from somewhere like a database.
Open up a page on your site with the text editor and between the head tags paste this, be sure to change example.com to your domain.
<link rel="alternate" type="application/rss+xml" title="Title For Your Feed" href="http://www.example.com/myfeed.xml" />
Save an upload both files, when you load the page the icon in your browser that there is active RSS feed should now be visible -or- you could go directly to the feed. If the icon is not active hit ctrl f5 which does true refresh.
Success! I just checked it from the link you provided. This doesn't put anything on the page itself, anything in the head tag is to provide information about the document, script etc. If you look up on the top of the browser you'll find you now have an active RSS feed link. In FF it appears in the address bar, in IE it's going to be somewhere near the settings. You can can click and subscribe to the feed.
To add a link to the feed on the page it's just a regular link somewhere between the <body> tags:
A feed is to provide updates/news/changing information. For example you might want to use it to publish sales etc. You have to manually edit in new items:
<item>
<title>New Violins in Stock</title>
<description>We now have new violins in stock!</description>
<link>http://www.example.com/linktonewvilolins.html</link>
<guid>unique string per item</guid>
<pubDate>Thur, 11 Nov. 2011 00:01:00 +0000 </pubDate>
</item>
For each one of these you put in there will be different listing. RSS feed aren't intended to be viewed in a browser but simply a way for a user on your website to subscribe to it and have it retrieved by a feed reader usually on a daily basis. This way they can easily sort through a lot of websites that interest them without actually pulling up a page from the website. A great example of where you might use RSS is news site. For example maybe you have 2 hour commute in the morning with no internet access, you could have the feed reader retrieve all the feeds you have subscribed too before you leave for work and then look at them during your commute.
I recognize that block of code from my attempts elsewhere. And this goes after the code in the body? Or in the header?
I tried both; it doesn't goes in the body, as it shows up as text. I put it in the header, but that doesn't seem to change the text at the hyperlink...
tcm has given it a valiant effort, but there's certain information that someone has to have in order to give you a good answer, and that info hasn't been asked for/provided yet.
So really the first questions that should be asked are:
1. What information do you want to provide via the feed?
2. What CMS (Content Management System) or other software is running your website? (e.g. Joomla, Wordpress, etc.)
Given your apparent level of technical prowess (not a slight, btw), unless there's a plug-in option for your CMS, you're not likely to succeed in doing what you want. Hand editing an XML file is not only tedious, but it's prone to human error - XML feeds are designed to be read by machines, and typos aren't tolerated.
Please register to post and access all features of our very popular forum. It is free and quick. Over $68,000 in prizes has already been given out to active posters on our forum. Additional giveaways are planned.
Detailed information about all U.S. cities, counties, and zip codes on our site: City-data.com.