The Artima Developer Community
Sponsored Link

Python Buzz Forum
Another OPML server...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
Another OPML server... Posted: Nov 27, 2005 2:20 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: Another OPML server...
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

By day this last week I've been writing microcontent schemas... by night I've been hacking together some Python code to perform more or less what Dave Winer's OPML Community Server does, only on Linux, etc.

I've set the software up to run on opml.myelin.co.nz, so you can create a blog there by changing your community in your OPML Editor to opml.myelin.co.nz and registering, then blogging as usual. You should see your name appear in the yellow box on the front page once you have registered.

One bug at the moment is that it doesn't seem to let you upload binary files, so don't panic if you get stuck with the default header graphic. At the moment it looks like this is a problem with the OPML Editor - it's sending JPEGs as XML-RPC strings rather than as binary objects. I'll post a note here and on my OPML blog when this is fixed.

This was really an experiment to write a web app that works properly under SCGI. The Topic Exchange uses SCGI, but in a pretty messy way (forking once per connection and reloading all the Python code each time), because it started out as CGI and depends on certain global variables not being set on startup. Yuck... but I've never got around to fixing it up, so like that it stays. opmlbox (the current name for this community server clone thing), on the other hand, does everything "the right way", keeping everything in class variables. It also loads and compiles the whole app on startup, so there's no per-request compiling to do. This means I need to restart the server process to get it to recompile any scripts, but it makes it much quicker than the Topic Exchange code. It should be interesting to see how it scales, as I don't have much free memory on my server... looks like it only takes up 2-3 megs at the moment, so if it stays that way there shouldn't be any problem.

Comment

Read: Another OPML server...

Topic: Nowak's Second Observation Previous Topic   Next Topic Topic: Symbols

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use