Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter tichy1967

    (@tichy1967)

    Also the keyword is case sensitive

    Hi Tichy,
    I’m a bit busy for the moment, but i’ll create a new hook for this in the next release.
    Cheers

    Hi again,
    I have a solution to your request.
    Since last version (2.3) you can use the feedzy_item_keyword.
    Here is an example:

    function bweb_feedzy_feed_item_keywords_content( $continue, $keywords_title, $item, $feedURL ){
        if( 'http://b-website.com/feed' == $feedURL ) {
            $continue = false;
            $keywords_content = array( 'keyword', 'KEYWORD' );
            foreach ( $keywords_content as $keyword ) {
                if ( strpos( $item->get_description(), $keyword ) !== false ) {
                    $continue = true;
                }
            }
        }
        return $continue;
    }
    add_filter('feedzy_item_keyword', 'bweb_feedzy_feed_item_keywords_content', 9, 4);

    Full documentation is here: FEEDZY RSS Feeds – Available Hooks

    Thread Starter tichy1967

    (@tichy1967)

    Thank you very much for taking the time to add this into your plugin the only thing i think you should add to your plugin is a pagination and it will be complete!

    You’re welcome.
    Pagination is not on the list, but tab layout for multiple feeds is 😉

    Thread Starter tichy1967

    (@tichy1967)

    do you reckon you will ever add that feature?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Keyword from content?’ is closed to new replies.