Author |
Topic |
acnescar
Starting Member
United Kingdom
7 Posts |
Posted - 17 December 2009 : 02:26:11
|
I have had a good look through the site for an rss feed. I see that a few have been developed but they all only hold the last post in any active topic. What I would like is an rss feed that will hold the last 100 posts on the forum by time irrespective of which topic they are in.
When trying to find an rss feed that will do this I see that a few other people have asked for the same in the threads about rss feed but have largely gone unanswered or directed towards the active topics mod which is not what I want.
Thanks Acne |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 17 December 2009 : 05:18:46
|
it wouldn't really make sense to do it that way since you could end up with 100 entries that are all look the same, don't forget that ONLY topics have a title, replies do not, so how would you display them in the RSS ??
An RSS feed is for publishing frequently updated works, replies are not frequently updated it is the topics which are, so that is why the RSS deals with Topics not replies. |
|
|
acnescar
Starting Member
United Kingdom
7 Posts |
Posted - 17 December 2009 : 07:41:33
|
I already subscribe to a forum where the feed contains all the most recent posts. Each entry in the feed contains the information on who posted it, the topic title, the post and a time/date stamp. That way one is able open the rss reader and sort by topic and then read through all the posts in that topic that are new since the last time the rss reader was used.
At present I use windows live mail and rss bandit, when only the last post in each topic is held in the feed one reader does not update what it shows and the other reader deletes the original post and replaces it with the most recent.
I'm trying to create an rss feed where one can access it see all the posts sortable by topic,date or poster. that way one can keep up with a busy forum, in a low bandwidth way, without having to navigate around the forum website. At the end one can mark all posts as read or leave bits unread and comeback to them when time permits.
As to your question about how to display them in the rss I'm not a coder so i have no idea i just know it can be done as i use a feed that does it, albeit on a php-nuke based forum. I would like to help implement the same type of feed on a snitz forum that I have ended up trying to provide some assistance on.
Acne |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 17 December 2009 : 08:38:55
|
ok, should be fairly simple to mod one of the existing rss ods to do that. I should have some free time over christmas so I will sort one out for you |
|
|
acnescar
Starting Member
United Kingdom
7 Posts |
Posted - 17 December 2009 : 08:48:16
|
Wow really? Thanks very much, thats incredible. dunno what to say
Acne |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
acnescar
Starting Member
United Kingdom
7 Posts |
Posted - 19 December 2009 : 14:30:01
|
wow that looks exactly like what I asked for. How cool is that?
Many thanks.
Acne |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 19 December 2009 : 15:29:15
|
Way to go Huw!
The time stamp for each post are all set to 7:00pm. Intended? Mistake? |
Support Snitz Forums
|
Edited by - Davio on 19 December 2009 15:29:28 |
|
|
acnescar
Starting Member
United Kingdom
7 Posts |
Posted - 19 December 2009 : 17:26:47
|
i see everything posted on my rss reader showing the same time as the forum here. which is about 7hrs different to my local time, is that what you mean?
oh how i love seeing all the forum posts on my rss reader as they come through...
Acne
edit actually its 5 hrs for me. |
Edited by - acnescar on 19 December 2009 17:28:04 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 20 December 2009 : 04:40:18
|
time stamps al work fine for me, what browser/reader you using Davio ? |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 20 December 2009 : 05:03:13
|
try the feed now Davio, I have changed it to use an rfc-822 compliant date format so it should display in your own timezone now. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 20 December 2009 : 05:27:26
|
here is a copy of the file rssfeed I can not guarentee that this will work on anything other than an MS SQL database
you will need to set 2 values which are near the top of the file, below the copyright and includes,they are.
intResults = 25 TimeZoneOffset="-0500"
intResults is the number of posts to fetch. TimeZoneOffset should be set to the same as your forum time offset, for example here the offset is -5 so the TimeZoneOffset is "-0500", if yours was +3 TimeZoneOffset would be "+0300". |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 20 December 2009 : 05:30:13
|
I set up the feed so that it can be filtered by forum_category, but if you would prefer that it could be filtered by forums instead let me know (you can't have both I'm afraid) |
|
|
acnescar
Starting Member
United Kingdom
7 Posts |
Posted - 20 December 2009 : 05:46:59
|
It looks perfect now thank you so much. I'll direct our website tinkerer here now so he can find the file and resolve any queries he may have.
Again many thanks
Nigel |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 20 December 2009 : 07:58:03
|
Very nice Huw. |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 28 December 2009 : 15:40:40
|
quote: Originally posted by HuwR
here is a copy of the file rssfeed I can not guarentee that this will work on anything other than an MS SQL database
The following SQL works (so far, in limited testing) on Access and MS SQL Server 2005.
Correct me if I'm wrong, but wouldn't it just be the "TOP " sections that would need to be changed to make it work on MySQL? |
Edited by - AnonJr on 28 December 2009 15:49:40 |
|
|
Topic |
|