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

Implemented [Suggestion] HTML5 microdata

Discussion in 'Closed Suggestions' started by NolF, Sep 13, 2010.

  1. NolF

    NolF Active Member

    So reading a recent article on HTML5 I saw that it doesn't look like it has been implemented here at xenForo. It looks to be very valuable and relatively simple to implement though perhaps quite laborious. I think that it is important to implemented now so no radical template changes will be required in the future.
     
    Brandon Sheley likes this.
  2. Forsaken

    Forsaken Well-Known Member

    Give an example of why it would be valuable?

    Microformats didn't get that large an adoption rate in the first place, and it remains to be seen if it'll happen with HTML5, though it would be nice. 
     
  3. NolF

    NolF Active Member

    Mostly for SEO. Google records microdata and is how it shows the stars when you search for a movie title and imdb comes up, in some discussion boards, it shows up the number of posts and when the last post was. This could be extended to member profile indicating registered date, location and the like. IT would be very good for attachments (if they can be tagged) or when an album like feature is added. It will also be excellent for CMS (even if it is a custom one) to include the author date etc...
     
  4. Floris

    Floris Guest

    XenForo already shows in Google with thread+ thread_data information.
    And if you view the source code here you can see the breadcrumb is also adapted already :)

    Good stuff.
     
  5. CyberAP

    CyberAP Well-Known Member

  6. Floris

    Floris Guest

    HTML5 isn't finalized either ;)

    Thankfully this software is being made with 'moving forward' in mind, rather than legacy legacy legacy.
     
  7. CyberAP

    CyberAP Well-Known Member

    Some things are finalized like <!DOCTYPE html>
     
  8. Kier

    Kier XenForo Developer Staff Member

    Pretty much what we have then?

    Where else do you think we could make use of microdata?
    HTML:
    <span class="crumbs">
    	<span class="crust" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    		<a href="http://xenforo.com/" class="crumb" rel="up" itemprop="url"><span itemprop="title">Home</span></a>
    		<span class="arrow"><span></span></span>
    	</span>
    	<span class="crust" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    		<a href="http://xenforo.com/community/" class="crumb" rel="up" itemprop="url"><span itemprop="title">Forums</span></a>
    		<span class="arrow"><span>&gt;</span></span>
    	</span>
    	<span class="crust" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    		<a href="http://xenforo.com/community/#xenforo-suggestions.17" class="crumb" rel="up" itemprop="url"><span itemprop="title">XenForo Suggestions</span></a>
    		<span class="arrow"><span>&gt;</span></span>
    	</span>
    	<span class="crust" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    		<a href="http://xenforo.com/community/forums/suggestions-bigger-features.9/" class="crumb" rel="up" itemprop="url"><span itemprop="title">Suggestions: Bigger Features</span></a>
    		<span class="arrow"><span>&gt;</span></span>
    	</span>
    </span>
     
    MichaelDance likes this.
  9. Kevin

    Kevin Well-Known Member

    Alfa1 and Brandon Sheley like this.
  10. Roco3D

    Roco3D Member

    Shouldn't those templates be updated to use shema.org item type instead?
     
  11. Jeremy

    Jeremy XenForo Moderator Staff Member

    There is already a suggestion for that. I suggest you like and comment there. (y)
     

Share This Page