Hi Paul,

There's an html parser with a word that should do exactly what you want already.

USE: html.parser.analyzer
"http://reddit.com"; scrape-html find-hrefs

I had a better html parser but I reverted the code by accident...

Doug


On Mar 8, 2010, at 12:56 PM, Paul Moore wrote:

> Is there a HTML parsing vocabulary for Factor? I guess I might be able
> to get away with read-xml at a pinch, but given the state of most HTML
> out there, I'd feel safer not assuming anything stronger than I have
> to... I searched the documentation but couldn't see anything
> immediately (plenty for writing, but not much for reading...)
> 
> I'm actually only trying to write a link checker, so I don't need a
> full-blown parser, just something relatively robust that will spot <a>
> elements. I suppose a regex would do, but I prefer to use a real
> parser if I can.
> 
> Thanks,
> Paul.
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to