codeforamerica / ohana-web-search

A mobile-friendly website for finding human and social services in your community
http://ohana-web-search-demo.herokuapp.com
BSD 3-Clause "New" or "Revised" License
69 stars 74 forks source link

Needs microdata based on Google's Organization schema #105

Open anselmbradford opened 11 years ago

anselmbradford commented 11 years ago

Schema is here: http://schema.org/Organization

anselmbradford commented 11 years ago

Initial contact microdata for details page has been added here: https://github.com/codeforamerica/human_services_finder/commit/9faaf3850692e7388d1eb8f0cc63f0107baa372d

monfresh commented 10 years ago

I'll start a list of missing markup (full list: http://www.w3.org/wiki/images/0/03/Services_for_schema.org_%28DRAFT_2013-06-27%29.pdf ):

monfresh commented 10 years ago

The current markup is not formatted properly. Each section needs to declare the proper schema in an itemscope first. Example:

<div itemscope itemtype="http://schema.org/Organization"> 
   <span itemprop="name">L'Amourita Pizza</span> 
   Located at 
   <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
      <span itemprop="streetAddress">123 Main St</span>,
      <span itemprop="addressLocality">Albuquerque</span>,
      <span itemprop="addressRegion">NM</span>.
   </div>
  <img itemprop="logo" src="http://www.example.com/logo.png" />
   Phone: <span itemprop="telephone">206-555-1234</span>
   <a href="http://pizza.example.com/" itemprop="url">http://pizza.example.com</a>
</div>  

https://support.google.com/webmasters/answer/146861

anselmbradford commented 10 years ago

https://github.com/codeforamerica/human_services_finder/pull/290 adds additional microdata.

Do kind and agency fit under any civic services schema / schema.org label?

Also, availableLanguage is attached to the Service, not the Organization as we have it. Can we move languages to the service? I can't remember if a decision had been made in that regard.