1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Why is http://data-vocabulary.org/Person in the css as a messageUserInfo class attribute?

Discussion in 'XenForo Pre-Sales Questions' started by Brogan, Sep 23, 2010.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    I was just checking some of the css, as you do....and I noticed the messageUserInfo class has an attribute linked to this site: http://data-vocabulary.org/Person

    I don't think I've ever seen that before so I was wondering what purpose it served.

    Can Mike or Kier explain? Just me being nosey is all.
  2. Shadab

    Shadab Well-Known Member

    They are using Microdata format to semantically markup author (user) information:
    ie, your name, title and photo.

    <div class="messageUserInfo" itemscope itemtype="http://data-vocabulary.org/Person">
         <div class="messageUserBlock">
             <div class="avatarHolder">
                 <a class="avatar Av521m" itemprop="photo" data-avatarHtml="true">
                     <!-- Avatar -->
             <h3 class="userText">
                 <a class="username" itemprop="name">Brogan</a>
                 <em class="userTitle" itemprop="title">Well-Known Member</em>
    You can read more about it over here: People - Google Webmaster Central.
    (check the html source given under the 'Microdata' heading near the end of the page)
    Brogan likes this.

Share This Page