Page 1 of 1

[solved] News feed from forum

PostPosted: 23 Jul 2011, 21:58
by oln
For OpenDungeons we were thinking of fetching the news for the website from a specific sub-forum.
Using the link http://forum.freegamedev.net/feed.php?f=41 (Would probably want make a new sub-forum forum for this) seems to work, though it get's the last post rather than the first post of each topic. Also, it has the forum name in front of the topic title.

PHPBB seems to support this by specifying mode=news in the url according to http://www.phpbb.com/community/viewtopic.php?t=2029415, though, that doesn't work here. As it is a recent addition I guess the forums might not be the latest version? Or is it disabled?
Also, are there feed links on the forums anywhere?

Re: News feed from forum

PostPosted: 24 Jul 2011, 00:56
by svenskmand
qubodup you must know, your a feed guru :D

Re: News feed from forum

PostPosted: 24 Jul 2011, 22:40
by charlie
Sounds like a good idea. I'm sure we'll be able to sort it out for you.

Re: News feed from forum

PostPosted: 13 Aug 2011, 21:11
by oln
Bump. Any progress?

Re: News feed from forum

PostPosted: 26 Aug 2011, 12:38
by oln
After-upgrade bump. mode=news still doesn't work.

Re: News feed from forum

PostPosted: 27 Aug 2011, 00:05
by qubodup
Create a thread for news. Only post news to that thread. Remember to use a useful subject line for each post.

Each thread has a feed. For example: feed.php?f=41&t=1382

Is this an OK solution?

I would like to avoid even more sub-subforums.

PS: source: http://www.phpbb.com/community/viewtopi ... #p12348345

Re: News feed from forum

PostPosted: 27 Aug 2011, 21:49
by oln
That sort of defeats the point, but I guess it's better than nothing.
We wouldn't really need more sub-subforums, the administration one is basically what would be used.
Maybe we could merge some of the sub-forums instead?

Re: News feed from forum

PostPosted: 28 Aug 2011, 01:22
by qubodup
oln {l Wrote}:We wouldn't really need more sub-subforums, the administration one is basically what would be used.

I'm afraid we can't have per-thread feeds for all subforums. Only for a few selected ones that would be merged.

It would be possible to have a per-post feed and pipe that one through yahoo pipes for example though...

Maybe we could merge some of the sub-forums instead?

Sure, can the OD developers agree on subforums to be merged?

Re: News feed from forum

PostPosted: 28 Aug 2011, 11:08
by oln
Hm, yeah, seems like the feed thing doesn't take more than one parameter, so it's not really that useful then.

EDIT: Did some testing with a phpbb installation. mode=topics was what I was looking for and not mode=news. Though mode=topics seems to ignore the forum id (I don't know why they haven't made this possible), and just display new topics for the whole forum, so not much point bothering with it I suppose.

Re: News feed from forum

PostPosted: 28 Aug 2011, 12:37
by oln
http://www.phpbb.com/customise/db/mod/simple_syndication/
Seems to be able to do what we were looking for.

EDIT: Seems like accessing outside urls in php-scripts on sf is blocked, so I guess it won't work anyhow.