By Brian Lane, on August 29th, 2010%
Requires python-tiny package on Fedora. Cleans up the HTML, preventing broken elements from spilling over into adjacent postings. Code was lifted from feedparser.py and dropped into a plugin for rawdog since I couldn’t find an easy way to get mx.Tiny installed.
# rawdog plugin to tidy up html output using python-tidy module
# Brian C. Lane <bcl@brianlane.com>
#
from tidy . . . → Read More: tidy_html plugin for rawdog
By Brian Lane, on April 17th, 2010%
Tonight I finished adding delete handlers and a delete confirmation dialog to hms. This is probably the state that the code will be in for my LFNW presentation . . . → Read More: Home Media Server Updates
By Brian Lane, on February 7th, 2010%
Newseum archives the front pages of of over 500 newspapers from all around the world. If you know the ID of the papers you want to see you can use this simple Python program to download the jpg of the papers’ front page to your local system.
Edit the CITIES list to set the IDs of the . . . → Read More: Newseum Page Grabber Script
By Brian Lane, on January 10th, 2010%
I’m working on an application to manage my streaming media for my Roku player using sqlite3 and Python for everything. One thing I’ve learned over the years is that your SQL schema always changes. Once your code is in production you always have something you need to change about it, whether it’s adding a new column, . . . → Read More: Simple SQL Schema Migration
By Brian Lane, on December 20th, 2009%
Ever since I switched from Dish Network to a Roku player a few months ago I have had a couple of things I wanted my player to be able to do. The ability to categorize my Netflix queue is at the top of my list and it would be very cool to be able to play . . . → Read More: Streaming Local Video With Your Roku