Thanks Michael,<div>I will digg the wp_remote_get() API.<br><br><div class="gmail_quote">On Sat, Aug 27, 2011 at 8:22 PM, Michael Fields <span dir="ltr">&lt;<a href="mailto:michael@mfields.org">michael@mfields.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">You might want to look into wp_remote_get()<br>
<br>
<a href="http://codex.wordpress.org/Function_API/wp_remote_get" target="_blank">http://codex.wordpress.org/Function_API/wp_remote_get</a><br>
<br>
It&#39;s the only way I write remote requests for WordPress extensions.<br>
<div><div></div><div class="h5"><br>
On Aug 27, 2011, at 8:16 AM, Qamar Ashraf wrote:<br>
<br>
&gt; Hello,<br>
&gt; I have integrated a &quot;Theme Reference&quot; page to provide some useful information about my framework. I am going to load remote data by reading RSS Feed. Here is the code logic,<br>
&gt;<br>
&gt; function get_chip_life_feed( $feed_url ) {<br>
&gt;     $content = file_get_contents( $feed_url );<br>
&gt;     $feed = new SimpleXmlElement( $content );<br>
&gt;       return $feed;<br>
&gt; }<br>
&gt; $feed = get_chip_life_feed( &#39;<a href="http://www.tutorialchip.com/feed/chip-life-tutorials/" target="_blank">http://www.tutorialchip.com/feed/chip-life-tutorials/</a>&#39; );<br>
&gt;<br>
&gt; I have got following Warning after submitting the theme,<br>
&gt;<br>
&gt; WARNING: file_get_contents was found in the file tutorials.php possible file operations.<br>
&gt;<br>
&gt; Is it now allowed to load data via RSS ?<br>
&gt; So how can i load dynamic data without this ?<br>
&gt;<br>
&gt; Help is really appreciated.<br>
&gt;<br>
&gt; --<br>
&gt; Regards<br>
&gt; Qamar Ashraf<br>
&gt; Project Manager<br>
&gt; <a href="http://www.tutorialchip.com" target="_blank">www.tutorialchip.com</a><br>
&gt; <a href="http://www.freestockphotosclub.com" target="_blank">www.freestockphotosclub.com</a><br>
&gt; <a href="http://www.twunfollowapp.com" target="_blank">www.twunfollowapp.com</a><br>
&gt; @lifeobject1<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; theme-reviewers mailing list<br>
&gt; <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font color="#666666">Regards</font><div><font color="#666666">Qamar Ashraf</font></div><div><font color="#666666">Project Manager</font></div><div><font color="#666666"><a href="http://www.tutorialchip.com" target="_blank">www.tutorialchip.com</a></font></div>
<div><font color="#666666"><a href="http://www.freestockphotosclub.com" target="_blank">www.freestockphotosclub.com</a></font></div><div><a href="http://www.twunfollowapp.com" target="_blank">www.twunfollowapp.com</a></div>
<div><font color="#666666">@lifeobject1</font></div><br>
</div>