Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Anyway to modify what is shown through the rss feed?
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jan 4, 2016 - 6:39 pm

I would prefer to show updated topics versus posts, I currently have it set for 50 posts and have one topic that is filling almost half the feed with all the replies, is this possible?

Thank-you.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 4, 2016 - 6:54 pm

the rss feeds have sufficient hooks for you to do this... you just need to hook in and adjust the db query to get what you want...

on the road today so dont have the code handy to give you recommendation... If I can will see what I can do from the hotel tonight...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jan 4, 2016 - 7:03 pm

thanks MP

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2016 - 11:37 pm

took quick look last night but ran out of time... and seems more involved than I thought...  more info would be needed too...

like which rss feeds? all?  and where to link?  to last post in topic?

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2016 - 2:16 pm

yes, all the RSS feeds and just go to the last post

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2016 - 8:12 pm

after some further research, afraid this not really possible... well, it is with a good deal of coding - essentially replacing the current logic...  just not that feasible...

I thought it would be possible to filter the dataset return by the feeds, but there is not a hook for such action... and it appears that if so done, it might be difficult to do because the looping logic assumes a specific structure to the data...  basically it uses a List Post Class object but you want it to be a List Topic Class object.. and no easy way to move between the two...

so the easiest thing is to just filter the results at end... but essentially code up the entire current feed generation in the code for the filter and switch to list topic class...

I can try to walk you through it if you like... but I do want to think on it a bit more too...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626