Reputation: 7543
I want to grab static data from different website (URL and elements name provided), what's the easiest way?
www.address/articles/grab-this
<html>
(...)
<article id="#article-121">
<h1>Header</h1>
<p>Contents</p>
</article>
(...)
</html>
index.php
/* Grab "#article-121" from www.address/articles/grab-this */
<article id="#article-121">
<h1>Header</h1>
<p>Contents</p>
</article>
/* Close the connection */
Upvotes: 1
Views: 763