[solved] News feed from forum

[solved] News feed from forum

Postby oln » 23 Jul 2011, 21:58

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?
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: News feed from forum

Postby svenskmand » 24 Jul 2011, 00:56

qubodup you must know, your a feed guru :D
Jamendo.com - The best music store on the net, uses CC licenses.
User avatar
svenskmand
OD Moderator
 
Posts: 1850
Joined: 09 Dec 2009, 00:07
Location: Denmark

Re: News feed from forum

Postby charlie » 24 Jul 2011, 22:40

Sounds like a good idea. I'm sure we'll be able to sort it out for you.
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: News feed from forum

Postby oln » 13 Aug 2011, 21:11

Bump. Any progress?
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: News feed from forum

Postby oln » 26 Aug 2011, 12:38

After-upgrade bump. mode=news still doesn't work.
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: News feed from forum

Postby qubodup » 27 Aug 2011, 00:05

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
User avatar
qubodup
Global Moderator
 
Posts: 1671
Joined: 08 Nov 2009, 22:52
Location: Berlin, Germany

Re: News feed from forum

Postby oln » 27 Aug 2011, 21:49

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?
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: News feed from forum

Postby qubodup » 28 Aug 2011, 01:22

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?
User avatar
qubodup
Global Moderator
 
Posts: 1671
Joined: 08 Nov 2009, 22:52
Location: Berlin, Germany

Re: News feed from forum

Postby oln » 28 Aug 2011, 11:08

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.
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: News feed from forum

Postby oln » 28 Aug 2011, 12:37

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.
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Who is online

Users browsing this forum: No registered users and 1 guest