<div class="vevent"><p class="description">Wednesday, Sep 16 2009<br /> <span class="location">Hot Springs, Arkansas</span><br /> 9:00 PM </p> </div>
Yeah, all the same format. So far I've got:
(.*?)(<abbr.*?class="dtstart".*?title="([^"]+)"[^>]*>)
<!-- $3 --> $1$2
Right, the PubDate is useless. That's the date/time that the event was added. I need to order it by the date which is in the Desciption bit. Which is the date of the event. But oh yeah, it's in that dtstart thing..
I'll have a proper check when I'm not on my phone, I think the second option might be a goer if I can furrow my brow deep enough to understand it. CHEERS PETER.
tag or the dt start one. This will the events in chronological order of when things are happening, not the prder they were published in which I'm not interested in.
^<div .*?class="vevent"[^>]*>\s*<p .*?class="description"[^>]*>\s*\S+ (\S+) (\S+) (\S+)<br />.*$
Ooo yay! Got it working now. I apologise, the pubdate it seems was the same as the event date. Which doesn't make any sense but does mean it will work.
Thanks Pete, you're a star.