title: Imdb Grabber Guidance
body: <p>need a bit of assistance.</p>
  
  <p>I have a Imdb grabber that grabs certain details from the site for example.</p>
  
  <p>This code </p>
  
  <pre><code>$ps = $dom-&gt;getElementsByTagName('p');
  for($i=0;$i&lt;$ps-&gt;length;$i++){
  $itemprop = $ps-&gt;item($i)-&gt;getAttribute("itemprop");
  if ($itemprop=="description"){
  $tmp = explode("See full summary",$ps-&gt;item($i)-&gt;textContent);
  $tmp = explode("See full synopsis",$tmp[0]);
  $res['summary'] = trim($tmp[0]);
  break;
  }
  }
  </code></pre>
  
  <p>Grabs the description from imdb.com from this</p>
  
  <pre><code>&lt;p itemprop="description"&gt; description would be here &lt;/p&gt;
  </code></pre>
  
  <p>So like the description how could i get the release date from this</p>
  
  <pre><code>&lt;span class="nobr"&gt;
  &lt;a href="/title/tt2404311/releaseinfo?ref_=tt_ov_inf " title="See all release dates"&gt; 13 September 2013&lt;meta itemprop="datePublished" content="2013-09-13"&gt;(USA)
  &lt;/a&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>Could some help me out please.</p>