Prettify HTML pages with BeautifulSoup

The story

Today I wrote some HTML page by hand (my new homepage).
I then used this script to make the HTML code nicer:

The script

This requires the BeautifulSoup module for python

#!/usr/bin/env python

import sys
from bs4 import BeautifulSoup

def bs_file(filename):
    with open(filename, 'r …
more ...

Wget in PowerShell v3

I've been envying my *nix brethren for having Wget for a long time. To get the contents of a web page or download a file using http I had to use workarounds that took more than one command - either creating a new System.Net.WebRequest or using a BITS module …

more ...

Making your pages more Facebook shareable

I'm working on a project involving Gallery 3, and one of my goals was tight Facebook integration. Today I've wanted to make sure that when someone shares a page from my gallery on Facebook, it'll show up OK.
After some digging around I found some interesting stuff:

Facebook's URL Linter …

more ...