title: PHP - Simple HTML DOM Parser : content of <meta property=“og:description”
body: <p>I'm trying to get the content of the meta tag "og:description" with the php code</p>
  
  <pre><code>if ($html-&gt;find('meta[property="og:description"]')!==null) 
  {
  
      $post-&gt;excerpt = $html-&gt;find('meta[property="og:description"]')-&gt;content;   
  
  } else {
  
    $post-&gt;excerpt = '';
  
  }
  </code></pre>
  
  <p>The output is just: </p>
  
  <pre><code>["excerpt"]=&gt; NULL
  </code></pre>
  
  <p>What I'm doing wrong ?</p>