[wellylug] How to I strip HTML tags via the cmd line?

Damon Lynch damon at dev-zone.org
Fri Jun 21 09:27:42 NZST 2002


Thanks that's cool.  I did that and it worked just fine.

Actually I have wanted it to be able to take a large web page full of
text, stick it in OpenOffice, format it nicely, and produce a PDF for
offline reading and distribution.   OpenOffice doesn't open XHTML in the
same way it does HTML.

Damon

On Thu, 2002-06-20 at 23:25, Richard Hector wrote: On Thu, 2002-06-20 at
17:00, Damon Lynch wrote:
> I'm sure there's a way, but what is it? :-)

I'm sure there are many ways :-)

As a totally different option from what others have suggested, you could
look at

lynx -dump

It dumps the formatted output, which being lynx is text. It might add
bold and stuff though, I'm not sure.

It all depends of course on what you want it for.

Richard



  .-.   Wellington
  /V\   Linux
// \\  Users       
/(   )\ Group
^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

-- 
Damon Lynch
Dev-Zone Program Officer
http://www.dev-zone.org     Jabber Messaging: damonlynch at jabber.com
Tel: +64 4 496 9597         Yahoo Messaging:  damonlynch at yahoo.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/0XFolB/TM
---------------------------------------------------------------------~->

  .-.   Wellington
  /V\   Linux
 // \\  Users       
/(   )\ Group
 ^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
  

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the wellylug mailing list