IE7 Feed Support (RSS) in header - Posted (1946 Views)
Junior Member
nickw
Posts: 193
193
Hi all,

Please can someone show me how to edit the header of snitz so that I can publish Feeds in IE7. I see someone implemented this here recently....
<moved to="MOD Add-On Forum (W/O Code)" by="Shaggy" />
<
Nick
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Junior Member
nickw
Posts: 193
193
I See the IE instructions for HTML are here if that helps? http://blogs.msdn.com/rssteam/articles/PublishersGuide.aspx
<
Nick
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
Guys, sorry to dissapoint you but the oxle rss feeds do show up in Maxthon, at least in the latest release of Maxthon. Works as a charm. And, Nick, yes, the code I used changes the rss feed to the forumspecific rss feed. For example on oxle.com:
Code:
<link rel="alternate" type="application/rss+xml" href="http://oxle.com/rss.asp" title="RSS: oxle.com">
on the subforum 'the pub' on oxle.com
Code:
<link rel="alternate" type="application/rss+xml" href="http://oxle.com/rss.asp?FORUM_ID=35" title="RSS: oxle - the pub">

The code I use is this (removed the language dependant code):
Code:
if Instr(strScriptName,"default.asp") > 0 or Instr(strScriptName,"forums.asp") > 0 or Instr(strScriptName,"forum.asp") > 0 or Instr(strScriptName,"index.asp") > 0 then
if request.querystring("forum_id") <> "" and IsNumeric(forum_id) = true then
response.write "<link rel=""alternate"" type=""application/rss+xml"" href=""http://oxle.com/rss.asp?FORUM_ID=" & request.querystring("FORUM_ID") & """ title=""RSS: " & GetNewTitle(strScriptName) & """>"
else
response.write "<link rel=""alternate"" type=""application/rss+xml"" href=""http://oxle.com/rss.asp"" title=""RSS: oxle.com"">"
end if
end if
I've that piece of code in inc_header.asp in the second block of HTML meta tags.<
Posted
Junior Member
nickw
Posts: 193
193
Oh Man!

First, for other people like me who are not used to the code... there are TWO sections in the code that refer to the copyright, put your code under the second...
Marcel! Thanks man... appreciate this! Ill report back.<
Nick
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
evil Got the latest version of Maxthon myself (or is 1.5.2b21 no longer the latest?), and the RSS reader still doesn't pick up Oxle or my own (which I temporarily hacked back to v0.92 to see if that was the issue). Wonder whats up...<
Posted
Junior Member
nickw
Posts: 193
193
Nearly there.... I have now added your code, and a single line so that when you have myforum/ (no default.asp etc) it shows the default feed in IE7.
I ended up with this:
Code:

'## RSS Mod for IE Glow
'## Add this line so that feed icon glows even when there is no page specified
Response.Write "<link rel=""alternate"" type=""application/rss+xml"" href=""http://web2.minasi.com/forum/rss.asp"" title=""Minasi Forum Feed (Main)"">" & vbNewline

'## Marcels Code for feeds to change live with forum ID. if Instr(strScriptName,"default.asp") > 0 or Instr(strScriptName,"forums.asp") > 0 or Instr(strScriptName,"forum.asp") > 0 or Instr(strScriptName,"index.asp") > 0 then
if request.querystring("forum_id") <> "" and IsNumeric(forum_id) = true then
response.write "<link rel=""alternate"" type=""application/rss+xml"" href=""http://web2.minasi.com/forum/rss.asp?FORUM_ID=" & request.querystring("FORUM_ID") & """ title=""RSS: " & GetNewTitle(strScriptName) & """>"
else
response.write "<link rel=""alternate"" type=""application/rss+xml"" href=""http://web2.minasi.com/forum/rss.asp"" title=""Minasi Forum Feed (Main)"">"
end if
end if

The only thing remaining is to get it working by forum category... could this be done?
In your Debt.<
Nick
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
Originally posted by AnonJr
evil Got the latest version of Maxthon myself (or is 1.5.2b21 no longer the latest?), and the RSS reader still doesn't pick up Oxle or my own (which I temporarily hacked back to v0.92 to see if that was the issue). Wonder whats up...
The 'toast style' notification doesn't allways pop up. You should however see the small soapy icon in the bottom status bar:
For example like this: (click for larger version)
<
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
I disabled the "toast" notification. While searching for coding answers it gets rather anoying... but with it enabled or disabled I don't see the notification in the status bar...
I do appreciate the help, but this isn't a high priority - just really annoying.
Nick, I'd imagine that it would be similar to what you did to add the forum:
Code:
'## RSS Mod for IE Glow
'## Add this line so that feed icon glows even when there is no page specified
Response.Write "<link rel=""alternate"" type=""application/rss+xml"" href=""http://web2.minasi.com/forum/rss.asp"" title=""Minasi Forum Feed (Main)"">" & vbNewline

'## Marcels Code for feeds to change live with forum ID. if Instr(strScriptName,"default.asp") > 0 or Instr(strScriptName,"forums.asp") > 0 or Instr(strScriptName,"forum.asp") > 0 or Instr(strScriptName,"index.asp") > 0 then
if request.querystring("forum_id") <> "" and IsNumeric(forum_id) = true then
response.write "<link rel=""alternate"" type=""application/rss+xml"" href=""http://web2.minasi.com/forum/rss.asp?FORUM_ID=" & request.querystring("FORUM_ID") & """ title=""RSS: " & GetNewTitle(strScriptName) & """>"
elseif request.querystring("cat_id") <> "" and IsNumeric(cat_id) = true then
response.write "<link rel=""alternate"" type=""application/rss+xml"" href=""http://web2.minasi.com/forum/rss.asp?CAT_ID=" & request.querystring("CAT_ID") & """ title=""RSS: " & GetNewTitle(strScriptName) & """>"
else
response.write "<link rel=""alternate"" type=""application/rss+xml"" href=""http://web2.minasi.com/forum/rss.asp"" title=""Minasi Forum Feed (Main)"">"
end if
end if
<
Posted
Junior Member
nickw
Posts: 193
193
Cool... I'll give it a go ;)
<
Nick
Posted
Junior Member
nickw
Posts: 193
193
That worked! :) Thanks<
Nick
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
Glad you got everything working. smile<
You Must enter a message