Almost a useful app
Lacks lots of stuff, but the UI is pretty much done.
Stuff needed before publishing:
- Updating posts (PyDS and advogato)
- Deleting posts (PyDS and advogato)
- Posting new (advogato)
Stuff done:
- Account creation
- Account edition
- Post edition
- Posting new (PyDS)
And.... evil plugin code! (I will redo it someday, maybe):
#Here acctype is one of "pyds" or "advogato"
#Both are modules that define a class called Editor, #which inherits a QWidget
exec ("import "+acctype+" as blog")
self.Editor=blog.Properties(parent=self.Frame,name=str(account))
Of course, if an evil guy could redefine the list of plugins and insert an evil module into your PYTHONPATH, this would REALLY suck ;-)
alternatively:
blog = __import__(acctype)
Hey, that´s nice. I wonder where in python docs are those things hiding!