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

On 10/01/2014 05:18 PM, Niklas Lindström wrote:
> Hi,
> On Wed, Oct 1, 2014 at 9:07 AM, ☮ elf Pavlik ☮
> < <>>
> 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=""
>     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

Hi Niklas,

Thanks for explanation! Could you imagine suggesting how to add rel="me"
in example below to email and github, without it breaking RDFa ?

  prefix="cco: foaf:"
<div about="" typeof="Person
  <h1 property="name">elf Pavlik</h1>
  <img property="image" src="" />
  <p property="description">#hacker / #elf - living strictly #moneyless
and #stateless already for over 5 years! #WorldPeaceGame #ZeroWaste</p>
  <h2>contact points</h2>
  <ul rel="contactPoint">

    <li about="" typeof="ContactPoint">
      <a href=""><span
property="name">email (smtp)</span></a>
    <li about="" typeof="ContactPoint">
      <a href=""><span



Received on Wednesday, 1 October 2014 16:31:27 UTC