Kaywords on Submission, A manace?

Discussion in 'Directories' started by msolution, Jun 25, 2007.

  1. #1
    Very enthusiastically i started accepting meta keywords with meta description on site submission, and it looked cool!

    untill i surfed onto the details page on one of the sites submitted,

    this guy had submitted keywords, and coz of the word limit set to 255 chars, he had eaten all the spaces,.... put commas, ... resulting the keywords being a one long ass line!

    this made my details page twice as wide as my screen, and thus totally ruined my design,

    if i went thru this im sure i will not be alone, for those who relate to me, i have the following code for u,

    this is for phpLD , tested on 2.1.2!

    find the following code in /submit.php:
    
    	$data['LAST_CHECKED']  	= gmdate ('Y-m-d H:i:s');
    	$data['DATE_ADDED']    	= gmdate ('Y-m-d H:i:s');
    	$data['DATE_MODIFIED'] 	= gmdate ('Y-m-d H:i:s');
    	$data['DESCRIPTION'] 	= $data['DESCRIPTION'];
    
    Code (markup):

    place this code after this:

    
    //replace all commas with a comma and a trailing space//
    $data['KEYWORDS'] 	= str_replace(",", ", ", $data['KEYWORDS']);
    // replace all multi spaces, with single space//
    $data['KEYWORDS'] 	= preg_replace('/\s+/', ' ', $data['KEYWORDS']);
    
    Code (markup):
    this puts the keywords as they should be!

    hope this helps someone!

    Regards
    M.
     
    msolution, Jun 25, 2007 IP
  2. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #2
    why were you showing meta keywords as plain text? they arnt meta if you output them in html to the user.....

    or did i misunderstand you?
     
    mikey1090, Jun 25, 2007 IP
  3. msolution

    msolution Well-Known Member

    Messages:
    1,182
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    175
    #3
    If i put the keywords in Meta, w/o having those words in the HTML, that page may get tagged as spam by SE's! it just goes accross as im trying to mislead the Bot!


    M.
     
    msolution, Jun 25, 2007 IP
  4. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #4
    well if you have a quality directory, you should only accept quality submissions with well written descriptions, that relate to the meta keywords. then google will see good description (plain text) related to quality keywords and will love it.

    So unless you accept all forms of spammy sites you wont get far....
     
    mikey1090, Jun 25, 2007 IP
  5. msolution

    msolution Well-Known Member

    Messages:
    1,182
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    175
    #5
    very true!

    but the listig that alerted me was a PR5 site!
    Good description, Good keywords, but all in one long ass line!

    M.
     
    msolution, Jun 25, 2007 IP
  6. SilkySmooth

    SilkySmooth Well-Known Member

    Messages:
    1,583
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    180
    #6
    Sorry M, I'm a fool who needs to learn how to read :p
     
    SilkySmooth, Jun 25, 2007 IP
  7. msolution

    msolution Well-Known Member

    Messages:
    1,182
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    175
    #7
    -- cool, things happen Silky!
     
    msolution, Jun 25, 2007 IP
  8. SilkySmooth

    SilkySmooth Well-Known Member

    Messages:
    1,583
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    180
    #8
    Doh, post edited, I could have sworn I read details.tpl LOL
     
    SilkySmooth, Jun 25, 2007 IP
  9. Obelia

    Obelia Notable Member

    Messages:
    2,083
    Likes Received:
    171
    Best Answers:
    0
    Trophy Points:
    210
    #9
    I always thought meta meant it wouldn't be seen on the page, but would simply be used either to enhance the search or to provide meta tag keywords for the detail page? If you're using this text for an extended description, you should probably just be calling it an extended description, so there's no confusion.
     
    Obelia, Jun 25, 2007 IP
  10. msolution

    msolution Well-Known Member

    Messages:
    1,182
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    175
    #10
    No man,
    meta means a summary of the page,(quite diffrent from the literal meaning of meta)

    using words in the meta which are not on the page is looked down upon by SE's, so to be on the safer side, i included those as simple text also.

    more here
    http://en.wikipedia.org/wiki/Meta_element

    M.
     
    msolution, Jun 25, 2007 IP
  11. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #11
    google hardly cares about meta keywords, i would only care about them where yahoo is concerned.
     
    mikey1090, Jun 25, 2007 IP