[uf-discuss] Problems parsing ufs

Mike Kaply microformats at kaply.com
Wed Jun 6 08:07:07 PDT 2007


Interesting. That's tricky. Basically what I do in Operator is look
for any DOM node with the class URL that is a child of the review.
Obviously I'm getting the one in the hcard/hcalendar. I'll have to
think about that.

Mike

On 6/6/07, Michael Smethurst <Michael.Smethurst at bbc.co.uk> wrote:
> Two problems I'm having at the moment (very related):
>
> - If I use a hReview uf where the review doesn't have a url of its own but
> does include a hCard which does have a url both tails and operator seem to
> suggest that the url for the review is that for the hCard
>
> - If I use an event uf and the event doesn't have a url of it's own but the
> contact does, again both tails and operator seem to suggest that the url of
> the event is that of the person
>
> Seems that the url of the event or the review is taken to be the first
> descendent a element with a class of url rather than the first descendent a
> element with a class of url which is not a descendent of an hCard which is a
> descendent of the review/event
>
>
> Does this make sense? What am I doing wrong?
>
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>


More information about the microformats-discuss mailing list