< Previous
Innovation Is The Sincerest Form Of Flattery >

: I heard from a guy who might want to use NewsBruiser on a Windows server, so I investigated the possibility. It's surprisingly portable, considering I never gave the idea a thought until a couple days ago. There are only three problems I can find:

  1. NewsBruiser uses the Unix-specific crypt module to encrypt passwords. Fortunately, there is a pure Python implementation. This is also good because crypt isn't included with the default Python package on Unix, so bundling my own crypt will increase portability on Unix.
  2. NewsBruiser uses the Unix-specific fcntl module to lock the list of pending index updates. On Windows it can use a method in the msvcrt module instead.
  3. I made the assumption in a bunch of places that the path separator character is '/'; I need to go through and fix those, or NewsBruiser will generate horribly broken URLs and have problems finding files.

Pretty good, I think. I'm also thinking seriously about a paper topic. I think I'll probably go with demonstrating the simple web interface to the configuration file, focusing on the technique rather than the specific tool (I think the specifics of web apps differ too much for such a tool to be both understandable and generally applicable, but I could be wrong).

Filed under:

[Main] [Edit]

Unless otherwise noted, all content licensed by Leonard Richardson
under a Creative Commons License.