Rendering HTML

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Harlin Seritt

    #1

    Rendering HTML

    I am looking for a module that will render html to console but
    formatted much like one might see with Lynx. Is there such a module
    already out there for this?

    Thanks,

    Harlin

  • Fredrik Lundh

    #2
    Re: Rendering HTML

    Harlin Seritt wrote:
    [color=blue]
    >I am looking for a module that will render html to console but
    > formatted much like one might see with Lynx. Is there such a module
    > already out there for this?[/color]

    use htmllib+formatt er:



    </F>



    Comment

    • D H

      #3
      Re: Rendering HTML

      Harlin Seritt wrote:[color=blue]
      > I am looking for a module that will render html to console but
      > formatted much like one might see with Lynx. Is there such a module
      > already out there for this?[/color]


      Comment

      • Harlin Seritt

        #4
        Re: Rendering HTML

        Hi DH,

        Thanks for this blurb from ASPN. I am really looking, however, to do
        this on a Windows machine as opposed to a Unix one at this point. This
        will come in handy down the road I am sure.

        Thanks,

        Harlin Seritt

        Comment

        • Jorgen Grahn

          #5
          Re: Rendering HTML

          On 16 Sep 2005 22:56:06 -0700, Harlin Seritt <harlinseritt@y ahoo.com> wrote:[color=blue]
          > Hi DH,
          >
          > Thanks for this blurb from ASPN. I am really looking, however, to do[/color]


          [color=blue]
          > this on a Windows machine as opposed to a Unix one at this point. This
          > will come in handy down the road I am sure.[/color]

          If it's popen()ing tput that worries you, you can probably replace bold,
          underline and reset with the corresponding ANSI escape sequences. Or the
          empty string! Assuming you will print to a cmd.exe window, that is.

          /Jorgen

          --
          // Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu
          \X/ algonet.se> R'lyeh wgah'nagl fhtagn!

          Comment

          Working...