By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,685 Members | 1,243 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,685 IT Pros & Developers. It's quick & easy.

How to get Explorer 7 to pick up my RSS link

P: n/a
JJ
I have a link on a page on my site that when clicked presents the XML which
repesents the RSS feed for the page.

I can't seem to get Internet Explorer to automatically light up its 'RSS
FEED' icon - i.e. its not detecting the rss.

How can I make explorer see the feed?

Thanks,

JJ
Jun 4 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
It takes a single link element in the header section of a Web page to ensure
browsers recognize the RSS file for your site:

<head runat="server">

<link rel="alternate"

type="application/rss+xml"

title="Some Web Site's RSS Feed"

href="http://someweb.net/rss.aspx" />
</head>

Here's more info:
http://SteveOrr.net/articles/RSS.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"JJ" <ab*@xyz.comwrote in message
news:Ox**************@TK2MSFTNGP02.phx.gbl...
>I have a link on a page on my site that when clicked presents the XML which
repesents the RSS feed for the page.

I can't seem to get Internet Explorer to automatically light up its 'RSS
FEED' icon - i.e. its not detecting the rss.

How can I make explorer see the feed?

Thanks,

JJ
Jun 4 '07 #2

P: n/a
JJ
Thanks Steve. I couldn't find that information anywhere. Now I need to see
if I can programmatically add that to the header, as the master page is also
used in pages without RSS feeds on them.

JJ

"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:2B**********************************@microsof t.com...
It takes a single link element in the header section of a Web page to
ensure browsers recognize the RSS file for your site:

<head runat="server">

<link rel="alternate"

type="application/rss+xml"

title="Some Web Site's RSS Feed"

href="http://someweb.net/rss.aspx" />
</head>

Here's more info:
http://SteveOrr.net/articles/RSS.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"JJ" <ab*@xyz.comwrote in message
news:Ox**************@TK2MSFTNGP02.phx.gbl...
>>I have a link on a page on my site that when clicked presents the XML
which repesents the RSS feed for the page.

I can't seem to get Internet Explorer to automatically light up its 'RSS
FEED' icon - i.e. its not detecting the rss.

How can I make explorer see the feed?

Thanks,

JJ

Jun 4 '07 #3

P: n/a
JJ
System.Web.UI.HtmlControls.HtmlHead pageHeader;
pageHeader = (System.Web.UI.HtmlControls.HtmlHead)this.Page.Hea der;
if (pageHeader != null)
{
HtmlLink rssLink = new HtmlLink();
rssLink.Attributes.Add("rel", "alternate");
rssLink.Attributes.Add("type", "application/rss+xml");
rssLink.Attributes.Add("title", "Some Web Site's RSS Feed");
rssLink.Attributes.Add("href", "http://someweb.net/rss.aspx");
pageHeader.Controls.Add(rssLink);
}
JJ
"JJ" <ab*@xyz.comwrote in message
news:uv**************@TK2MSFTNGP06.phx.gbl...
Thanks Steve. I couldn't find that information anywhere. Now I need to
see if I can programmatically add that to the header, as the master page
is also used in pages without RSS feeds on them.

JJ

"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:2B**********************************@microsof t.com...
>It takes a single link element in the header section of a Web page to
ensure browsers recognize the RSS file for your site:

<head runat="server">

<link rel="alternate"

type="application/rss+xml"

title="Some Web Site's RSS Feed"

href="http://someweb.net/rss.aspx" />
</head>

Here's more info:
http://SteveOrr.net/articles/RSS.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"JJ" <ab*@xyz.comwrote in message
news:Ox**************@TK2MSFTNGP02.phx.gbl...
>>>I have a link on a page on my site that when clicked presents the XML
which repesents the RSS feed for the page.

I can't seem to get Internet Explorer to automatically light up its 'RSS
FEED' icon - i.e. its not detecting the rss.

How can I make explorer see the feed?

Thanks,

JJ


Jun 4 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.