cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Convert HTML from Curl

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 13 Nov 2003 08:41:22 +0100 (CET)

On Wed, 12 Nov 2003, Jared Ingersoll wrote:

> I was wondering if curl has the ability to convert HTML into plain text
> (without wrapping)?

curl can't convert HTML (or other contents) at all.

> I have some data in <table> tags that I want to format into a txt file
> without wrapping. I'm using lynx right now, but it's not working well.

lynx, links, w3c... there are several different text-based browsers you can
try. I bet there exists several other tools for this as well, try searching on
freshmeat etc, or just google around.

> If curl does not support this and there are other suggestions (on unix),
> feel free to email me off-list (as it may be off-topic) at jared -at- cswv
> -dot- com.

Getting a reply on-list is good too, as it allows others to fill in their
replies and it makes this answer get stored in the archives for future users'
benefit.

Good luck!

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
 [[ Do not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
Received on 2003-11-13