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

Add open graph metadata #221

Open anselmbradford opened 11 years ago

anselmbradford commented 11 years ago

Details The page needs http://ogp.me/ metadata added to the site's pages in /app/views/.

To Fix Read the documentation for Open Graph and add the required meta data to the site's HTML.

monfresh commented 10 years ago

@anselmbradford What advantages does this provide? How does this relate to accessibility (the issue has that label)? This doesn't seem like a "must have" to me. If not, please close it.

anselmbradford commented 10 years ago

@monfresh It's like microdata—it's markup that adds structured meaning to the page. It is currently being consumed by Facebook, Google, and mixi (whatever that is).

monfresh commented 10 years ago

What is the advantage of having the data consumed by Facebook, Google, and mixi?

anselmbradford commented 10 years ago

Same as for microdata, it allows them to pull results from our interface into their search interfaces in structured ways.

monfresh commented 10 years ago

How is this different from the schema.org microdata that we already have? What does adding open graph microdata provide that schema.org doesn't, and is it beneficial for the type of website that Ohana Web Search is?

anselmbradford commented 9 years ago

It's just another way of exposing the search results to other search engines. In this case it's probably primarily beneficial to Facebook. As I understand it, if you share a page on Facebook that has Open Graph metadata, it can be displayed more intelligently. A simple example would be posting a link to a page that contains an image and having just the link URL appear as the post vs the link URL and an image and text pulled from the page. That's just an analogous example, because FB probably does that with images with or without OG, but it's that sort of thing. FB can be more intelligent with how URLs of ohana web search are shared and show up in searches. And Google does whatever they do with it too. It's complementary to Microdata, not a replacement. For example, if you look at the source on a yelp location you can see both (og: meta tags=open graph, and itemscope=microdata).

civicissuebot commented 9 years ago

Hello! This issue looks like it still needs help! It's been clicked on 10 times through the Civic Issue Finder! Can this issue be closed or does it still need some assistance?

If you wrote this issue, you can always update the labels for specifying tasks, add more info in the description to make it easier to contribute, or re-write the title to make more contributors interested in helping out. If you are an open source contributor, ask and see how you can help by commenting or check out more open issues in this repo at https://github.com/codeforamerica/ohana-web-search/issues.

Just doing a little :seedling: open source gardening :seedling: of Brigade projects! For more info/tools for creating civic issues, check out Got Issues. Thank you!

monfresh commented 9 years ago

@civicissuebot This issue still needs help. Thanks for checking in.