Buying Need a PHP filtering function or class

Discussion in 'Programming' started by DesignWeb, Jun 4, 2012.

  1. #1
    Hi,
    I need a filtering function (or class) with the following features.

    I prefer it to be a single function. If you need to use multiple functions you can use a class too.

    The main functionality of the function is to filter the content and auto link the found keywords from the predefined keyword list.

    1. It should get 2 parameters.
    $content = (A standard text article, blog post, ...)
    $links = array('keyword' => 'url', 'keyword 2' => 'url 2'), .....

    2. Keywords in the keywords list can be a single word or phrase: e.g. Here are 2 different keywords. “iPhone”, “Mobile Phone”

    3. Only one link should be added. The post/article can contain multiple keywords from the predefined list but only one of the keyword should be linked.

    4. Keywords in the $links array are ordered by importance, script should go through them 1 by 1 and not randomly. Once the keyword/phrase is found it should stop checking the remaining keywords.

    5. Keywords should be matched without case-sensitive

    6. Keywords/phrases should be matched fully, and not part of a word. Example: If the keyword is “car” the word “carry” should NOT be linked. Also, if the keyword is in part of url e.g: http://example.com/this-is-keyword/ It should NOT be linked too.

    7. If the keyword/phrase is already linked (inside <a ..>keyword phrase</a> tags) it should NOT be linked

    Please, PM me your offer.
     
    DesignWeb, Jun 4, 2012 IP
  2. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Hi, what is your budget for this ?
     
    Just need it, Jun 4, 2012 IP
  3. DesignWeb

    DesignWeb Active Member

    Messages:
    251
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Valkyrieâ„¢ is hired already for this job.
     
    DesignWeb, Jun 4, 2012 IP