Skip to content

[Script] Thatis - Web 2.0 - Simulating clicking a button?

I am trying to write a script for thatis.me and am having a hard time with the posting part cause I need to switch modes in the posting screen from visual to html but I can't find any docs on how to simulate a click in SER.

here is my code so far:

[REGISTER_STEP1]
modify url=http://www.thatis.me/?signup

form name=brieflysignup*Submit
form id=brieflysignup
form url=*/?signup

submit success=You have successfully signed up.
submit failed=Usernames must be made of only lower-case letters and numbers
submit success skip verify=This username is already taken.

verify submission=1
verify interval=30
verify timeout=30
first verify=0
verify by=url
verify on unknown status=1

email=%your e-mail%
password=%password%
captcha=%captcha%

[REGISTER_STEP2]

form name=brieflynewblog*Submit
form id=brieflynewblog
form url=*/#register

sitetitle=%article_title%
customurl=%anchor_text%


[LOGIN_STEP1]
modify url=http://thatis.me/wp-login.php

form url=*/wp-login.php/
form id=loginform

submit success=href="/logout/"|%login%'s Profile

verify on unknown status=1

user_login=%Login%
user_pass=%password%

[STEP1]
submit success=href="%url%
submit failed=Errors have occured

verify submission=1
verify interval=1
verify timeout=1
verify url=%verify_url%
first verify=0
verify by=url
verify on unknown status=1


modify url=http://thatis.me/%anchor_text%/wp-admin/post-new.php

form name=*post
form id=post

set unknown variable=%leave%

variable must be used=url

post_title=%article_title%
content=%article%

Comments

  • customurl=%anchor_text%

    anchor text needs to be without spaces on this site. just one word with letters (and numbers). i don't know how it processes multi part anchor texts like "weight loss" (-> must convert to "weightloss"). have you found a solution for this?
  • OzzOzz
    edited August 2012
    Hi, I moved your question into "New Platforms/Engines" (yeah, I can do that ;) ).

    I think that questions about scripts/scripting are better preserved here.

    This is how I would script it (without testing):

    [REGISTER_STEP1]

    form name=*Sign me up
    ;form name=brieflysignup*Submit
    form id=brieflysignup
    form url=*/?signup

    submit success=You have successfully signed up.
    submit failed=Usernames must be made of only lower-case letters and numbers|Only lowercase letters and numbers allowed
    submit success skip verify=This username is already taken.

    verify submission=1
    verify interval=1
    ;;;instant registration
    verify timeout=1
    first verify=0
    verify by=url
    verify on unknown status=1

    email=%your e-mail%
    password=%password%
    captcha=%captcha%

    [REGISTER_STEP2]
    form name=brieflynewblog*Register
    ;;;Register
    form id=brieflynewblog
    form url=*/#register

    sitetitle=%article_title%
    customurl=%anchor_text%
    ;;;;needs to be;;;lowercase;;;no spaces;;;;just letters + numbers


    [LOGIN_STEP1]

    form name=*Log In
    form url=*/wp-login.php/
    form id=loginform

    submit success=%login%'s Profile|>Sign out<|>Log out<

    verify on unknown status=1

    user_login=%your e-mail%
    ;user_login=%Login%
    user_pass=%password%
    rememberme=%leave%
    ;rememberme=0

    [STEP1]

    form name=*Update Profile
    form url=*wp-admin/profile.php

    submit success=?updated=true|User updated.

    set unknown variable=%leave%

    first_name=%spinfile-names.dat%
    last_name=%spinfile-lnames.dat%
    nickname=%login%
    display_name=%leave%
    email=%leave%
    nlup_personal_website=%url%
    nlup_personal_phone=%columnspinfile-address_data.dat-6%
    nlup_personal_public=1

    [STEP2]

    submit success=href="%url%
    submit failed=Errors have occured

    verify submission=1
    verify interval=1
    verify timeout=1
    verify url=%verify_url%
    first verify=0
    verify by=url
    verify on unknown status=1

    form name=*publish
    form url=*/wp-admin/post-new.php
    ;form id=post
    ;form name=*post
    ;form id=post

    set unknown variable=%leave%

    variable must be used=url

    post_title=%article_title%
    content=%article%

    What needs to be done:
    - find a way to create "Anchor_Text" without spaces. Just letters and numbers.
    - the whole [setup] part for [url], [login], [password], [article], [article_title], [anchor_text] is missing, but I think you just didn't post it.

    PS: I've added a further step to create a public profile with website
  • Being as this is currently for a static url, cant you just add a new field in setup called 'subfolder' or something?

    Im supprised a PR3 wpmu site without email verification is still up,  the usual site:domain "pharma term" check isnt showing any results so im guessing they are quite keen on moderation, might need to do some tests.

    Also might want to at least consider an external link anon service to strip the referrer from these forums, because you really dont want a site admin following referral logs back here. Just saying.
  • OzzOzz
    edited August 2012
    >
    Also might want to at least consider an external link anon service to strip the referrer from these forums, because you really dont want a site admin following referral logs back here.

    Something like this: http://vanillaforums.org/addon/490-anonymize-urls or a function to add a code window with just plain text urls.
  • SvenSven www.GSA-Online.de
    added that plugin now.
  • OzzOzz
    edited August 2012
    Web2.0 are hard to debug as you are only allowed for one registration per email. I don't know if this is working.

    [setup]
    enabled=1
    default checked=0


    url must have=*://www.thatis.me*

    engine type=My Engines
    description=Creates a blog entry on www.thatis.me  (WordPress Multi User) 

    dofollow=0
    ;;;dofollow or nofollow???
    anchor text=0
    uses pages=0

    extract keywords=0

    skip ext links on=0
    skip content on=0
    skip url content on=0
    posted domain check=1
            
    [Login]
    type=login
    must be filled=1
    hint=The login for websites that need an account. Use numbers and letters only.
    min length=4
    static=1
    upcase=0

    [Password]
    type=password
    must be filled=1
    hint=A password used for websites that need an account. Use numbers and letters only.
    min length=5
    static=1

    [Your E-Mail]
    type=email

    [URL]
    type=url

    [Anchor_Text]
    type=text

    [Article_Title]
    type=text
    allow html=0
    must be filled=1
    hint=capitalize each word.
    max length=45

    [Article]
    type=memo
    allow html=1
    html to bbs=1
    must be filled=1
    hint=The full article comes here.
    auto modify=1

    [Website_title]
    type=text
    allow html=0
    must be filled=1
    hint=Thats usually a anchor text, so please make sure it holds an important keyword.
    max length=80
    min length=4
    replace=" ;
    ;;;blank should be replaced by "nothing". i dunno if this works or needs a regex
    upcase=0

    [Article_url]
    type=extract
    find link=View post
    front=href="http://thatis.me/
    back=">View post<



    [REGISTER_STEP1]

    form name=*Sign me up
    ;form name=brieflysignup*Submit
    form id=brieflysignup
    form url=*/?signup

    submit success=You have successfully signed up.|>Sign out<
    submit failed=Usernames must be made of only lower-case letters and numbers|Only lowercase letters and numbers allowed
    submit success skip verify=This username is already taken.

    verify submission=1
    verify interval=1
    ;;;instant registration
    verify timeout=1
    first verify=0
    verify by=url
    verify on unknown status=1

    email=%your e-mail%
    password=%password%
    captcha=%captcha%

    [REGISTER_STEP2]
    form name=*Register
    ;brieflynewblog*Register
    ;;;Register
    form id=brieflynewblog
    form url=*/#register

    sitetitle=%anchor_text%
    customurl=%website_title%
    ;;;;needs to be;;;lowercase;;;no spaces;;;;just letters + numbers


    [LOGIN_STEP1]

    form name=*Log In
    form url=*/wp-login.php/
    form id=loginform

    submit success=%login%'s Profile|>Sign out<|>Log out<

    verify on unknown status=1

    user_login=%your e-mail%
    ;user_login=%Login%
    user_pass=%password%
    rememberme=%leave%
    ;rememberme=0

    [STEP1]

    form name=*Update Profile
    form url=*wp-admin/profile.php

    submit success=?updated=true|User updated.

    set unknown variable=%leave%

    first_name=%spinfile-names.dat%
    last_name=%spinfile-lnames.dat%
    nickname=%login%
    display_name=%leave%
    email=%leave%
    nlup_personal_website=%url%
    nlup_personal_phone=%columnspinfile-address_data.dat-6%
    nlup_personal_public=1

    [STEP2]

    submit success=href="%url%|Post published.
    submit failed=Errors have occured

    verify submission=1
    verify interval=1
    verify timeout=1
    first verify=0
    verify by=url
    verify on unknown status=1

    form name=*publish
    form url=*/wp-admin/post-new.php
    ;form id=post
    ;form name=*post
    ;form id=post

    set unknown variable=%leave%

    variable must be used=url

    post_title=%article_title%
    content=%article%
    '
  • would it possible to make another field in the setup and use that so the user could put in a spintax an email address like this

    [spin email]
    type=text
    allow html=0
    must be filled=1
    hint=Use an email with spintax like {1|2|3|4|5|6|7}{a|b|c|d|E|F|g|H}{he|ky|et|hj}{56|49|58}@domain.com


    is there a "use random" option like there is for a username for an email address already coded in SER? That would be great if it was then we could just use that for the email since they don't require verification.
  • yes, I think its %email%. just scan some of the guestbooks and you will find it.
  • edited August 2012
    so how do you test this?

    I created a new project and selected only the thatis.me engine under my engines. I then filled in all the necessary information and left unchecked "collect keywords from sites" etc..

    Nothing was checked in the data tab. But I still got this output:

    22:33:06: Setting up project
    22:33:06: Starting project
    22:33:06: [ ] Finding keyword competitors for "photography"...
    22:33:06: [ ] Searching google blog photography
    22:34:09: [-] 93/97 already parsed - http://www.ralphsonthepark.com/news_display.php?id=91
    22:34:09: [-] 94/97 already parsed - http://www.showsiteinfo.net/sites/bestofneworleans.com
    22:34:09: [-] 95/97 already parsed - http://www.slowsouthernstyle.com/2012_06_01_archive.html
    22:34:09: [-] 96/97 already parsed - http://www.topix.com/wire/city/marrero-la?q=u:bestofneworleans.com
    22:34:09: [-] 97/97 already parsed - http://www.webstatsdomain.com/domains/classifieds.bestofneworleans.com/
    22:34:51: [+] 1/1 matches engine thatis.me - http://thatis.me/?signup
    22:34:51: [+] 1/1 registration successful - http://thatis.me/?signup

    22:35:06: [ ] Searching google blog link:bestofneworleans.com -site:bestofneworleans.com
    22:35:08: [ ] Found 99/116 new sites.
    22:35:08: [-] 01/99 no engine matches - http://celiasue.com/2012/01/20/new-orleans-has-gone-to-the-pit-bulls/
    22:35:08: [-] 02/99 no engine matches - http://brucetapes.com/2012/04/29/bruce-springsteen-2012-04-29-new-orleans-fairgrounds-new-orleans-la/
    22:37:09: [ ] Verifying links...
    22:37:15: [-] Verification failed/timeout - http://thatis.me/?signup
    22:37:15: [ ] Verifying finished (1 check done)
    22:37:15: [-] 61/61 no engine matches - https://showsiteinfo.appspot.com/in-link/noupe.com
    22:38:06: [ ] Searching google blog link:emilyebelingphotography.blogspot.com -site:emilyebelingphotography.blogspot.com
    22:38:07: [ ] Found 1/2 new sites.
    22:38:08: [-] 1/1 no engine matches - http://www.webstatschecker.com/stats/domain/emilyebelingphotography.blogspot.com
    22:38:42: Project stopped!

    I removed a bunch of the sites cause of forum limitations but I hope you can see what it is doing.
    I guess I am having a hard time wrapping my head around how SER works. I am used to coding in sick and ubot and I just don't understand SER fully yet.

    Also I believe to generate a random email it is %random_email%

    Also the links are dofollow.

    Edit:
    Ok, so I found another post saying you need to uncheck all your search engines then import target urls. So I right click > check none the import target urls > http://www.thatis.me/?signup  But it still isn't working.
  • OzzOzz
    edited August 2012
    Hi, I don't know if you noticed this thread. At the end you find a post how to use the debugging console.

    Another thing you can try is to save your account data to file (projects options -> tools -> export -> account data) and log in with this data to see what fields are filled so far.
  • OzzOzz
    edited August 2012
    A+

    I've 4 more of those sites (posterous, onsugar, xanga, newsvine) in the pipeline but I wait until I have 10 sites ready for testing. These engines are "fairly easy" to code and would be a good starting point for everyone who wants to learn scripting, imo.

    A drawback is that they are hard to debug though because of limited URLs for testing. 
  • SvenSven www.GSA-Online.de
    @Ozz Ahh so nice to see people work on scripts. :)
  • OzzOzz
    edited March 2013
    + bloggorilla.de ;)

    This site has some domains to choose:
    ;value="www.babybloggo.de">Baby:
    ;value="www.lifestylebloggo.de">Lifestyle:
    ;value="www.motorbloggo.de">Motor:
    ;value="www.musikbloggo.de">Musik:
    ;value="www.bloggospace.de">Persönliches:
    ;value="www.reisebloggo.de">Reise:
    ;value="www.sportbloggo.de">Sport:


    Another problem is how to handle the editors (MCE, FCK etc.) for %article%. I'm using Firebug for Firefox though and save all infos I get within the script to edit it later.
Sign In or Register to comment.