Title: RSS loading doesn&#039;t load the content
Last modified: August 19, 2016

---

# RSS loading doesn't load the content

 *  Resolved [runar.orested](https://wordpress.org/support/users/runarorested/)
 * (@runarorested)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/rss-loading-doesnt-load-the-content/)
 * Hello;
    I’m doing a website that carries a custom index. In said index, I load
   a RSS from another WordPress that includes a related blog from the owner of the
   same business. To do so I use the ‘PHP Execution’ plugin, to embeed in the page
   itself this code:
 *     ```
       <?php include_once(ABSPATH . WPINC . '/rss.php'); 
   
       // Get RSS Feed
       $rss = fetch_feed('http://www.salesport.danteslife.es/feed/');
   
       if ( !is_wp_error( $rss ) ) // Checks that the object is created correctly
       {
           $maxitems = $rss->get_item_quantity(5);
           $rss_items = $rss->get_items(0, $maxitems);
           unset($rss);
       }
   
           if ($maxitems == 0)
               echo '<h2>There are no announces.</h2>';
           else
           {
               $separator = '';
               foreach ( $rss_items as $item )
               {
                   echo $separator;
                   echo '<h2><a title="Permalink to '.$item->get_permalink().'" rel="bookmark" href="'.$item->get_permalink().'">'.$item->get_title().'</a></h2>';
                   echo '<p>'.$item->get_content().'</p>';
                   echo '<p><a href="'.$item->get_link().'">Read the announce&hellip;</a></p>';
                   $separator = '<hr style="clear: both;" />';
                }
           }
       unset($rss_items);
        ?>
       ```
   
 * This should show the last 5 full articles in the blog. Instead it always show
   the automatic summary. I debugged a bit class-simplepie.php and it seems that
   always fails at fetching the content of <content:encoded>, and defaulting to 
   the summary.
 * I’ve copied this code from examples of the web, that have been working until 
   now. So, can I have some help? Is this normal behaviour?. Is it a php parser 
   bug? Is it a bug in WordPress? How can I fix this?
 * Both source and target WP are new and version 3.0.1.
 * Please help!

The topic ‘RSS loading doesn't load the content’ is closed to new replies.

## Tags

 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [runar.orested](https://wordpress.org/support/users/runarorested/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/rss-loading-doesnt-load-the-content/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
