1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Spintax Help

Discussion in 'Blogging' started by duceduc, Nov 21, 2014.

  1. duceduc

    duceduc Supreme Member

    Joined:
    Aug 23, 2014
    Messages:
    1,398
    Likes Received:
    282
    I am trying write this bit of a spintax but am having trouble. I got this to work so far but want to add alternative words to it.

    Working:
    '{would|should|could|dare} not'

    Not working:
    '{{would|should|could|dare} not|{wouldn't|shouldn't|couldn't}}'

    I want it to choice either this 'would not;should not; could not' or 'wouldn't;shouldn't;couldn't'
     
  2. hatblackguy

    hatblackguy Regular Member

    Joined:
    Jun 8, 2011
    Messages:
    252
    Likes Received:
    61
    Occupation:
    kicking Big G's fat Mug
    Location:
    1% Percent of wealthiest people
    This bit is malformed not| you need to get rid of the pipe so its like this.... not
    :)
     
  3. TrevorB

    TrevorB Senior Member

    Joined:
    Dec 21, 2011
    Messages:
    1,185
    Likes Received:
    361
    Location:
    Canada
    Try this:

    {{would|should|could|dare} not|{wouldn't|shouldn't|couldn't}}
     
  4. duceduc

    duceduc Supreme Member

    Joined:
    Aug 23, 2014
    Messages:
    1,398
    Likes Received:
    282
    Hmm. If I get rid of the pipe, it breaks the code anything after it.
     
  5. duceduc

    duceduc Supreme Member

    Joined:
    Aug 23, 2014
    Messages:
    1,398
    Likes Received:
    282
    It looks the same with mine. Just w/o the quotes. I tried it anyways and it doesn't work.
     
  6. hatblackguy

    hatblackguy Regular Member

    Joined:
    Jun 8, 2011
    Messages:
    252
    Likes Received:
    61
    Occupation:
    kicking Big G's fat Mug
    Location:
    1% Percent of wealthiest people
    I misread your post the ^above by TrevorB is correct
     
  7. TrevorB

    TrevorB Senior Member

    Joined:
    Dec 21, 2011
    Messages:
    1,185
    Likes Received:
    361
    Location:
    Canada
    I just tried it in my spinner and it does work.

    Thanks hatblackguy I knew it did. I was almost starting to think i'm nuts. lol
     
  8. duceduc

    duceduc Supreme Member

    Joined:
    Aug 23, 2014
    Messages:
    1,398
    Likes Received:
    282
    Thanks for testing it. I was using this link to test and it didn't work for me.

    http://www.articlespinnertool.com/
     
  9. TrevorB

    TrevorB Senior Member

    Joined:
    Dec 21, 2011
    Messages:
    1,185
    Likes Received:
    361
    Location:
    Canada
    Ya I just tried it in that site and it does not work. I guess their spinner is garbage.

    Test it here:

    Code:
    http://www.wmutils.com/spinner/
     
  10. CyberSEO

    CyberSEO Senior Member

    Joined:
    Jul 14, 2011
    Messages:
    959
    Likes Received:
    262
    Occupation:
    programmer
    Home Page:
    It works just fine here: http://wmutils.com/spinner/
     
  11. duceduc

    duceduc Supreme Member

    Joined:
    Aug 23, 2014
    Messages:
    1,398
    Likes Received:
    282
    Thanks guys for the confirmation.

    I have now another issue. There are some comments I could delete a word and still make sense. It seems Follow Liker doesn't support this code. That is, any blank space between {} that doesn't have a character after it does not get parse as a space
    Ex:
    '.....{Does |Please |}{check|see} my account'

    Result:
    '.....Doescheck my account'; '....Pleasesee my account'

    The reason I wanted this way is because I may have a sentence before it that has a space. I don't want to have extra spaces if the bot doesn't choose a word between the first set of {}.

    Any way of coding it?
     
  12. HiCAPTCHA

    HiCAPTCHA Newbie

    Joined:
    Oct 19, 2014
    Messages:
    12
    Likes Received:
    1
    Home Page:
    There should be a character between "}{" instead of "{}", like this '......{Does|Pease} {check|see} my account'. Just make sure there is a space beteen two "{}"('{...} {...}'), there will be no such problem.
     
  13. duceduc

    duceduc Supreme Member

    Joined:
    Aug 23, 2014
    Messages:
    1,398
    Likes Received:
    282
    The word should have been 'Do' and not 'Does', but that is not the point.

    I understand I need a space between the set of {} brackets, but when the bot doesn't choose 'do' or 'please', it will parse like this with 2 blank spaces.
    ex:
    'Great feed. {Do|Please|} {check|view} my account. '

    Result:
    'Great feed.<space><space>check my account or 'Great feed.<space><space>view my account'

    I want to have only one space before '<space>check my account.'