The Latest Blogging Articles
Many people asked me how they could add PHP code into their blog posts, for example to include news from a RSS feed into their posts with the help of the RSS parser CaRP. Well, I just figured it out - cost me about half an hour to find an answer on the WP forum, to find the right plugin and how to use it.
Just to show you that it really works: below you see the syndication of an article RSS feed from Ezinearticles.com - showing the 5 latest blogging articles.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.easywebtutorials.com/carpfree/bloggingarticles.php");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
?>
I´m going to post an update for the RSS syndication tutorial shortly to show you exactly how to do it. It will be available in the advanced version of the tutorial.






No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URI
Leave a comment
If you want to leave a feedback to this post or to some other user´s comment, simply fill out the form below.