Esempio n. 1
0
EOD;
$output .= <<<EOD
<div id="container">
<div id="response">
<pre>
EOD;
$output .= print_r($queryResponse, true);
$output .= <<<EOD
</pre>
</div>
<div id="xml">
<h3>XML tree</h3>
<p>If you need to refine your xpath, just copy the xml below and refactor your xpath.</p>
EOD;
$output .= '<textarea  cols="100" rows="10">';
$output .= print_r($scraper->getPageXML(), true);
$output .= '</textarea>';
$output .= <<<EOD
</div>
<div style="clear:both;"></div>
</div>
<div class="row">
<div class="col-sm-1">
</div>

<br />
<div class="col-sm-1">
<button type="button" class="btn btn-warning"><a href="#top">Back to top</a></button>
</div>
<div class="col-sm-10">
</div>