PDA

View Full Version : How to display custom forums or threads in the RSS Feed?


MonkYZ
01-25-2013, 01:23 AM
Hello everyone!

I'm in a search for some kind of a solution to my RSS Feed, something that doesn't have to include all my forums and threads... and i hoped you can help me with that.

What i'm looking for is that my /forum/external.php?type-rss2 to not show ALL the forums, but only the ones i will select (by id or something). Or maybe a way i could simply exclude some forums from the RSS...

Please let me know if you have or know about a solution for this!
Thanks in advance!

kh99
01-25-2013, 12:31 PM
You can specify a list of forumids as a parameter to external.php, like
/forum/external.php?type=rss2&forumids=1,2,3


but unfortunately there is no parameter to exclude a list (and no parameters for individual threads). Of course this doesn't do any good if you're trying to keep people from getting feeds to those forums (because they don't have to include the parameter). What you could do is create a plugin using hook external_start and set your own list of forumids.