HTML Conversion in python
kc.python at gmail.com
kc.python at gmail.com
Wed Apr 15 07:22:00 EDT 2009
On Apr 13, 5:43 pm, Aaron Watters <aaron.watt... at gmail.com> wrote:
> On Apr 13, 1:47 am, "venutaurus... at gmail.com"
>
> <venutaurus... at gmail.com> wrote:
> > Hello All,
> > Is there any library defined in Python which can convert a
> > given text file into a html page. Basically, I require functions for
> > creating tables or filling background colours for the html pages etc
> > instead of writing each and every tag in my script..
>
> > Thank you,
> > Venu Madhav.
>
> At the risk of being annoying, I just announced
> a suite of tools that includes a methodology for
> building complex pages by combining simple page fragments.
>
> Please have a look at the tutorial
> http://aaron.oirt.rutgers.edu/myapp/docs/W1100.tutorial
>
> This is the configuration source for the tutorial page
>
> {{use-url "comments"}}
> {{section title}} Tutorial {{/section}}
> {{section summary}}
> Walking through some examples will help you learn
> the organization and capabilities of the whiff
> package.
> {{/section}}
> {{section body}}
> These tutorials hope to introduce WHIFF by discussing a number
> of use cases, beginning with simple ones and progressing to
> examples
> with greater complexity.
> <p>
> (UNDER CONSTRUCTION)
> {{/section}}
> {{/use-url}}
>
> The page generated from this source is much
> more complex than that (take a look). The
> "comments" URL points to another WHIFF template
> which defines the scaffolding for all WHIFF
> documentation pages. The "comments" page in turn
> uses other fragments and scaffoldings...
>
> There are many other
> HTML generation approaches as indicated by the
> Wiki link previously. As far as I
> know the WHIFF approach is the most "compositional".
> Please correct me if I'm wrong.
>
> Thanks, -- Aaron Watters
>
> ===
> 'To join the Guild I had to kill somebody,
> cruelly, with no mercy, and without reason
> -- so I killed the dwarf, because she was
> really annoying anyway.'
> -- World of Warfare talk, overheard.
cheetah module will be very use full for yours requirement.
http://www.cheetahtemplate.org/index.html
Easily HTML pages can be develoed.
We will create a temples for each HTML pages and HTML pages will be
generated.
More information about the Python-list
mailing list