Get a part of content from a url
<p>I don't know if you are able to do this, but...</p>

<p>Is there anyway to get a part of the content from a URL ?</p>

<p>Like if I have this:</p>

<pre><code>&lt;protected&gt;false&lt;/protected&gt;
&lt;followers_count&gt;6&lt;/followers_count&gt;
&lt;profile_background_color&gt;00afe0&lt;/profile_background_color&gt;
</code></pre>

<p>(The whole content is from <a href="http://twitter.com/users/show.xml?screen_name=SlogaNator" rel="nofollow">Twitter</a>)</p>

<p>But only want the <code>&lt;followers_count&gt;6&lt;/followers_count&gt;</code> part?</p>

<p>Somebody who know how to do this?<br />
(I hope you guys know what I mean by this)</p>

<p><br />
PS. Anything above is JUST an example
<br />
PSS. Not just gona use this for xml, etc <a href="https://graph.facebook.com/sloganator" rel="nofollow">this</a> format too (Which I don't know the name of)
<br /></p>

<p>Yes, I know that I could just use the <code>file_get_contents</code>-offset and maxlen thing, but the problem is, that I don't always know, where the part I'm looking for is.</p>
