nikhgupta/cli-poster — pull request #1 by cathalgarvey (2012-07-09 17:12:28+00:00)
Title: Replaced PHP Dependency with Python 3 Script

This mightn't be preferable to you, so feel free to refuse on principal!

I didn't want to install PHP, but wanted to make use of your script (thanks, by the way). So, I made a python 3 script using the html.entities dictionaries to mimic the functionality of php's function.

I haven't tested this extensively yet at all, but it seems to work. However, it helped me narrow down the cause of some of your "parse error. not well formed" errors, which I'll open a bug for.