Need help? Check out our Support site, then


full content of rss feed at my other site

  1. 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:-
    <?php
    // read_rss(display_n_items,feed_url)
    function read_rss($display=5,$url='') {
    $doc = new DOMDocument();
    $doc->load($url);
    $itemArr = array();
    foreach ($doc->getElementsByTagName('item') as $node) {
    //print_r($node);
    if ($display == 0) {
    break;
    }

    $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);

    $display--;
    }
    return $itemArr;
    }
    ?>

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

  2. 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…

Topic Closed

This topic has been closed to new replies.

About this Topic