-
Python Tips, Tricks and hacks
Posted on 2008-07-04 00:14:53
Just an essential Python reference http://www.siafoo.net/article/52.
-
gcode - Html scrapping with python (part 1)
Posted on 2008-05-09 02:38:15
On with my project, I have just finished my gcode parser class. After searching around a bit I found an awesome module called BeautifulSoup that allows you to navigate through the DOM in a very friendly and quick way, but since this is an Academic project I decided to only use it to a small extent and use regular expressions for the rest of the parsing.
I didn't manage to group named regular expressions as I wanted, which means I had to repeat some simple patterns but I hope to get it together for final version.
The code documentation is mainly in Portuguese because it's a college project, but it will eventually be released in English.
Download it here -
Google Code to RSS Feeds
Posted on 2008-05-06 20:37:49
As part of a class this semester, we are suposed to build a web-based project that can/must have bits of various technologies such as Javascript (Ajax), XML, Regular Expressions, XSLT, Web Services or Database integration.
I was looking into doing something usefull, so I decided to tackle a "problem" I'm having at the moment with Django: The lack of RSS feeds for open source projects listed in Google Code.
The goal is to create a RESTful web service so you can retrive "Changes" and "Issues" in RSS (and eventualy JSON) format for any project.
My plan is to have a simple interface in Django, and a Python cronjob running every hour or so checking the source. The projects table will start empty and new projects will be added automaticly when necessary. If possible I will try to add some way to check how many users are subscribed to a particular feed (still have to figure out how).
I will be detailing my experiences here, and sharing the source code along the way.

Google reader
del.icio.us
