View RSS Feed

v0id

  1. CherryPy(thon)

    by , 06-02-2008 at 09:00 PM
    I discussed the process of generating HTML-pages using templates in my previous blog entry, now we'll go a step further and let the output be used by a server, instead of manually getting the output, and save it as a HTML-file. For this purpose we'll use CherryPy, which is a web development framework for Python. It's not just a framework; it can also work as an server itself. That is primary advantage we're going to care about for now.

    The most important function we're going to use ...
    Categories
    Uncategorized
  2. RSS and Python

    by , 06-01-2008 at 09:00 PM
    I did recently work on a project where I had to parse a RSS feed for a given site. I'd earlier been using PyXML for this purpose, but I thought there must be some easier way to parse RSS, and it turned out I was right. I stumbled upon a Python module called Feedparser, which is a module specialized in parsing RSS and Atom feeds.

    Everything is centered around a single dictionary, which makes the parsed data really easy and intuitive to handle, because of the simple keys used by Feedparser. ...
    Categories
    Uncategorized
  3. Templating with Python

    by , 06-01-2008 at 09:00 PM
    There's lots of different scripting languages around nowadays aimed on web development, like PHP, Ruby, the .NETs, and so on. But it's also possible to do web development using some alternative languages, which commonly isn't known as languages for web development, like Python. And that's exactly what this blog entry is going to be about. I'll show you how to generate HTML-pages easily with Python and templates.

    I'm going to use much of the code I used in my previous blog entry, " ...
    Categories
    Uncategorized