Create an rss subscribe button to let the user subscribe to an rss feed created in coldfusion

Please I would like to Create an rss subscribe button

I created an rss feed xml file in my web application using cffeed and a table in sql server. I would like to add a button on my web page so that when the user clicks it he will automatically subscribe to this feed.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

1) add
<link rel="alternate" href="path/to/your/feed/xml/rss/etc/file" type="application/rss+xml" title="name-of-your-feed-here" />
to the <head> section of your page.
this will add an RSS icon the the address bar of all modern browsers.
this will let your users see that the page has an rss feed associated with it, and will allow your feed auto-discovery by rss readers.

2) add a regular <a href="path/to/your/feed/xml/rss/whatever/file">Subscribe to RSS</a> in your page where you want the link to appear. style it as you like. the web has a lot of free RSS icons/buttons you can use if you want.

Ray PaseurCommented:

I favor the second approach from azadisaryev, above.  We just use a plain text link styled in the "RSS orange" color at our church site.  See the right sidebar here:
my 2 points above were not either/or options - you should use both of them together.

the <link> element add the feed auto-discovery possibility, so that users who want to subscribe to your feed using an rss reader can enter just the page url instead of a direct link your your feed xml file. presence of <link> element in your page's code will also make the browsers display a nice rss icon in the address bar announcing availability of your feed.

Ray PaseurCommented:
Azadi, that makes sense to me.  I design for a "technologically challenged" audience sometimes.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sohairzaki2005Author Commented:
Thanks a lot it worked
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.