title: How to parse og meta tags using httparty for rails 3
body: <p>I am trying to parse og meta tags using the HTTParty gem using this code:</p>
  
  <pre><code>link = http://www.usatoday.com/story/gameon/2013/01/08/nfl-jets-tony-sparano-fired/1817037/
  # link = http://news.yahoo.com/chicago-lottery-winners-death-ruled-homicide-181627271.html
  resp = HTTParty.get(link)
  ret_body = resp.body
  
  # title
    og_title = ret_body.match(/\&lt;[Mm][Ee][Tt][Aa] property\=\"og:title\"\ content\=\"(.*?)\"\/\&gt;/)
    og_title = og_title[1].to_s
  </code></pre>
  
  <p>The problem is that it worked on some sites (yahoo!) but not others (usa today)</p>