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"><<a href="mailto:michael@mfields.org">michael@mfields.org</a>></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'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>
> Hello,<br>
> I have integrated a "Theme Reference" 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>
><br>
> function get_chip_life_feed( $feed_url ) {<br>
> $content = file_get_contents( $feed_url );<br>
> $feed = new SimpleXmlElement( $content );<br>
> return $feed;<br>
> }<br>
> $feed = get_chip_life_feed( '<a href="http://www.tutorialchip.com/feed/chip-life-tutorials/" target="_blank">http://www.tutorialchip.com/feed/chip-life-tutorials/</a>' );<br>
><br>
> I have got following Warning after submitting the theme,<br>
><br>
> WARNING: file_get_contents was found in the file tutorials.php possible file operations.<br>
><br>
> Is it now allowed to load data via RSS ?<br>
> So how can i load dynamic data without this ?<br>
><br>
> Help is really appreciated.<br>
><br>
> --<br>
> Regards<br>
> Qamar Ashraf<br>
> Project Manager<br>
> <a href="http://www.tutorialchip.com" target="_blank">www.tutorialchip.com</a><br>
> <a href="http://www.freestockphotosclub.com" target="_blank">www.freestockphotosclub.com</a><br>
> <a href="http://www.twunfollowapp.com" target="_blank">www.twunfollowapp.com</a><br>
> @lifeobject1<br>
><br>
</div></div>> _______________________________________________<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>
<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>