views:

675

answers:

3

Hi,

Can somebody recommend a simple html parsing library, written in as3 for a flex project?

Thanks,

Nava

A: 

Hi Nava. If Google is unable to locate such a parsing library for you, then you may have to offload HTML parsing to an external application. If you are using PHP, then I highly recommend Simple HTML DOM. If you are using Ruby, then I recommend hpricot.

Parsing on the clint-side is an interesting idea, since parsing is often computationally intensive.

jkndrkn
hpricot points to the same link as Simple HTML DOM.
Nava Carmon
Sorry about that. Fixed: http://github.com/whymirror/hpricot
jkndrkn
A: 

If you need to parse an html file which essentially is a xml file you could use ascorelib which is an opensource actionscript library. Examples of using he library are found here http://code.google.com/p/as3corelib/wiki/Resources

AndrewB
An xml parser would fail on most real world HTMLs.
bug-a-lot
+4  A: 

Best one and specified for HTML and CSS is Cross-browser compliant HTML/CSS rendering engine written in ActionScript, open source

Wraper

http://code.google.com/p/htmlwrapper/

Thay have Word Press

Tutorials, AS3, Flex MXML samples =)


BTW thare is cool AS2 wraper http://code.google.com/p/flashml/

Blender
Looks interesting.
bug-a-lot