« Previous Next »

Thread: Meta Keyword Generator

Last post 06-30-2008 11:42 AM by phpmine. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 06-29-2008, 2:38 PM

    • phpmine
    • Not Ranked
    • Joined on 06-29-2008, 2:07 PM
    • Posts 2

    Meta Keyword Generator

    Hello you PHP Community! I am looking to make an automatic meta keyword generator based on an array of phrases. It is more my site that is under construction, http://www.phpmine.com. Go to the "Q and A" section and you'll see a series of questions there, five in total. right now the system simply grabs all the words there, filters though common words, and then spits out the words as keywords. I would like some advice on how to set it up in this way:

    • puts all the words in an array and counts their frequency
    • creates an array of two words phrases and counts their frequency
    • does the same for 3 word phrases
    • spits out the top 25 keywords from the array generated
    maybe someone has already cooked up this nasty script. thanks in advance guys!
  • 06-30-2008, 8:21 AM In reply to

    Re: Meta Keyword Generator

    Hello,

    What is the purpose of this tool?

    Regards

  • 06-30-2008, 11:42 AM In reply to

    • phpmine
    • Not Ranked
    • Joined on 06-29-2008, 2:07 PM
    • Posts 2

    Re: Meta Keyword Generator

     Yahoo API has a  lib for Yahoo Answers. I wanted to be able to create good meta data based on the data returned by the api. you can see this on PHPMine where the api is actually being used. when you look at the meta data in the source you'll see that the 5 questions becomes the page description and the distinct words found in those questions becomes the keywords.

     

    now, if you look at the first question:

    htmlspecialchars_decode() PHP function alternative?

    you'll notice that PHP Function and Function Alternative are two word pairs worth putting as meta keywords. so my question is what the logic would be for extracting

    1. htmlspecialchars_decode PHP
    2. PHP function
    3. function alternative

    as keywords.

Page 1 of 1 (3 items)