HTMLは次のとおりです。
<article class="module_article featured">
<a title="Exclusive: Strictly's Vincent Simone welcomes baby boy" href="h/mother-and-baby/2013091914634/vincent-simone-baby-boy-born/"><h1 class="article_title">Exclusive: Strictly's Vincent Simone welcomes baby boy</h1></a> <a href="/healthandbeauty/mother-and-baby/2013091914634/vincent-simone-baby-boy-born/">
<img src="/imagenes/portadas/1-40-vincent-s.jpg">
</a>
<a href="/healthandbeauty/mother-and-baby/2013091914634/vincent-simone-baby-boy-born/">
<img src="/imagenes/portadas/1-40-vincent-s.jpg">
</a>
<p>HELLO! Online can exclusively reveal that Strictly Come Dancing professional Vincent...</p>
</article>
<article class="module_article featured">
<a title="Exclusive: Strictly's Vincent Simone welcomes baby boy" href="h/mother-and-baby/2013091914634/vincent-simone-baby-boy-born/"><h1 class="article_title">Exclusive: Strictly's Vincent Simone welcomes baby boy</h1></a> <a href="/healthandbeauty/mother-and-baby/2013091914634/vincent-simone-baby-boy-born/">
<img src="/imagenes/portadas/1-40-vincent-s.jpg">
</a>
<a href="/healthandbeauty/mother-and-baby/2013091914634/vincent-simone-baby-boy-born/">
<img src="/imagenes/portadas/1-40-vincent-s.jpg">
</a>
<p>HELLO! Online can exclusively reveal that Strictly Come Dancing professional Vincent...</p>
</article>
これが私のXPATHです:
$articleLinks = $finder->query('article[contains(@class,"module_article")]//@href');
ご覧のとおり、両方をつかんでいhrefs
ます。私は最初のものだけが必要です。