Hi Friends !!
After long tine, I am back for posting. Today I had a great experience.
Currently since from few weeks, I am working with Expression Engine. Now you thought that what is Expression Engine.
Now let me explain you in little brief. Expression Engine is one of the great CMS software like wordpress, Jommla, Drupal etc.
So when I was working with this, I faced one requirement like show latest posts of wordpress blog into Expression Engine site.
So I am wondering at that time that how it would be possible ? But I believe that in Web World, There is nothing impossible.
After long research, I found solution and this technique is works in any other CMS like joomla, Drupan etc. I explain here how it works.
We have to use SimplePie for this technoque. Now what is simplepie ? SimplePie is a RSS feed parsing in PHP. Just copy and paste below code :
<?php $feed = new SimplePie(‘http://wordpress.org/news/feed/’); ?>
<?php foreach ($feed->get_items(0, 3) as $item): ?>
<a href=”<?php print $item->get_permalink(); ?>”> <?php print $item->get_title(); ?></a>
<p><?php echo shorten($item->get_description(), 100);?> </p>
<?php endforeach; ?>
Thats it !! If you think that this post is useful for you or if you have any issue or any problem then just comment me on this post.