Re: Simple HTML -> Text converter
Steve Quirk <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <20060406101424.R55332@cartman> |
On Thu, 6 Apr 2006, Guido Neitzer wrote: > Hi. > > I'm looking for a simple class, that takes an HTML string, strips all HTML > tags and returns the plain text string. Is there something around, that can > be used easily from WO? > > Thanks, > cug You want it rendered or just remove the tags? To generate .txt files from our .html docs, we use "lynx -dump http://url > url.txt" Embedding it in an app would be kinda grody though, requiring some kind of pipe() call. - sq