Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Displaying RSS Feeds in a web page

From: "Neil Smith [MVP Digital Media]" <neil@------.--->
To: 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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent