WordPress.org

Ready to get started?Download WordPress

Forums

JP's Get RSS Feed
[resolved] Can't seem to edit output (3 posts)

  1. ueyellc
    Member
    Posted 1 year ago #

    I'm using the php direct call of this plugin. My output is throwing in an extra

    at the end of each post but when i try to store the output as a variable such as

    $abcdef = jp_get_rss_feed_items(array(
    'url' => "http://yourfeedhere/rss",
    'numitems' => 2,
    'nofollow' => true,
    'cssclass' => 'newsbrief',
    'getdesc' => false,
    'opennewwindow' => false,
    'show' => false
    ));

    and then do a print on the variable but try to do a str_replace on it nothing happens... doesn't even seem to matter where i do the string replace it doesn't do anything...
    so if you say

    print(str_replace('d','',$abcdef));

    (that would technically replace all letter d's with nothing)

    it just displays the feed as is ... no replacing happening...

    if anyone has any insight into why and how that'd be awesome! :)

    http://wordpress.org/extend/plugins/jps-get-rss-feed/

  2. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    Can you share the feed URL?

  3. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    I would like to resolve this, can you please post the feed URL?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags