Feature Request: RSS Feed for forum

Post here if you have questions about how to use this board.
Post Reply
8wheels
Posts: 5
Joined: Tue Jan 31, 2006 4:03 am

Feature Request: RSS Feed for forum

Post by 8wheels » Wed Feb 08, 2006 4:47 am

Reinhard, since you're not code-averse, here's a challenge fer ya - an RSS feed for the forum.

Devon Technologies (*great* products, BTW) uses phpBB as well and after I whined about the need for a feed, they figured out how to do it.

I originally found it in the phpBB docs, and from what I understand it wasn't that hard to do.

Here's the way their feed looks:
feed://www.devon-technologies.com/phpBB2/rdf.p ... chars=1000

I have no affiliation with them other than being a *really* happy customer.

Extra points for a feed for *each* forum area!

User avatar
reinhard
Site Admin
Posts: 5806
Joined: Tue Apr 12, 2005 7:38 pm
Location: Cambridge, MA
Contact:

Post by reinhard » Wed Feb 08, 2006 3:08 pm

8wheels,

I've been thinking about this for a while and agree that it would be a cool thing to add and it doesn't look too tricky. I guess I was just waiting for someone to actually want it (there's something very sad about an unconsumed rss feed) -- so thanks for the nudge. I'll try to get it done this week and I'll post the this thread with details.

Reinhard
Last edited by reinhard on Wed Feb 08, 2006 3:59 pm, edited 1 time in total.

8wheels
Posts: 5
Joined: Tue Jan 31, 2006 4:03 am

Post by 8wheels » Wed Feb 08, 2006 3:57 pm

reinhard wrote:(theres something very sad about an unconsumed rss feed)
:)

You da man.

I need another feed to add to my +-400 like a sledgehammer bash in the head, but the paradigm-hacking perspective you folks have is so complimentary to my own that the EDS feed will go in the top of my priority queue.

Shuggin's going really well and I owe the board a proper intro.

-Chuck

User avatar
reinhard
Site Admin
Posts: 5806
Joined: Tue Apr 12, 2005 7:38 pm
Location: Cambridge, MA
Contact:

Post by reinhard » Fri Feb 10, 2006 4:38 pm

It works!

feed://everydaysystems.com/bb/rss.php

Wow, that *was* easy...

Working on the "extra points" you mentioned... all those daily checkins are probably not rss-worthy...

Reinhard

User avatar
reinhard
Site Admin
Posts: 5806
Joined: Tue Apr 12, 2005 7:38 pm
Location: Cambridge, MA
Contact:

Post by reinhard » Fri Feb 10, 2006 4:48 pm

OK, you can conrol the target forums via url parameters. I should probably make some kind of wrapper around this, but I don't want to jump in until I figure out what the standard best practice is.

Nosdiet "general discussion" only:

feed://everydaysystems.com/bb/rss.php?f=3

Shovelglove only:

feed://everydaysystems.com/bb/rss.php?f=4

Urbanranger only:

feed://everydaysystems.com/bb/rss.php?f=5

Everydaysystems only:

feed://everydaysystems.com/bb/rss.php?f=6

There doesn't seem to be a way to specify multiple forums that I can see, without modding the mod (which I may do, but not today).

Thanks again for the nudge, and let me know if you have any more suggestions.

Reinhard

8wheels
Posts: 5
Joined: Tue Jan 31, 2006 4:03 am

Post by 8wheels » Sat Feb 11, 2006 2:36 am

reinhard wrote:It works!
You bet it does!
Yousa HOSS!

...now...if you want to tweak just a bit, consider *really* shortening or eliminating the pre-identifier on each headline.

I use NetNewsWire in the three vertical pane view, and because the pretext is so long, I can't see the title of the post unless I resize the column.

So instead of:
Shovelglove General Discussion :: RE: I want a 14 minute sand timer

You could do just:
EDS::Shovelglove:: RE: I want a 14 minute sand timer
Or, just:
RE: I want a 14 minute sand timer

You get the idea.

THANK you, Reinhard, for the outstanding 'underpromise&overdeliver' delivery!

Now I *really* owe a check-in and a blog post about EDS::Shovelglove to my 20 readers! :)

User avatar
gratefuldeb67
Posts: 6172
Joined: Thu Apr 21, 2005 9:26 pm
Location: NY

Post by gratefuldeb67 » Sat Feb 11, 2006 3:15 am

20 readers! :lol:
LOL...

What's RSS?
(Duuuuhhhh....)

You computer guys are so cute with all your computerese! LOL...

Peace,
8) Deb

User avatar
reinhard
Site Admin
Posts: 5806
Joined: Tue Apr 12, 2005 7:38 pm
Location: Cambridge, MA
Contact:

Post by reinhard » Mon Feb 13, 2006 3:52 pm

OK, I eliminated the forum identifier.

If you'd prefer something more specific but still concise, let me know and I'll mess around with it some more, this was the easiest thing to do.

Deb -- RSS stands for "Really Simple Syndication." It's a way to redistribute articles or posts from one site all over the place.

http://www.webreference.com/authoring/l ... rss/intro/

Reinhard

P.S. Any interest in a 21st reader? Feel free to post the url.

ezuk
Posts: 20
Joined: Sun Dec 28, 2008 10:55 am

Post by ezuk » Sun Dec 28, 2008 11:03 am

reinhard wrote:OK, I eliminated the forum identifier.

If you'd prefer something more specific but still concise, let me know and I'll mess around with it some more, this was the easiest thing to do.
Ah!

I've added the ShovelGlove URL above to my reader and simply could not figure out why I'm not getting only ShovelGlove-related stuff.

Yes, I feel it would be wonderful if I could have a ShovelGlove-only feed. If that's not too difficult for you to create. :)

Thank you!

User avatar
reinhard
Site Admin
Posts: 5806
Joined: Tue Apr 12, 2005 7:38 pm
Location: Cambridge, MA
Contact:

Post by reinhard » Mon Dec 29, 2008 10:05 pm

Thanks for bringing this to my attention, ezuk. It should limit by forum identifier, but wasn't anymore (just fixed it).

I think it stopped working because the script was using some antiquated php to get the url parameters which the new php install was ignoring.

Nosdiet "general discussion" only:

feed://everydaysystems.com/bb/rss.php?f=3

Shovelglove only:

feed://everydaysystems.com/bb/rss.php?f=4

Urbanranger only:

feed://everydaysystems.com/bb/rss.php?f=5

Everydaysystems only:

feed://everydaysystems.com/bb/rss.php?f=6

Looking at the source I noticed that you can also set some other options in the url

c=15 (count = 15, or whatever)

t=1 (only get new "topics" as opposed to all replies)

Here's a url that combines all the parameters:

feed://everydaysystems.com/bb/rss.php?f=4&t=1&c=3

Reinhard
Last edited by reinhard on Tue Dec 30, 2008 3:05 pm, edited 1 time in total.

ezuk
Posts: 20
Joined: Sun Dec 28, 2008 10:55 am

Post by ezuk » Mon Dec 29, 2008 11:34 pm

reinhard wrote:Thanks for bringing this to my attention, ezuk. It should limit by forum identifier, but wasn't anymore (just fixed it).

Here's a url that combines all the parameters:

feed://everydaysystems.com/bb/rss.php?f=4&t=1&c=3

Reinhard
Awesome! Thank you so much! I've subscribed :)

Post Reply