Welcome Guest [Log In] [Register]
Welcome to Mad Studios. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
MADReader
Topic Started: Jun 6 2008, 08:16 PM (237 Views)
Mr. Panda
Member Avatar
Lord of the Manor
I'm working on a small Python script that will browse to MAD's forums and fetch the latest topics, and report back to you. Sort of like this:

New Topics In:
Chat
Debate

--or--

No New Topics
I don't like printers.
Offline Profile Quote Post Goto Top
 
giggleguy
Demigod
So, an RSS feed?
Offline Profile Quote Post Goto Top
 
Mr. Panda
Member Avatar
Lord of the Manor
Yeah, pretty much.
I don't like printers.
Offline Profile Quote Post Goto Top
 
Ethan_odd
Member Avatar
Lord of the Manor
I'm interested.
Posted Image
Offline Profile Quote Post Goto Top
 
Mr. Panda
Member Avatar
Lord of the Manor
So far, I've got it to pull the most recent post dates from the site.

Next job: Write it to a file and save it. Next startup, compare forum scan results to saved file to check for changes.
I don't like printers.
Offline Profile Quote Post Goto Top
 
Ethan_odd
Member Avatar
Lord of the Manor
Keep goin dude!

Posted Image
Offline Profile Quote Post Goto Top
 
stormbreaker
Member Avatar
Master of His Domain
Mr. Panda
Jun 6 2008, 04:16 AM
Python

http://xkcd.com/353/

Be careful... ;)
BOOM DE YADA
Offline Profile Quote Post Goto Top
 
Mr. Panda
Member Avatar
Lord of the Manor
That's actually WHY I'm using Python.
I don't like printers.
Offline Profile Quote Post Goto Top
 
Mr. Panda
Member Avatar
Lord of the Manor
I've got it pulling Dates, Posters, and Topics. However, I'm receiving hell from, of all things, apostrophes. It just won't interpret them as apostrophes, but instead as "&#39 ;"

EDIT: Fixed.
I don't like printers.
Offline Profile Quote Post Goto Top
 
Mr. Panda
Member Avatar
Lord of the Manor
Click here to download MADReader v.01

It's nothing fancy, just a DOS prompt that pops up every time Windows starts up. Hopefully, I'll eventually add a nicer looking window and have it silently monitor the forums in the background and has a popup on new posts, or something.

Oh, this one just fetches the latest posts. It doesn't tell you if there are any new posts or not. That's for v.02
I don't like printers.
Offline Profile Quote Post Goto Top
 
Ethan_odd
Member Avatar
Lord of the Manor
Hell yeah.
Posted Image
Offline Profile Quote Post Goto Top
 
stormbreaker
Member Avatar
Master of His Domain
Ethan_odd
Jun 7 2008, 09:24 PM
Hell yeah.

You win the most pointless app award!

Congrats on expanding your programing horizon!
BOOM DE YADA
Offline Profile Quote Post Goto Top
 
Mr. Panda
Member Avatar
Lord of the Manor
Yay!
I don't like printers.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
ZetaBoards gives you all the tools to create a successful discussion community.
« Previous Topic · Games & Tech · Next Topic »
Add Reply