Hi,
I have an array called Arblocks, with 10 items. Each item contains
identical HTML, but with unique info embedded, as follows:
<dl>
<dt>
<span class="t-10x-ar" id="bold">1.</span>
<a href="http://link.com" target=_blank span
class=t-12x-ver id=bluejohn-b>LINK SUBJECT</a>
<dd>
<div class=t-12x-ar>Apples and pears - down the
stairs - are good for your diet<br>
<font color="#808080">Date and Time
here</font></div>
<a href="http://link.com" target=_blank
class=t-10x-ar id=red>Click here for more</a>
</dd>
</dl><Br>
The only bits I need to grab are: the first URL (link.com - without the
anchor and HTML, just the URL on its own) and the text between the
anchor ("LINK SUBJECT" in this example); the small "snippet" of text
("Apples and pears - down the stairs - are good for your diet" in this
example); and the "Date and Time here" line. These all need to be
dumped into separate vars.
I'm terrible at Parsing, FindNoCase etc - I can see the logic behind how
to do it, but whenever I try I get myself muddled up and confused. It
surely can't be that hard to do, can it?
If anyone can give me some pointers, or example-code, I'd be really,
really grateful. Hit a brick wall here...
Thanks
Will
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm