Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Displaying RSS Feeds in a web page [Thread Next] Re: Displaying RSS Feeds in a web pageTo: NULL Date: 9/12/2007 8:03:00 PM On Wed, 12 Sep 2007 17:12:42 +0100, "Dave T" <webforumsuser@m...> wrote: >I'm thinking of using RSS Feeds on my website, but I don't want the person >viewing the page to be taken away from my website. > >I'm wondering if it's possible to make it so that if someone clicks an RSS >Feed link on my webpage, the RSS Feed opens on a different section of the >same page so that they can read the information given over the Feed, but >still be on my Website. > >Can this be done? Would frames be required for this to work? No. <a href="http://path/to/rssfeed.xml" target="blank">click to view feed</a> would do it. In general though, you add the RSS feed to the head elements of your web page, which browser based feed readers (like in IE7 and Firefox) can use directly by showing a "subscribe to feed" icon, often in the bottom of the browser chrome - no need for a link then. RSS feeds are intended to be subscribed to, not viewed directly. So the idea of an RSS link is a bit odd - try dragging an RSS feed icon to your feed reader is normal, but not actuvely clicking on it and expecting to see RSS feed content shown as just another web page. You can see how this works on our video filter page : http://coull.tv/videos/browse/recent/category/all/full/ In firefox 1.x, the RSS feed icon appears in the top right of the addres bar, the browser's picking that up from the element in the HTML head (View -> Source to see how it's done) : <link rel="alternate" type="application/rss+xml" title="coull.tv : RSS Feed for Most Recent videos" href="http://coull.tv/feeds/rssfeed.php?type=recent" /> BTW, this is an XML group, so your question is a bit misplaced since it's about general web page management. Cheers - Neil ------------------------------------------------ Digital Media MVP : 2004-2007 http://mvp.support.microsoft.com/mvpfaqs | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
