RSS: First post in each thread? [message #36527] |
Wed, 28 March 2007 14:14 |
WhiteFire
Messages: 16 Registered: March 2002
Karma: 0
|
Junior Member |
|
|
I want to have a news forum, and have each topic in the forum be it's own news item. I also want to allow for replies.
Retrieving topics through the rss interface generates XML that is not compatible with, well, anything. I need them in the basic=1 message format for the software I have.
Thus I have to use the message mode on the forum, but that of course gets all the replies, too.
Is there any way around this?
I want this so I can have a nice clean news feed on the front page of my MedaiWiki using SimplePie.
BTW, I wrote a authentication module for MediaWiki that authenticates vs. a FudForum database. I'm still cleaning it up, but it's functional. It's a nice tool to let you have a Wiki that your users don't need separate accounts to use.
|
|
|
Re: RSS: First post in each thread? [message #36528 is a reply to message #36527] |
Wed, 28 March 2007 14:45 |
WhiteFire
Messages: 16 Registered: March 2002
Karma: 0
|
Junior Member |
|
|
Stuck this in just before the "if ($FUD_OPT_2 & 33554432) {" clause to give a 'thread top' option that only listed the first messages in threads.
<?php if (isset($_GET['tt']))
{
$lmt .= ' AND t.root_msg_id=m.id ';
} ?>
|
|
|