full content of rss feed at my other site

  • Author
  • #502029


    I am use the code to display our rss feed from our blog from this url http://msplweb.wordpress.com/feed/
    but i see the partially content of the blog description ,
    how i get the full description of the blog.

    code is here:-
    // read_rss(display_n_items,feed_url)
    function read_rss($display=5,$url=”) {
    $doc = new DOMDocument();
    $itemArr = array();
    foreach ($doc->getElementsByTagName(‘item’) as $node) {
    if ($display == 0) {

    $itemRSS = array (
    ‘title’ => $node->getElementsByTagName(‘title’)->item(0)->nodeValue,
    ‘description’ => $node->getElementsByTagName(‘description’)->item(0)->nodeValue,
    ‘link’ => $node->getElementsByTagName(‘link’)->item(0)->nodeValue,
    //’author’ => $node->getElementsByTagName(‘author’)->nodeValue,
    ‘pubdate’ => $node->getElementsByTagName(‘pubDate’)->item(0)->nodeValue

    array_push($itemArr, $itemRSS);

    return $itemArr;

    The blog I need help with is msplweb.wordpress.com.


    Moderator Emeritus

    http://msplweb.wordpress.com/ has been deleted, so you won’t get more feeds from it.

    Are you asking about displaying feed from your blog on another site which you pay to host somewhere?

    At wordpress.com we do not have access to php or any of the underlying codes…

The topic ‘full content of rss feed at my other site’ is closed to new replies.