Re: rst2html for partial HTML generation [Was: 2015: reStructuredText implementations in other programming languages?]

Marcelo Huerta <[email protected]>
Newsgroups gmane.text.docutils.user
Organization KilroySoft
Message-ID <[email protected]>
Roberto Alsina decía, en el mensaje "Re: [Docutils-users] rst2html for partial
HTML generation [Was: Re: 2015: reStructuredText implementations in other
programming languages?]" del 26/6/2015 9:34:16:

> In Nikola I just extract the body element using lxml and put it in the 
> template where I want it.

Maybe I'm being silly, but wasn't it possible to simply call publish_parts and
use the returned parts['html_body'], as indicated in
http://docutils.sourceforge.net/docs/api/publisher.html#publish-parts-details
? Tell me if I'm missing something.

-- 
   o-=< Marcelo >=-o


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.