[Doc-SIG] Getting HTML without header/footer etc.?

David Goodger goodger at python.org
Thu Jun 12 11:22:45 EDT 2003


Dinu Gherman wrote:
> So, I'd like to process only individual snippets of text and would
> prefer not to see all the HTML headers and footers and what not
> being added to the output. Is there some way to achieve this?

There's this code: 
<http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/193890>.  I 
wouldn't write it that way, but it may do what you want.

Ollie Rutherfurd has some code at 
<http://docutils.sf.net/sandbox/oliverr/ht/> and an article at 
<http://www.rutherfurd.net/articles/rst-ht2html.html>.

Implementing a general solution is on the to-do list.  The problem is, 
everybody who wants this functionality wants it in a slightly different way.

-- David Goodger




More information about the Doc-SIG mailing list