Commons Feed Parser has a head start on you. It's still in the sandbox, 
but looks like it will suffice for your purposes:

http://commons.apache.org/sandbox/feedparser/apidocs/index.html


Taco Fleur wrote:
> Hmm, no...
> I know how to get rid of tags, I need to convert HTML entities (i.e. 
> ™) to its text equivalent, i.e. (tm)
>  
> And this is only one example which I could easily create a regex for, 
> I'm after a tried and tested method or tag.
>  
> Thanks.
>  
> On 8/24/07, *Steve Onnis* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     could do something likt
>      
>     plaintext = REReplaceNoCase(html, "<[^>]*>", "")
>     plaintext = Replace(plaintext, Chr(9), "", "ALL")
>      
>     get rid of all the tags and tabs
>      
>     a start maybe?
>
>     ------------------------------------------------------------------------
>     *From:* [email protected]
>     <mailto:[email protected]> [mailto:
>     [email protected] <mailto:[email protected]>] *On
>     Behalf Of *Taco Fleur
>     *Sent:* Friday, 24 August 2007 2:51 PM
>     *To:* [email protected] <mailto:[email protected]>
>     *Subject:* [cfaussie] Re: Convert HTML entity to text
>
>      
>     correct
>
>     On 8/24/07, *Steve Onnis* <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
>
>         As in a html page to plain text?
>
>         
> ------------------------------------------------------------------------
>         *From:* [email protected]
>         <mailto:[email protected]> [mailto:
>         [email protected] <mailto:[email protected]>]
>         *On Behalf Of *Taco Fleur
>         *Sent:* Friday, 24 August 2007 2:47 PM
>         *To:* [email protected] <mailto:[email protected]>
>         *Subject:* [cfaussie] Convert HTML entity to text
>
>          
>         Hi all,
>          
>         does anyone know of a quick way to convert HTML entities to
>         plain text?
>          
>         thanks
>
>         -- 
>         *** http://www.clickfind.com.au <http://www.clickfind.com.au/> 
>         The new Australian search engine for businesses, products and
>         services
>         *** http://brisbane-web-design.pacificfox.com.au
>         <http://brisbane-web-design.pacificfox.com.au/> blog
>         *** Virtual and Dedicated Servers with MS SQL from $250 a month
>         *** Virtual and Dedicated Servers with registered version of
>         ColdFusion from $350 a month
>         *** ColdFusion licenses at the lowest price
>
>
>         *** http://brisbane-web-design.pacificfox.com.au
>         <http://brisbane-web-design.pacificfox.com.au/> blog
>         *** Virtual and Dedicated Servers with MS SQL from $250 a month
>         *** Virtual and Dedicated Servers with registered version of
>         ColdFusion from $350 a month
>         *** ColdFusion licenses at the lowest price
>
>         The new Australian search engine for businesses, products and
>         services
>         *** http://brisbane-web-design.pacificfox.com.au blog
>         *** Virtual and Dedicated Servers with MS SQL from $250 a month
>         *** Virtual and Dedicated Servers with registered version of
>         ColdFusion from $350 a month
>         *** ColdFusion licenses at the lowest price
>         >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to