Re: RDFa + rel="me" (IndieAuth)

Hi,

On Wed, Oct 1, 2014 at 9:07 AM, ☮ elf Pavlik ☮ <
perpetual-tripper@wwelves.org> wrote:

> Howdy,
>
> Yesterday I enabled IndieAuth on my personal website, by simply adding
> rel="me" to couple of links[1]
>
> Since I use RDFa for text/html version of content it also 'broke' graph
> embedded on that page.
>
> As one can see in linked template[1], I use vocab="http://schema.org/"
> and rel="contactPoint" to mark my email, jabber, and various social
> accounts like facebook, twitter, g+, github etc.
>
> I wonder if someone has experience with using rel="me" together with
> RDFa? In general I don't understand how RDFa can handle
> rel="some_value_from_IANA_registry"[2].
>

To avoid this, you can add an empty vocab="" on/around the elements that
use rel for purposes outside of RDFa.

(Also note that you can use custom (non-URI) @rel values alongside RDFa in
HTML if you just add a @property on the same element, as defined in
extension 7 of RDFa 1.1 in HTML [1]. E.g. by adding property="author" or
similar next to rel="me".)

Cheers,
Niklas

[1]: http://www.w3.org/TR/rdfa-in-html/#additional-rdfa-processing-rules


I'll also make note of this possible issue on relevant wiki pages:
> * https://www.w3.org/wiki/Socialwg
> * http://indiewebcamp.com/IndieAuth
>
> Thanks!
>
> [1]
>
> https://github.com/elf-pavlik/webprofiled/commit/a1c50224fecca747f68b2329f887d9472109cedb
> [2] https://tools.ietf.org/html/rfc5988#section-6.2
>
>

Received on Wednesday, 1 October 2014 15:19:16 UTC