Using Python for blogging

Michael Hudson mwh at python.net
Mon Oct 21 05:36:11 EDT 2002


hwlgw at hotmail.com (Will Stuyvesant) writes:

> Hello all !
> 
> reStructuredText (reST) looks cool!  So I was thinking about doing
> blogging (web logging, sort of keeping a diary at your ISP) with
> Python.  The existing blogging software I know of positively stinks
> IMHO.

Hey, I just had that idea!

> My ideal thing would be to be able to edit a file at home using reST. 
> Then I need some scripts to transform that into html and send it to my
> ISP.  For turning reST into html there are example scripts in the reST
> Tools directory.
> 
> I now have some scripts that work.  For every day there is a reST file
> with name e.g. 291002.txt for date 19 october 2002.  And it is in a
> directory with name 1002 (guess what:).  So you just edit the files
> using reST and you write scripts to turn that into html (could just
> use html.py in the reST Tools directory).
> 
> But!  The resulting html does not really look like I want, I mean I do
> not like the fonts and the sizes etc.  Unfortunately I do not know
> much about HTML so I have a question:  How to improve this? 
> Recommandations?  Use CSS?  Any pointers on that?

Use CSS.

Cheers,
M.

-- 
  For the record, the NTL telephone voicemaze jail is almost as
  well-planned. I dialled the status recording, which is information-
  rich in much the same way as 10 Angstroms is a long way...
      -- Dan Barlow vs NTL: http://ww.telent.net/diary/2002/6/#18.8983



More information about the Python-list mailing list