Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-10-2010, 08:45 PM
|
#1
|
Member
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Rep:
|
rss feeds; making the orange icon in firefox appear
I'm trying to create an rss feed server on my personal computer (with Apache and php).
My goal is, when you go my website, the orange rss feed icos appears in firefox (or however any other browser does the equivalent).
I was able to create a valid RSS xml file, which I called "rss.xml". For now, I put the rss.xml file in the htdocs directory (/var/www/localhost/htdocs/rss.xml)
But when I go to my home page, the icon in the browser does not appear to indicate that there is an rss feed that you can subscribe to.
Could anyone tell me what I am missing, or point me in the right direction to get a website to automatically see that there is an rss feed available? Thanks!
--Shaun
Last edited by binary_pearl; 10-10-2010 at 08:46 PM.
Reason: forgot to add a closing ')'
|
|
|
10-11-2010, 12:30 AM
|
#2
|
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279
|
In your home page you need to add the link to the head section of the page.
look for
Code:
<link rel="alternate"
in the source of this page.
|
|
1 members found this post helpful.
|
10-11-2010, 06:42 AM
|
#3
|
Member
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Original Poster
Rep:
|
Thanks Smoker, that pointed me in the right direction. Here is the entire <link> tag that I needed to use:
<head>
<link rel="alternate" type="application/rss+xml" title="Testing RSS Feeds" href="/rss.xml"></link>
</head>
--Shaun
|
|
|
All times are GMT -5. The time now is 03:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|