LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-10-2010, 08:45 PM   #1
binary_pearl
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
Blog Entries: 3

Rep: Reputation: 23
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 ')'
 
Old 10-11-2010, 12:30 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
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.
Old 10-11-2010, 06:42 AM   #3
binary_pearl
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
Blog Entries: 3

Rep: Reputation: 23
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS Feeds custangro LQ Suggestions & Feedback 2 10-08-2008 02:08 PM
Subscribing to RSS Feeds in Firefox 2.0 for Akregator shadowsnipes Linux - Software 12 02-14-2008 03:26 PM
RSS Feeds in Firefox gerowen Linux - Software 3 11-14-2005 07:57 PM
RSS feeds ..?? logicalfuzz LQ Suggestions & Feedback 4 11-02-2005 07:13 PM
RSS Feeds (HELP) webwolf70 Programming 1 02-07-2005 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration