Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 IE7 Feed Support (RSS) in header
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

nickw
Junior Member

Ireland
193 Posts

Posted - 02 May 2006 :  14:33:10  Show Profile  Reply with Quote
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

Edited by - Shaggy on 03 May 2006 11:30:37

AnonJr
Moderator

United States
5768 Posts

Posted - 02 May 2006 :  15:20:04  Show Profile  Visit AnonJr's Homepage  Reply with Quote
There is an RSS MOD floating around here. I can't remember if its here in the forums or over at www.snitzbitz.com<
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 02 May 2006 :  15:26:48  Show Profile  Reply with Quote
Yeah, I have the RSS mod installed and working great. What I would like to do is implement the IE7 / Firefox support.

I think I have to add a line with something like:
Response.Write	"<link rel=""alternate"" type=""application/rss+xml"" href=""http://www.mydomain.com/forum/rssfeed.asp"" title=""Active Topics on Forums"">" & vbNewline
<

Nick

Edited by - nickw on 02 May 2006 15:53:32
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 02 May 2006 :  15:32:22  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Nickw, check my inc_header.asp: http://oxle.com/source.asp?page=inc_header.asp (user demo/demo)
It has this feature implemented.<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 02 May 2006 :  15:41:36  Show Profile  Reply with Quote
Hi Marcel...

Thanks for responding... is it just the part that starts if Instr( to the else statement? sorry, I am not a coder....<

Nick
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 02 May 2006 :  15:48:53  Show Profile  Reply with Quote
OK, I am more confused now that before :) That looks like some impressive code :)

We have the default inc_header.asp file. What I would really like is a dynamic RSS feed that changes depending on the forum you are viewing. Is this possible?<

Nick
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 02 May 2006 :  15:54:33  Show Profile  Reply with Quote
For the moment, to make it simple, I can see that this forum as this code added just below the licence:

<link rel="alternate" type="application/rss+xml" href="http://forum.snitz.com/forum/rssfeed.asp" title="Active Topics on Snitz Forums 2000">

So, how can I add a simular line to our forums?<

Nick
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 02 May 2006 :  15:58:12  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I never was able to get any of my RSS readers to pick it up...

Funny thing is that the one built in to Maxthon picks up the Snitz RSS, but not the Oxle or the one I set up internally.... same syntax and all.

nickw, it is possible to have a different feed for each forum. It appears MarcelG has it set up that way on Oxle. The main thing is that he's generating essentially the same code you posted above... just having it modified depending on where you are and such.<
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 02 May 2006 :  16:05:13  Show Profile  Reply with Quote
Its odd, I also have this same issue. Oxle does not show, but the one here does... Mind you, I cannot get either to work on my forum :(<

Nick
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 02 May 2006 :  16:20:55  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I wonder if the RSS version is at issue here. I just took a closer look and noticed that the Snitz RSS feed is <rss version="0.92"> and mine is <rss version="2.0">

I can manually add the feed to my reader and all is good, it just doesn't get picked up automatically. Since it hasn't been a high priority at the moment, I haven't really thought too much about it; but since we've got some people ready to look at it... <
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 02 May 2006 :  16:23:41  Show Profile  Reply with Quote
Anything is possible. For the moment I have added another menu item to the default linking to the feed. I really wish I was a coder then I could write a Mod :)

Until then... I'll have to wait for you clever lot :)<

Nick
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 02 May 2006 :  16:26:55  Show Profile  Reply with Quote
I See the IE instructions for HTML are here if that helps?
http://blogs.msdn.com/rssteam/articles/PublishersGuide.aspx
<

Nick
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 02 May 2006 :  16:35:52  Show Profile  Visit MarcelG's Homepage  Reply with Quote
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:
<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
<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):
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.<

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 02 May 2006 16:37:08
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 02 May 2006 :  16:38:12  Show Profile  Reply with Quote
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
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 02 May 2006 :  16:41:12  Show Profile  Visit AnonJr's Homepage  Reply with Quote
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...<
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 02 May 2006 :  16:48:01  Show Profile  Reply with Quote
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:

'## 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
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07