ANN: Anandtech Forums RSS Feed (i.e. "Offline" Viewing)

Descartes

Lifer
Oct 10, 1999
13,968
2
0
I subscribe to many RSS feeds for all the websites/bloggers I read on a daily basis. I use Syndirella for my desktop aggregator because it's open source, thus free. I wanted the ability to view these forums in my aggregator, so I created a simple web application to do so. The link is:

http://cosgood.www2.dotnetplayground.com/rss.aspx?catid=n

Where n = the category id of the forum you want to read. For example, ATOT would be:

http://cosgood.www2.dotnetplayground.com/rss.aspx?catid=38

Those who don't know where/what the catid is probably won't care about an RSS feed anyway ;). Here is a screenshot of how I view the forums in my aggregator.

I know there have to be some RSS fans in here...
 

MichaelD

Lifer
Jan 16, 2001
31,528
3
76
What are the advantages to doing it your way as opposed to just using a regular Joe Average browser like IE?

For me, your aggreggrator would be a major AGGRAVATOR.

*edit*
Obviously, I'm clueless to your world of Linux/FREEBSD/Unix/Publix/etc.
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Originally posted by: MichaelD
What are the advantages to doing it your way as opposed to just using a regular Joe Average browser like IE?

For me, your aggreggrator would be a major AGGRAVATOR.

*edit*
Obviously, I'm clueless to your world of Linux/FREEBSD/Unix/Publix/etc.

I read about 30 blogs/sites on a daily basis. I couldn't possibly try to track updates to each one, so I simply hit F5 in my aggregator. I can track as many sites as I want (provided that they have an RSS feed) without having to open a single browser...
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Originally posted by: BingBongWongFooey
What are you using to parse the forums into rss?

A C# class library with a simple ASP.NET frontend that delegates the catid chosen to the class library. I use the following regular expression to extrapolate the topics:

< *a +href *= *\"(messageview[^\"]+)\" class *= *\"ftalternatingbarlinksmall\" *>([^>]+)< */ *a *>

Not really optimized, but it matched correctly in all my tests. I then iterate through all the matches in the HTML and emit the appropriate XML tags for the RSS feed...
 

MichaelD

Lifer
Jan 16, 2001
31,528
3
76
Originally posted by: Descartes
Originally posted by: MichaelD
What are the advantages to doing it your way as opposed to just using a regular Joe Average browser like IE?

For me, your aggreggrator would be a major AGGRAVATOR.

*edit*
Obviously, I'm clueless to your world of Linux/FREEBSD/Unix/Publix/etc.

I read about 30 blogs/sites on a daily basis. I couldn't possibly try to track updates to each one, so I simply hit F5 in my aggregator. I can track as many sites as I want (provided that they have an RSS feed) without having to open a single browser...

Oh. OK, thanks! :) That actually makes sense. So basically, it's an applet that goes out to multiple sites simultaneously and checks for updates, and displays the updated pages onscreen? Kind of like the "Check for updates-automatically" setting in IE, except this is on "a grand scale?"
 

MichaelD

Lifer
Jan 16, 2001
31,528
3
76
Originally posted by: Descartes
Originally posted by: BingBongWongFooey
What are you using to parse the forums into rss?

A C# class library with a simple ASP.NET frontend that delegates the catid chosen to the class library. I use the following regular expression to extrapolate the topics:

< *a +href *= *\"(messageview[^\"]+)\" class *= *\"ftalternatingbarlinksmall\" *>([^>]+)< */ *a *>

Not really optimized, but it matched correctly in all my tests. I then iterate through all the matches in the HTML and emit the appropriate XML tags for the RSS feed...

Hmm, I'm sure Notfred will be along shortly to tell you the folly of your "incorrect code."
rolleye.gif
He'll reduce to "C:update"
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Originally posted by: MichaelD
Originally posted by: Descartes
Originally posted by: MichaelD
What are the advantages to doing it your way as opposed to just using a regular Joe Average browser like IE?

For me, your aggreggrator would be a major AGGRAVATOR.

*edit*
Obviously, I'm clueless to your world of Linux/FREEBSD/Unix/Publix/etc.

I read about 30 blogs/sites on a daily basis. I couldn't possibly try to track updates to each one, so I simply hit F5 in my aggregator. I can track as many sites as I want (provided that they have an RSS feed) without having to open a single browser...

Oh. OK, thanks! :) That actually makes sense. So basically, it's an applet that goes out to multiple sites simultaneously and checks for updates, and displays the updated pages onscreen? Kind of like the "Check for updates-automatically" setting in IE, except this is on "a grand scale?"

Kinda. It doesn't really "check" for updates, it simply generates an XML document that conforms to the RSS standard from the HTML of each forum. It will render the RSS every time you access the page...
 

MichaelD

Lifer
Jan 16, 2001
31,528
3
76
Originally posted by: Descartes
Originally posted by: MichaelD
Originally posted by: Descartes
Originally posted by: MichaelD
What are the advantages to doing it your way as opposed to just using a regular Joe Average browser like IE?

For me, your aggreggrator would be a major AGGRAVATOR.

*edit*
Obviously, I'm clueless to your world of Linux/FREEBSD/Unix/Publix/etc.

I read about 30 blogs/sites on a daily basis. I couldn't possibly try to track updates to each one, so I simply hit F5 in my aggregator. I can track as many sites as I want (provided that they have an RSS feed) without having to open a single browser...

Oh. OK, thanks! :) That actually makes sense. So basically, it's an applet that goes out to multiple sites simultaneously and checks for updates, and displays the updated pages onscreen? Kind of like the "Check for updates-automatically" setting in IE, except this is on "a grand scale?"

Kinda. It doesn't really "check" for updates, it simply generates an XML document that conforms to the RSS standard from the HTML of each forum. It will render the RSS every time you access the page...


You have used up all available memory (64Kb) in my small brain. I give you a BSOD and I go to bed. ;) This one's over my head. :eek:
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Originally posted by: MichaelD
Originally posted by: Descartes
Originally posted by: MichaelD
Originally posted by: Descartes
Originally posted by: MichaelD
What are the advantages to doing it your way as opposed to just using a regular Joe Average browser like IE?

For me, your aggreggrator would be a major AGGRAVATOR.

*edit*
Obviously, I'm clueless to your world of Linux/FREEBSD/Unix/Publix/etc.

I read about 30 blogs/sites on a daily basis. I couldn't possibly try to track updates to each one, so I simply hit F5 in my aggregator. I can track as many sites as I want (provided that they have an RSS feed) without having to open a single browser...

Oh. OK, thanks! :) That actually makes sense. So basically, it's an applet that goes out to multiple sites simultaneously and checks for updates, and displays the updated pages onscreen? Kind of like the "Check for updates-automatically" setting in IE, except this is on "a grand scale?"

Kinda. It doesn't really "check" for updates, it simply generates an XML document that conforms to the RSS standard from the HTML of each forum. It will render the RSS every time you access the page...


You have used up all available memory (64Kb) in my small brain. I give you a BSOD and I go to bed. ;) This one's over my head. :eek:

I three-finger-salute you.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: Descartes
Originally posted by: BingBongWongFooey
What are you using to parse the forums into rss?

A C# class library with a simple ASP.NET frontend that delegates the catid chosen to the class library. I use the following regular expression to extrapolate the topics:

< *a +href *= *\"(messageview[^\"]+)\" class *= *\"ftalternatingbarlinksmall\" *>([^>]+)< */ *a *>

Not really optimized, but it matched correctly in all my tests. I then iterate through all the matches in the HTML and emit the appropriate XML tags for the RSS feed...

Cool, you did all the regex fiddling for me, now I can try doing some neat things with it :p (In theory anyways -- I probably won't. ;))

A little while back I made a short shell script (not even a script really) that counted the posters of topics due to someone complaining that 'certain people' posted too many topics.. lemme find it..

Yeah here we go: http://forums.anandtech.com/messageview.cfm?catid=38&threadid=1002012
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Originally posted by: BingBongWongFooey
Originally posted by: Descartes
Originally posted by: BingBongWongFooey
What are you using to parse the forums into rss?

A C# class library with a simple ASP.NET frontend that delegates the catid chosen to the class library. I use the following regular expression to extrapolate the topics:

< *a +href *= *\"(messageview[^\"]+)\" class *= *\"ftalternatingbarlinksmall\" *>([^>]+)< */ *a *>

Not really optimized, but it matched correctly in all my tests. I then iterate through all the matches in the HTML and emit the appropriate XML tags for the RSS feed...

Cool, you did all the regex fiddling for me, now I can try doing some neat things with it :p (In theory anyways -- I probably won't. ;))

A little while back I made a short shell script (not even a script really) that counted the posters of topics due to someone complaining that 'certain people' posted too many topics.. lemme find it..

Yeah here we go: http://forums.anandtech.com/messageview.cfm?catid=38&threadid=1002012

(for page in 1 2 3 4 5 6 7 8 9 10; do printf "GET /categories.cfm?catid=38&STARTPAGE=$page HTTP/1.0\n\n" | nc forums.anandtech.com 80 | grep ftalternatingbaron | grep ftcolumntext | grep middle | awk '{print $6}' | sed -e 's/class="ftcolumntext">//' | sed -e 's,</td>,,'; done) | sort

Sweet. It's nice to see netcat put to good use ;)
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Bump.

I've never bumped one of my own threads, but I thought maybe those who didn't see this last night might benefit.
 

Aves

Lifer
Feb 7, 2001
12,233
31
101
This is cool, I think FuseTalk 4 is going to have RSS support built in but that doesn't mean it will be enabled here.
 

shikhan

Senior member
Mar 15, 2001
834
0
71
Hey man, thanks alot! I've got it hooked into my trillian. The only question I have is how do I get it to refresh itself? THe only time it does is when I close trillian. Anyone know?:D
 

civad

Golden Member
May 30, 2001
1,397
0
0
THats interesting. Just added the ATOT feed to Evolution on my box.

Thnx :)
 

EvilYoda

Lifer
Apr 1, 2001
21,198
9
81
hehe, as if I didn't always have ATOT open anyway, now I can have Trillian tell me what's going on too! Thanks a lot Descartes, cool stuff.
 

BatmanNate

Lifer
Jul 12, 2000
12,444
2
81
Going to have to try the Trillian one, that looks sweet. Is it made by the Trillian people or a 3rd party?