Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do you use microformats in your web projects? [closed]

Do you use microformats in your web projects?

If yes then why? If no then why?

If yes then for which things do you use?

Is there any alternate of microformats in HTML 5 ?

I haven't used microformats yet. Should i start to use now or not much need?

like image 876
Jitendra Vyas Avatar asked May 26 '10 03:05

Jitendra Vyas


People also ask

What are microformats what is their purpose?

Microformats are standards used to embed semantics and structured data in HTML, and provide an API to be used by social web applications, search engines, aggregators, and other tools.

Are microformats still a thing?

In a Twitter exchange, John Mueller, a Webmaster Trends Analyst at Google, confirmed that Microformats are still being supported by Google at this time: Yes, we still support them.

What is microformats in SEO?

What Are Microformats? Microformats are a schematic markup that you place on your website in order to improve organic search listings and lift overall website traffic. In other words, microformats are lines of HTML code that give search engines more information about the content found on your website.

What is microformat in website?

March 2020. Microformats (μF) are a set of defined HTML classes created to serve as consistent and descriptive metadata about an element, designating it as representing a certain type of data (such as contact information, geographic coordinates, events, blog posts, products, recipes, etc.).


2 Answers

I’ve used microformats fairly extensively. The benefits I see are

  • access to data for robots like Google Rich Snippets
  • access to data for users via µF-comsuming tools like H2VX
  • (some) data validation
  • more meaningful markup, which makes me happy

(minor) disadvantages are

  • time; hand-coding these things can be a pita. Either add programmatically (e.g. generate from data in CMS) or make a bunch of snippets. If doing via a CMS then it’s (for me) a no-brainer
  • require extra attention to UI to do well (best if exposed, but that often involves custom icon etc)

Microformats work fine as-is in HTML5. There are new HTML5 elements that map well to some µF functions, notably <time>, but be warned that current µF tools generally can’t cope with HTML5’s new elements (“Tool support” slide).

Your other alternatives are HTML5’s microdata, and RDFa. Microdata is pretty nice, but quite new so doesn’t have many tools available. You can represent microformats in microdata, and the HTML5 spec has microdata versions of vCard and vCal. There’s also HTML5’s data- attribute, but that’s for private use and doesn’t encode visible data, so is probably not what you’re after.

I perceive these three as a continuum from easy but specific (microformats) to hard but capable of anything (RDFa), with microdata (for me) occupying a sweet spot in the middle. Google Rich Snippets can read data in any of these, but user tools are still playing catchup. The main benefit of any of these is making your content more usable by exposing more of the information, and for me that’s generally worth the time.

For completeness I’ve used

  • hCard
  • hCalendar
  • hEvent
  • hAtom
  • hReview (once? :)
  • XFN
  • plus some rels like rel-license

EDIT: I’ve written these articles on HTML5Doctor with everything you need to know ;)

  • Extending HTML — Microformats
  • Extending HTML — Microdata

HTH

like image 62
Oli Studholme Avatar answered Nov 10 '22 22:11

Oli Studholme


You should ask Jeff Atwood.

like image 45
Igor Zevaka Avatar answered Nov 10 '22 23:11

Igor Zevaka