rss

Started by Dakota, December 02, 2009, 06:31:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dakota

just out of curiosity does E Have an rss feed?

Vekseid

https://elliquiy.com/forums/index.php?action=.xml
To get the raw xml feed.

To grab an rss feed, append a type variable:
https://elliquiy.com/forums/index.php?action=.xml;type=rss
Type can be one of rss, rss2, rdf or atom.

To grab a specific board or boards,
https://elliquiy.com/forums/index.php?action=.xml;type=rss;board=3,6

Will grab the feed from the help board here and the introduction archives (comma delimited list, but it's ordered that way).

To change the number of posts gathered:
https://elliquiy.com/forums/index.php?action=.xml;type=rss;board=3;limit=255

Where limit is any number from 5 to 255

There are a few 'second actions' available.

https://elliquiy.com/forums/index.php?action=.xml;type=rss;board=3;sa=recent

Will pull the most recent posts, otherwise the board= feeds in display order

https://elliquiy.com/forums/index.php?action=.xml;type=rss;board=3;sa=news

Displays topics only. This is the feed used to feed twitter.

https://elliquiy.com/forums/index.php?action=.xml;type=rss;limit=25;sa=members

Displays the most recent 25 members

So, yes, if you have a board here you can syndicate it however you wish : )

Dakota

Sweet, thannks for the quick reply Veks

Cyclops

How is authentication handled, are all boards open to be read via RSS without a username/password combo?

(note, I don't think that is a big issue myself, but just wondering)
Remember the words of the High Lord Mhoram...  "It takes strength to judge the weakness of others, I am not so mighty."

Vekseid

Cookie based like everything else, in order to access private boards you need to log in.

Artema

And if I would like to subscribe to particular threads? Can it be done?
(Are there RSS parameters for this?)

Vekseid


Artema

Vekseid, tried it already, and it doesn't work, I receive lots of out-of-thread results. For example, with
https://elliquiy.com/forums/index.php?action=.xml;type=rss;topic=54353
I should only see the "rss" thread, but what I see is "Re: Quote author=URL?".

Vekseid

Gah, right, no topic filter apparently, sorry : /

Artema

Quote from: Vekseid on February 13, 2010, 05:44:30 AM
Gah, right, no topic filter apparently, sorry : /
Care to give me a look over the code so that I can fix it?
(Cut and paste into pastebin, for all I care).

Vekseid

Quote from: Artema on February 15, 2010, 08:03:41 PM
Care to give me a look over the code so that I can fix it?
(Cut and paste into pastebin, for all I care).

We are running Simple Machines - http://www.simplemachines.org/

Most of the edits I've made (aside from a couple security things) just plug in through the SSI. If you open up index.php, you'll see the action list, which will tell you what files the xml action calls, then can look through that.