PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 12:12:14 AM


Login with username, password and session length


Pages: [1] 2 3   Go Down
  Print  
Author Topic: How to get forum topics/boards as RSS feeds  (Read 2497 times)
travisN000
Global Moderator
Hero Member
*****
Offline Offline

Posts: 1755


« on: September 02, 2010, 06:48:55 PM »

There have been a few times when I wished I could easily subscribe to a forum section or topic via RSS, but unfortunalty our forum software doesn't provide the requisite links by default.  Here is a quick tutorial on how to create the RSS url by hand:

When you browse to a forum thread you will see a url in your browser that looks similar to this:
Quote


We can get what we want by modifying the format slightly and adding some information to indicate that we want an RSS feed:
Quote
http://www.pclinuxos.com/forum/index.php?topic=59360.0;type=rss;action=.xml;limit=20


..notice that the topic number is the same; you may change or remove the limit number as needed (it defaults to 5).  You can also specify a different type of feed; supported formats include rss, rss2, atom, and rdf.


This techinique also works for subscribing to sections (boards) of the forum.  For example, say you are interesed in following all posts in the sandbox from your RSS client; the following URL is what you will find in your browser when looking at that section:
Quote


..if we modify it as we did above we will have a working URL for your favorite RSS reader:
Quote
http://www.pclinuxos.com/forum/index.php?board=4.0;type=rss;action=.xml;limit=50


To subscribe to entire categories (..the parent to individual boards), your browser url will likely look like the following (Help section):
Quote


..change it as above:
Quote
http://www.pclinuxos.com/forum/index.php?c=2;type=rss;action=.xml;limit=50



You can also subscribe to multiple catagories, or boards, or topics in a single feed.  This is accomplished by using comma seperated ID codes for the desired content.  For example, if I want a feed for posts from both Monthly Screenshots AND Artwork I would use the following rss url:
Quote
http://www.pclinuxos.com/forum/index.php?board=24.0,53.0;type=rss;action=.xml;limit=50




 Cool
Logged
musonio
Guest
« Reply #1 on: September 02, 2010, 07:31:00 PM »

This is awesome!
Thanks.

I will finally give some use to those plasmoids.

Done:

Logged
timeth
Hero Member
*****
Offline Offline

Posts: 788


Location: Japan, but I'm Aussie > G'day mate! See?


« Reply #2 on: September 02, 2010, 07:34:19 PM »

Great!  Shocked   Thanks Travis!  Grin
Logged

宜しくお願いします > Yoroshiku Onegaishimasu > I humbly and respectfully ask for your kindness.  |   My graphics blog
longtom
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 3224


Satellite Station Africa


« Reply #3 on: September 03, 2010, 05:15:04 AM »

Wonderful, Travis.  Thanks a stack! Cheesy
Logged

Regards longtom

PCLinuxOS LXDE 32bit
2.0 Celeron, 1263MB Ram,
Nvidia FX5200 Ultra,
SiS900 PCI Fast Ethernet
AndrzejL
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11990


Registered Linux User #490933


WWW
« Reply #4 on: July 17, 2011, 01:05:07 PM »

Just found it and it knocked my socks off Wink.

Andy
Logged

menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11986

┌∩┐(◕_◕)┌∩┐


« Reply #5 on: July 17, 2011, 02:49:08 PM »

Yup - I've been using this method for about a year or more now and I've got loads and loads of forum posts from way back and right upto - and including - this thread.

I then use luckyBackup to backup my Akregator folder each day, and weekly zip them up for storing both locally and online.

Very quick way to search for old posts - I think I've mentioned doing this in some other posts
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6882


I will never forget you, uhhh...


« Reply #6 on: September 23, 2011, 05:38:10 AM »

Has anyone tried to make a feed of the Package Suggest section. It's the one that I can't seem to get. I have General News and Announcements, Software Announcements, etc. but I always error with:

Code:
http://www.pclinuxos.com/forum/index.php?board=62.0;type=rss;action=.xml;limit=10
Logged

travisN000
Global Moderator
Hero Member
*****
Offline Offline

Posts: 1755


« Reply #7 on: September 24, 2011, 07:38:37 PM »

Has anyone tried to make a feed of the Package Suggest section. It's the one that I can't seem to get. I have General News and Announcements, Software Announcements, etc. but I always error with:

Code:
http://www.pclinuxos.com/forum/index.php?board=62.0;type=rss;action=.xml;limit=10


..seems to work as posted in firefox Huh
Logged
Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6882


I will never forget you, uhhh...


« Reply #8 on: September 24, 2011, 07:46:22 PM »

I'm not sure I quite understand, travisn000. I tried pasting the URI onto the Chromium address bar and only got the XML structure without a stylesheet.

My problem was adding the URI as a feed on a reader, i.e. Akregator.

As already mentioned, all other board=xx.x were accepted but it seems that Akregator is rejecting board=62.0.

Since I am probably the only one having this problem, it may be something on my local.

Regards.
Logged

Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 829


In theory, theory=practice, in practice ???


« Reply #9 on: September 24, 2011, 08:46:26 PM »

http://www.pclinuxos.com/forum/index.php?type=rss;action=.xml;limit=100

I use Sage in Firefox, which picked this up in feed discovery mode.
But, it only included 5 feeds at a time.   Adding   ;limit=100 picks
up all categories up to 100 messages.   Need to reconfigure
if I wanted only certain categories or certain topics I see.
Which can be in different feed item lines.  One thing at a time I guess. 

THX
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 829


In theory, theory=practice, in practice ???


« Reply #10 on: September 24, 2011, 09:13:56 PM »

Has anyone tried to make a feed of the Package Suggest section. It's the one that I can't seem to get. I have General News and Announcements, Software Announcements, etc. but I always error with:

Code:
http://www.pclinuxos.com/forum/index.php?board=62.0;type=rss;action=.xml;limit=10


Perhaps one has to be logged in and that section isn't available as a general RSS feed.
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6882


I will never forget you, uhhh...


« Reply #11 on: September 24, 2011, 09:43:16 PM »

The point is I don't really need a plugin in Firefox, which I don't really use often (I use Chromium) when I already have a feed reader (Akregator) on the background ... alerting me of any new feeds. I also have retrieve feeds from other RSS, e.g. DistroWatch's Latest Packages, GIMP Plugin Registry, etc. (just to name a few).

Whereas the other PCLinuxOS Forum feeds are OK, I am wondering why board=62,0 is getting an error?



Also, I checked and a visitor does not have to login to read the Packagers section.
Logged

Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 829


In theory, theory=practice, in practice ???


« Reply #12 on: September 24, 2011, 11:15:19 PM »


Whereas the other PCLinuxOS Forum feeds are OK, I am wondering why board=62,0 is getting an error?


I have used feeds, quite a few, and my first idea is if most feeds come thru
and the member feeds do not come thru, well there is a reason.  There's
no way to login to get them via RSS if login is req'd to get them without
RSS.   Just the nonmember feeds will come thru RSS, which is good or at least
how it's working presently.   Some areas aren't accessible without login,
RSS or not.   I think my logic will be confirmed regarding that.   Doesn't
really matter which reader one uses.

regards,

FF
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6882


I will never forget you, uhhh...


« Reply #13 on: September 24, 2011, 11:42:20 PM »


Whereas the other PCLinuxOS Forum feeds are OK, I am wondering why board=62,0 is getting an error?


I have used feeds, quite a few, and my first idea is if most feeds come thru
and the member feeds do not come thru, well there is a reason.  There's
no way to login to get them via RSS if login is req'd to get them without
RSS.   Just the nonmember feeds will come thru RSS, which is good or at least
how it's working presently.   Some areas aren't accessible without login,
RSS or not.   I think my logic will be confirmed regarding that.   Doesn't
really matter which reader one uses.

regards,

FF

Hi Ferdes Fideles,

I agree with you on your logic, and it is without a doubt that the reason behind this mystery is yet to be seen. There is a reason, and I just don't know it yet. I was hoping one of our site admins would give an explanation. So, really it is just a wait and see for me at this point.

One thing I did notice is that in pasting the URI on a browser's address bar, it looked to me that the server displays a well-structured XML, and the latest activity are indeed pulled. It might be Akregator; I'm not sure. I did get to add 9 selected board feeds so why not this particular one?

Waiting ... waiting ...
Logged

Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 829


In theory, theory=practice, in practice ???


« Reply #14 on: October 19, 2011, 01:58:15 PM »

It might be Akregator; I'm not sure. I did get to add 9 selected board feeds so why not this particular one?

Waiting ... waiting ...


http://www.pclinuxos.com/forum/index.php?board=62.0;type=rss;action=.xml;limit=100

The above line does not work in Sage in Firefox, although I can get
General News and also Software Announcement forums anytime.

FYI
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM