2009/3/11 Mark Birbeck <mark.b...@webbackplane.com>:
matically)&doctype=XHTML+%2B+RDFa&fbd=1&group=0>
>
> Note however, that since HTML is supposed to ignore unknown
> attributes, the W3C validator should not really be rejecting RDFa
> attributes in HTML. But it does...as you've seen.
Yes,
I was happy to add the attributes,
change the doctype on some sites,
and leave it.
Problem is we have about 50 clients
who all have different templates,
that all include the same html display of a Vacancy.
Even if some of our clients were happy when we say "the W3C validation
will flag these attributes as errors, but please ignore that, your
site IS XHTML compliant"
there will be some who aren't
Also,
we seemingly have some templates which are still on HTML4
as such,
even the XHTML1.0 + RDFa DTD won't cut it.
So,
I'm implementing this a different way.
I'm having the existing page,
and I am creating a dedicated RDFA page
with a link
<link rel="rdfa" herf="/this/job.rdfa" />
on the original page,
and a link back (havent decided the rel for that)
Hopefully that will be sufficient.
Although I dont know who is going to look for that link tag,
and then scrape our data semantics accordingly.
Hmm...
the troubles of an untidy multi-site system.
At least its a first step towards the goal.
Cheers Mark.
MatthewRudy