CamDawg Posted February 5, 2005 Author Share Posted February 5, 2005 I've added new flags for power users using the feed. num_posts=X This controls the number of items in the feed, up to a maximum of 30. If you omit this flag the feed will use the default value of 20. forum=X forum=X will limit the feed to one specific forum. X is the forum ID, which you can get by looking at the URL when browsing a forum; for example the HD Romance forum is forum 4 as the url is http://forums.gibberlings3.net/index.php?showforum=4. If you wish to follow multiple forums, you could set up a feed for each using this method. Omitting the forum=X flag will mean that the feed will collect items from all forums. show_author=X Use show_author=1 to include a poster's name in the title of the news item or 0 to omit it. This would make a title be something like "JPS: Progress reports". This is off by default. show_forumname=X Use show_forumname=1 to include the forum name in the title of the news item or 0 to omit it. This would make a title be something like "Progress reports (Haer'Dalis Romance)". This is on by default. Combining this with the show_author flag, above, would yield titles of the form "JPS: Progress reports (Haer'Dalis Romance)". To use these flags, add a ? to the end of rss.php and separate each item by an &. For example: http://forums.gibberlings3.net/rss.php?num_posts=10&show_forumname=0 This example would gather 10 items in the feed from the complete forum and omit the forum name from the title. If you don't specify a flag you'll get the default values. If you have any questions or have customization requests, please let me know. Link to comment
Ghreyfain Posted February 8, 2005 Share Posted February 8, 2005 Those new flags may have munged things up. I originally had the http://forums.gibberlings3.net/rss.php link on my My Yahoo! page, to show the news things and whatever. Then it started turning up every new post on the entire forum, and upon checking back it looks like that url is the default one for all posts. So I changed it to http://forums.gibberlings3.net/rss2.php to get the news posts again. Except I still get every post showing up there, with a four hour delay or so. Link to comment
CamDawg Posted February 8, 2005 Author Share Posted February 8, 2005 Whoops, I did mung up the IE Modding News feed; fixed. Incidentally rss has always been the all-forum feed while rss2 has always been the IE Modding News feed. Link to comment
Grim Squeaker Posted February 8, 2005 Share Posted February 8, 2005 As noted on IRC my G3 one is not working properly: http://forums.gibberlings3.net/rss.php?num...how_forumname=0 This RSS feed seems to randomly choose how many threads it'll show. Generally between 4 and 9. Link to comment
CamDawg Posted February 8, 2005 Author Share Posted February 8, 2005 Number of posts is the maximum number displayed, not a forced value. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.