Need a Simple Script Done (replacing keywords)

Discussion in 'Programming' started by lylaster, Oct 31, 2007.

  1. #1
    This is what I need done:

    Let's say I have 10k keyword list. The max that I would want each keyword to be is 25 characters including spaces.

    What I want is for a script that will search through each keyword to make sure that it's under 25 characters. If it is, leave it alone.

    "african american dating" is fine and it would leave the text alone.

    But if it comes to a long tail keyword that is over 25 keywords, then I want the script to delete the last keyword to make it under 25 characters.

    Ex. The script would come upon "free 50 cent cingular ringtones" and sees that it's too long. it would cut off the last word and make the word "free 50 cent cingular" instead so that it'll be under 25 characters. If the word is REALLY long and would require to delete the last two words then I want it to do that. As close to 25 (including spaces) without going over.

    That's pretty much it, doesn't sound too complicated. I would like to input a .txt list and have it spit out a .txt list. If I input 10k words I want 10k words coming out, with none of them over 25 characters. I'm not too familiar with the languages but I'd prefer something I can easily use.

    To be honest I'm not sure what the going prices are for a job like this. If interested PM with an offer, I pay with Paypal. Will give positive feedback upon completion. Please PM me if you have any other questions.
     
    lylaster, Oct 31, 2007 IP
  2. freelancewebaz

    freelancewebaz Well-Known Member

    Messages:
    976
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    I will do this for $20. PM if interested.
     
    freelancewebaz, Oct 31, 2007 IP
  3. lylaster

    lylaster Peon

    Messages:
    102
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Thanks for the offers but I just thought of a way to do this with Excel.

    For anyone interested.

    Sort the keyword list in descending order by character count. Highlight and delete the column of keywords with CC over 25. Replace.
     
    lylaster, Oct 31, 2007 IP
  4. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Just curious, why cant you use 26 letters keywords?
     
    login, Oct 31, 2007 IP