I have a RSS URL for my website and i have to make people directly subscribe this URL clicking on a image from my home page. The image click must have the functionality similar to "Subscribe" button which is found in the header of the RSS Page.
Asked
Active
Viewed 681 times
1 Answers
0
If you declare your RSS as HTML links (How To Tell Web Browsers About Atom Feeds) then many browsers will show 'Subscribe' buttons. However, there's no general way to cause subscription with a single link; you're better off linking to the feed and relying on the browser to offer to add a new subscription.
(You may be able to do better with some specific aggregators, but I'm assuming you're after something using your browser's subscription mechanism here.)
-
Im actually looking to add a icon in my page which allows to subscribe directly – ram May 02 '13 at 15:58
-
You may get somewhere with a variant of http://stackoverflow.com/questions/992844/add-to-browser-favorites-bookmarks-from-javascript-but-for-all-browsers-mine-do, but I don't think you'll find a reliable, general solution. – Joe May 03 '13 at 12:31