Skip to content

Diigo Engine try

edited September 2012 in New Engines/Platforms
I'm having a go at the Diigo pltform listed in the Web 2.0s.
This is where I got so far:

[setup]
url must have=*://*secure.diigo.com*
description=Creates an account on Diigo and saves a bookmark
enabled=1
default checked=0

engine type=Custom

dofollow=0
anchor text=0
uses pages=1


;check previous submissions/verified urls at main url to not spam a site
posted domain check=1

;-------------------------------------------------------------------------
;the variables we have to define for this engine (if not already defined before)
;name, keyword, url, e-mail are already defined by default


[URL]
type=url

[Your E-Mail]
type=email

[Website_title]
type=text
allow html=0
must be filled=1
hint=Thats usually the anchor text, so please make sure it may holds an important keyword.
replace ,; -
max length=75
min words=3
tier data=%meta_title%

[Description_250]
type=memo
max length=250
min length=50
allow html=0
must be filled=1
hint=Use spin syntax here to not get duplicate content.
tier data=%meta_desc%

[Login]
type=login
must be filled=1
hint=The login for websites that need an account. Use numbers and letters only.
min length=6
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.
static=1
[REGISTER_STEP1]
form name=registerForm
username=%Login%
first_name=%spinfile-names.dat%
last_name=%spinfile-lnames.dat%
email=%Your E-Mail%
password=%Password%
rPassword=%Password%
recaptcha_response_field=%captcha%
;set unknown variable=%Password%

submit success=Your account has been created|We've sent you an email to %your e-mail% to verify your account|Please look up the email and click the link there to activate your account
submit failed=Incorrect username format|Sorry, the username %Login% is taken|First Name and Last Name can't be empty|Incorrect email format|Incorrect password format|The retyped Password does not match|captcha error

;submit success skip verify=This username already exists.|This email is already being used.
verify submission=1
verify by=email
verify on unknown status=1
verify interval=20
verify timeout=600
try to continue without verification=0 
[LOGIN_STEP1]
submit success=Sign out
submit failed=Invalid Username and Password combination.
form name=loginForm
username=%Login%
password=%Password%
[STEP 1]
submit success=%url%
;submit failed=

form name=newBookmarkForm
form url=/item/save/bookmark
url=%url%
title=%Website_title%
description=%Description_250%
tags=%leave%
privateInput=0
unreadcheckbox=0

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

At the moment it doesn't work.
I get an error in the debugger "Unknown field "rPassword" was used in form" although I think I have defined it.
Also the registration step should be verified by email, but in the project settings I don't get the "email verification" button.
Any help appreciated.

Comments

  • OzzOzz
    edited September 2012
    nice to see some people get into this :)
    in general SER recognise a verification link in email if the step is "verified by=email".
    if you need to approve your account by email try this:

    [REGISTER_STEP1]

    form name=*Continue
    form id=registerForm

    submit success=Dear %login%. Your account has been created.
    submit failed=Incorrect username format|Sorry, the username %Login% is taken|First Name and Last Name can't be empty|Incorrect email format|Incorrect password format|The retyped Password does not match|captcha error

    verify submission=1
    verify by=email
    verify interval=10
    verify timeout=30
    verify on unknown status=1

    set unknown variable=%leave%
    username=%Login%
    first_name=%spinfile-names.dat%
    last_name=%spinfile-lnames.dat%
    email=%Your E-Mail%
    password=%Password%
    rPassword=%Password%

    ;;recaptcha not needed as GSA handles that captcha on its own
  • Ok now the account is created, registration succesful....(I will have to understand the differences between your version and mine;-))

    Now let's see if the bookmark submission is going to work.
  • OzzOzz
    edited September 2012
    form name= mostly the button text. don't forget the "*"
    form url= as we visits the register page directly with "modify by=" both are the same
    form id= you won't find that on every page, but if you'll find the id for the form it is shown in the html source as "form id" as well. use firebug to get the id, if its used by the platform.
  • edited September 2012
    In the html source I took the name of the form, is the button caption better than the form name?

    As form url, I thought I should have taken the action field of the form...

    Ok, learning...
  • OzzOzz
    edited September 2012
    "form url" is the url in your browser. as this is a static site with fixed urls you can take the complete url. it the sites are not static like the non-Web 2.0's you have to use wildcards ( * ) to identiy correct url like

    form url=*/sign-up 
    for example.

    button text is mostly the right choice. if there is no button text you can define the form name with "from this point to that point". 

    form url=htmlFormStartsHere*htmlFormEndsHere

    i think that it works so ;). Sven has to clarify that
  • This is where I am. At the moment account is created and email verified.
    The bookmark submission is not working, I get "unknown field q" message. It did not navigate to right page to submit.

    Success should be close...


    [setup]
    url must have=*://*secure.diigo.com*
    description=Creates an account on Diigo and saves a bookmark
    enabled=1
    default checked=0

    engine type=Custom

    dofollow=0
    anchor text=0
    uses pages=1


    ;check previous submissions/verified urls at main url to not spam a site
    posted domain check=1

    ;-------------------------------------------------------------------------
    ;the variables we have to define for this engine (if not already defined before)
    ;name, keyword, url, e-mail are already defined by default


    [URL]
    type=url

    [Your E-Mail]
    type=email

    [Website_title]
    type=text
    allow html=0
    must be filled=1
    hint=Thats usually the anchor text, so please make sure it may holds an important keyword.
    replace ,; -
    max length=75
    min words=3
    tier data=%meta_title%

    [Description_250]
    type=memo
    max length=250
    min length=50
    allow html=0
    must be filled=1
    hint=Use spin syntax here to not get duplicate content.
    tier data=%meta_desc%

    [Login]
    type=login
    must be filled=1
    hint=The login for websites that need an account. Use numbers and letters only.
    min length=6
    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.
    static=1
    [REGISTER_STEP1]

    form name=*Continue
    form id=registerForm

    submit success=Dear %login%. Your account has been created.
    submit failed=Incorrect username format|Sorry, the username %Login% is taken|First Name and Last Name can't be empty|Incorrect email format|Incorrect password format|The retyped Password does not match|captcha error

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

    set unknown variable=%leave%
    username=%Login%
    first_name=%spinfile-names.dat%
    last_name=%spinfile-lnames.dat%
    email=%Your E-Mail%
    password=%Password%
    rPassword=%Password%

    ;;recaptcha not needed as GSA handles that captcha on its own
    [LOGIN_STEP1]

    submit success=Sign out
    submit failed=Invalid Username and Password combination.

    form name=loginForm

    username=%Login%
    password=%Password%
    [STEP 1]
    ;just download=1

    submit success=%url%
    ;submit failed=

    form name=newBookmarkForm
    form url=/item/save/bookmark

    url=%url%
    title=%Website_title%
    description=%Description_250%
    tags=%leave%
    privateInput=0
    unreadcheckbox=0

    verify submission=1
    verify interval=1
    verify timeout=1
    first verify=1
    verify by=url
    verify on unknown status=1
  • OzzOzz
    edited September 2012
    >I get "unknown field q" message.

    This is most likely the "search" field at diigo. what you could do is 
    q=%leave%

    or 
    set unknown variables=%leave% <- place this right above "url=%url%")

    form url=/item/save/bookmark <- this seems not right to me. this should be the same url as in
    tags=%leave% <- you can add %keyword% here. if you want to add multiple
     keywords and they are seperated with "," at diigo, than
    %keyword%,%keyword%,%keyword%
    first verify=0 <- "0"=varify right away

  • hello
    i have two question about:
    1. is possible to send another post to account which i was made in the past - example - i have some account made by GSA and i want send another article to the same account?

    2. i have some accounts in my database (ex. txt ;)) - in this txt file i have 50 account - can i use them to work with GSA - example i have 1 account from diigo+ 1 digg +... i know i have to build template first but it is possible?

    thanks...
    zaza
  • SvenSven www.GSA-Online.de

    1. Yes if you use that in a new project you can import accounts from another project so it will use that there.

    2. You must have it in a special format like

    http://www.domain.com $FF login=<login> $01 password=<password>

    and add it to the <project>.static file. Sorry there is no other way and probably never will be.

  • SvenSven www.GSA-Online.de

    the bug in the diigo script was [STEP 1], it should be [STEP1]

    beside that all works fine ;)

  • OzzOzz
    edited September 2012
    nice :)

    I advice everybody to make use of Notepad++ GSA. Those errors should not happen with it as the most common terms are color coded once the term is correct.
  • thanks reply,

    one other question:

    is login and password from GSA projects are save(d) somwhere? example -social network login+pass...

    thx

  • yes. 
    project options -> tools (at the bottom) -> export -> account data
  • edited September 2012
    Edited because I made a mistake.
  • Thank You!
  • edited September 2012

    Imorting data into project

    @2. You must have it in a special format like http://www.domain.com $FF login= $01 password= and add it to the .static file. Sorry there is no other way and probably never will be.

    how to i can add page/www/pass data into <project>.ini file - may i import form file?

    Can I see example - i read tuts from pdf but i can't see such case,

    best regards zaza

  • SvenSven www.GSA-Online.de
    Sorry I don't understand this. If you don't want to manually modify the .static file, you can import things from another project when pressing TOOLS->Import->Account data in project settings.
  • edited October 2012
    ok - but how to import external data from file - i have some accounts from another soft...
  • SvenSven www.GSA-Online.de
    impossible unless you write yourself something that saves it in the correct format.
  • yes but how to implement this structure to project - i know - format (you write earlier) but how? any input into project
    ???scribd:

    variable must be user=document
    file=%document%

    my profile data:
    variable must be user=?
    file=%document%




  • OzzOzz
    edited October 2012
    If I understand correctly you need to format your data into SER compatible account data.

    SER account data is structured like this:

    https://jigsy.com login=LOGname / password=rQ4ohZ
    http://www.nexopia.com login=LOGname / password=Jj4CZd

    Just export some of your data from SER and you know what you need to import it successfully.

  • edited October 2012
    thanks for reply

    yes  i know whats is format data...
    but if i have a list with 100 accounts ((example tumbrl) or mix different sites)
    how tu import this data into project (but this data are not from GSA - this data are from other soft
    i have every data needed to login/post/ect)
    ?
     
  • OzzOzz
    edited October 2012
    open/doubleclick project -> tools -> import -> account data from other projetcs

    ?? i don't know if you mean that

    PS: Tumblr is not supported by GSA yet
  • edited October 2012
    @open/doubleclick project -> tools -> import -> account data from other projetcs

    I HAVE MY ACCOUNTS in txt file - i can't import from other project beacouse i have this account from other soft.... :(:(:(
    how to import this account into project?
  • you have to convert them in "GSA Format". you can't just use some other data from other software without to convert them by yourself.

    i thought that was clear in the beginning??!
  • edited October 2012
    ok! :) i thinking that .static is a method :)
Sign In or Register to comment.