Making HTML source "pretty"

Discussion in 'Perl Misc' started by x3v0-usenet@yahoo.com, Jan 31, 2005.

  1. Guest

    Is there a module that will make HTML source "pretty"?

    Basically, I want a module that does the same thing as CGI::pretty,
    except that I want to use it in a non-CGI environment. I would like to
    be able to pass in a string containing the html source and then receive
    the pretty version back.

    I looked all over cpan and googled up a storm, but found no module like
    this (which surprised me).

    Thanks for any help,
    Ken
     
    , Jan 31, 2005
    #1
    1. Advertising

  2. wrote in news:1107185481.309220.232290
    @f14g2000cwb.googlegroups.com:

    > Is there a module that will make HTML source "pretty"?
    >
    > Basically, I want a module that does the same thing as CGI::pretty,
    > except that I want to use it in a non-CGI environment. I would like to
    > be able to pass in a string containing the html source and then receive
    > the pretty version back.
    >
    > I looked all over cpan and googled up a storm, but found no module like
    > this (which surprised me).


    http://search.cpan.org/~petdance/HTML-Tidy-1.05_01/

    But, if you just want command line usage, I would suggest getting the tidy
    utility:

    http://tidy.sourceforge.net/

    Sinan
     
    A. Sinan Unur, Jan 31, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. micky

    making pretty serial code

    micky, Dec 6, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    464
    micky
    Dec 6, 2005
  2. Cloud Burst
    Replies:
    11
    Views:
    1,125
  3. David
    Replies:
    5
    Views:
    330
    bsneddon
    Jul 8, 2007
  4. Sam
    Replies:
    2
    Views:
    965
    Diez B. Roggisch
    Oct 17, 2009
  5. Kyrre Nygård

    Making all my Ruby files pretty

    Kyrre Nygård, Mar 18, 2008, in forum: Ruby
    Replies:
    0
    Views:
    111
    Kyrre Nygård
    Mar 18, 2008
Loading...

Share This Page