I dream of description Mod

Discussion in 'Directories' started by pipes, Jun 15, 2007.

  1. #1
    Im probably dreaming but would it be possible to create a mod that prevented submitters from copy and pasting the same text twice into the description field, something that would recognise that every word in the description is duplicated.

    Maybe rejecting the submission from going through?

    I get a hell of a lot of submissions where the description is pasted in twice.
     
    pipes, Jun 15, 2007 IP
  2. ZeRo_CoOl

    ZeRo_CoOl Peon

    Messages:
    635
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ZeRo_CoOl, Jun 15, 2007 IP
  3. humm

    humm बहादुर बच्चा

    Messages:
    4,346
    Likes Received:
    850
    Best Answers:
    0
    Trophy Points:
    310
    #3
    What if a, the, an are repeated? No submission! :eek:
     
    humm, Jun 15, 2007 IP
  4. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #4
    ZeRo_CoOl, your right, il mention it over there.

    humm, well im thinking of every single word duplicated, but as i mentioned im probably dreaming.

    I realise its easy for me to come up with an idea but possibly not practical in the coding world.

    I will ask around though, maybe it is possible.
     
    pipes, Jun 15, 2007 IP
  5. Obelia

    Obelia Notable Member

    Messages:
    2,083
    Likes Received:
    171
    Best Answers:
    0
    Trophy Points:
    210
    #5
    It should be fairly easy, if you're talking about repeated sentences in the same field: just measure the length of the string, split it in half, and compare the two halves for similarity. You could also just take the first few characters and check the rest of the string for their repetition, which would weed out the instances where someone has copied a short description more than twice. It's totally do-able, although you may get a few cases where you don't catch 100% of this if people change round the odd letter or so.

    Is this a major problem for directories which are demanding longer descriptions?
     
    Obelia, Jun 15, 2007 IP
    LeopardAt1 likes this.
  6. humm

    humm बहादुर बच्चा

    Messages:
    4,346
    Likes Received:
    850
    Best Answers:
    0
    Trophy Points:
    310
    #6
    I also mean word only not alphabet...eg: Description: ......a unique directory, a unique category structure, a seo friendly directory.

    So as a is repeated... duplicate words or content? :)
     
    humm, Jun 15, 2007 IP
  7. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #7
    Obelia and humm, i tend to get a lot of the following:

    "A gathering of web sites that are reviewed by an editor before acceptance into the directory. Regular and permanent listings allow you free submission into an appropriate category and yearly featured listings appearing on top in their category are also available. A gathering of web sites that are reviewed by an editor before acceptance into the directory. Regular and permanent listings allow you free submission into an appropriate category and yearly featured listings appearing on top in their category are also available."

    Obelia, your right that some could get around it by just changing something maybe.

    I can verify that i get a substantial amount of this, thats even with the minimum characters at an acceptable level.
    I do review slowly and carefully so notice many things like this, to be honest i cant blame them trying either, they want to make a quick submission but it ends in me deleting it.
     
    pipes, Jun 15, 2007 IP
  8. humm

    humm बहादुर बच्चा

    Messages:
    4,346
    Likes Received:
    850
    Best Answers:
    0
    Trophy Points:
    310
    #8
    Pipes are you running a free directory? Possibility of a improper setup of a profile in auto-submitters and they being in action with your directory? ;)
     
    humm, Jun 15, 2007 IP
  9. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #9
    humm, yes all but one of my directories are free, im not sure if that could be the problem.
     
    pipes, Jun 15, 2007 IP
  10. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #10
    It is very easy

    you need just to take descriptions from the url instead of the descriptions provided by them!

    this would easily solve your problem!
     
    Freewebspace, Jun 15, 2007 IP
  11. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #11
    I guess it could be a part solution, do you mean that they would have no option but to have descriptions from the url, or that they could still copy and paste a prepared description in if they choose?

    I dont want to restrict or annoy submitters who dont do anything wrong regarding this description problem.
     
    pipes, Jun 15, 2007 IP
  12. The Pheonix

    The Pheonix Banned

    Messages:
    1,233
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Are you dreaming for it only with phpld? If it can be done I'm the man, but I aint treading on toes so if it can be done it will be done but probably for other scripts. :cool:
     
    The Pheonix, Jun 15, 2007 IP
  13. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #13
    Well i currently only experience it on PhpLD as of course were able to set the minimum characters for description etc.

    But i also have indexscripts directories but dont have the problem there really but thats only because of indexscript having less control over character amounts for the time being (hope im not wrong about that :eek:) i haven't used others yet so im unsure how people get on with them.
     
    pipes, Jun 15, 2007 IP
  14. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #14
    I am talking about Meta description and it can be used as description itself

    You can give them a copy and paste description if they are paying for a featured link!
     
    Freewebspace, Jun 15, 2007 IP
  15. The Pheonix

    The Pheonix Banned

    Messages:
    1,233
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    0
    #15
    As I said, I won't be treading on other people's toes making it for phpld, as I was waiting by there I wrote some code to test the theory and in theory It can be done so if there are some good mod writers out there for phpld then they shouldn't have any problems.
     
    The Pheonix, Jun 15, 2007 IP
  16. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #16
    Freewebspace, yeah that sounds like a good idea, of course if their meta description is poor i would end up deleting that too.

    I dont enjoy deleting either, i do a huge amount of editing and would rather approve more.
     
    pipes, Jun 15, 2007 IP
  17. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #17
    Just do it.
     
    an0n, Jun 15, 2007 IP
  18. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #18
    The Pheonix, im happy to hear by yourself and others, that in theory it is possible, i imagine im not alone in getting this with submissions, ive posted it over on phpld forums too.
     
    pipes, Jun 15, 2007 IP
  19. Dubz

    Dubz Peon

    Messages:
    1,859
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    0
    #19
    It's an open market Phoenix, if you can make this code why don't you? An0n and whomever else you are referring to won't care and you certainly won't be stepping on anyones toes. IF you can make it you should.

     
    Dubz, Jun 15, 2007 IP
  20. The Pheonix

    The Pheonix Banned

    Messages:
    1,233
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    0
    #20
    You talking to me?

    @dubz

    I know that dubz, anon's words about phpld put me off making any for them so IF I do make it then it will be for others and I wont charge for it.

    @pipes; Its a tough cookie this one, but I did figure out the algorythm to do it. So to you anon, I'm doing it! But not for phpld. :cool:
     
    The Pheonix, Jun 15, 2007 IP