Support » Plugin: JP's Get RSS Feed » Add the ability to show the description

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author jp2112


    Thank you! I was planning on making the output more customizable. Can you tell me specifically which output you are referring to?

    I added the items->description and that displayed fine. So, I think that information would be a start.

    I also wanted to ask how does your plugin return the recent items? Does it return all or just some based upon a date? This would also be a worthwhile parameter to set. In our case we would like to retrieve all the feeds.

    Thank you, jim

    Also, we just found the need to have an error message display if the feed is not available instead of the php error. So, I added:

    if (is_wp_error( $rss ) ) {
       echo "RSS feed not found!";
    } else {
       // your code to get the number of items and display


    Plugin Author jp2112


    Where are you adding the description? After the post title? Please post your code.

    Regarding how the plugin returns feed items, it simply requests the last X number of feed items. It is not date dependent. If you want to increase or decrease the number of items, simply increase or decrease the number of items you request.

    FYI I just added the error handling code, no idea why I left it out. You should see it in the next release.

    I added it here:

    $output .= '" title="' . __('Posted', JPGRF_LOCAL) . ' ' . $item->get_date('j F Y | g:i a') . '">' . esc_html(__($item->get_title(), JPGRF_LOCAL)) . '</a> '.$item->get_description().'</li>';

    Concerning the number of returned items, I’m passing 100 but only getting 11. Perhaps it’s the feed I’m using. I’ll have to research.

    Plugin Author jp2112


    I added the item description as an option in version 1.3.4. Please download and let me know your thoughts. If you approve then please mark this thread as “resolved”.


    Plugin Author jp2112


    Marking this thread as resolved. If you need additional help please post back and I will change that.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add the ability to show the description’ is closed to new replies.