Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
search_engine_ranker:script_manual [2021-09-23 14:06] – [Variables usable in SETUP and STEP Section] svensearch_engine_ranker:script_manual [2023-10-15 12:15] (current) – [Script Manual] sven
Line 5: Line 5:
 Here are some helpful links on engine writing and syntax highlighting: Here are some helpful links on engine writing and syntax highlighting:
    
 +  * [[https://gsaserlists.com/serlib-documentation/|SERLib Documentation]]
   * [[http://forum.gsa-online.de/discussion/18031/some-snippets-to-accelerate-ini-writing|Some snippets to accelerate .ini writing]]   * [[http://forum.gsa-online.de/discussion/18031/some-snippets-to-accelerate-ini-writing|Some snippets to accelerate .ini writing]]
   * [[http://forum.gsa-online.de/discussion/13/gsa-script-editor-notepad-ser-edition|GSA Script Editor (Notepad++ SER Edition)]]   * [[http://forum.gsa-online.de/discussion/13/gsa-script-editor-notepad-ser-edition|GSA Script Editor (Notepad++ SER Edition)]]
Line 100: Line 101:
 |seconds to wait before submission condition|This will only delay the submission if something in the variable content is found on the webpage.\\ \\ //Example: seconds to wait before submission condition=stop_spam_time//\\ \\ If the word "//stop_spam_time"// is either present in the html source or the visible text we wait with the submission a given time, else we skip this.| |seconds to wait before submission condition|This will only delay the submission if something in the variable content is found on the webpage.\\ \\ //Example: seconds to wait before submission condition=stop_spam_time//\\ \\ If the word "//stop_spam_time"// is either present in the html source or the visible text we wait with the submission a given time, else we skip this.|
 |post data|This is hardly used but will create a custom data that is used to submit to websites instead of using the data from <form>.\\ \\ //Example: post data=this=that&something=else//\\ \\ Have a look in the Pingback or Trackback engine where this is used.| |post data|This is hardly used but will create a custom data that is used to submit to websites instead of using the data from <form>.\\ \\ //Example: post data=this=that&something=else//\\ \\ Have a look in the Pingback or Trackback engine where this is used.|
 +|http header|Add additional headers to the HTTP Request Header.\\ \\ //Example: http header=X-WP-Nonce: xyz;AnotherOne: 123//\\ \\ Used in //Wordpress - Article// engine.|
 |encode post data|1 = encode the data in a proper way as used in POST protocol\\ 2 = encode it using multipart \\ 0 = take the data as it is without encoding anything\\ 3 = encode it using json syntax| |encode post data|1 = encode the data in a proper way as used in POST protocol\\ 2 = encode it using multipart \\ 0 = take the data as it is without encoding anything\\ 3 = encode it using json syntax|
 |variable must be used|A form is only submitted if certain variables have been used in that form.\\ \\ //Example: variable must be used=url,login%%|%%email//\\ \\ The above example requires a form to use the variable "url" or "login" and "email".\\| |variable must be used|A form is only submitted if certain variables have been used in that form.\\ \\ //Example: variable must be used=url,login%%|%%email//\\ \\ The above example requires a form to use the variable "url" or "login" and "email".\\|
Line 136: Line 138:
 |modify url replace|The same as "verify url replace" but used to modify a URL for the submission.| |modify url replace|The same as "verify url replace" but used to modify a URL for the submission.|
 |modify submit method|Use this to change the form submission method. Valid values are GET and POST.| |modify submit method|Use this to change the form submission method. Valid values are GET and POST.|
-|modify step\\ modify step condition|This will go to another submission step if the condition (something in last downloaded page from previous submission step) was found.\\ \\ //Example: modify step=2\\ modify step condition=*No verification required*//|+|modify step\\ modify step condition\\ modify step condition input|This will go to another submission step if the condition (something in last downloaded page from previous submission step) was found.\\ \\ //Example: modify step=2\\ modify step condition=*No verification required*//\\ the //modify step condition input// is optional and will use the content of the webpage as default|
 |Download retries|Number of tries to submit or download something (default is 1).| |Download retries|Number of tries to submit or download something (default is 1).|
 |Link type|Defines the type of backlink created. Can be anything you want but you might want to use the types already used in other scripts.| |Link type|Defines the type of backlink created. Can be anything you want but you might want to use the types already used in other scripts.|
Line 281: Line 283:
 |reverse|When using //reverse=1// then it will reverse the result turning //123// into //321//.| |reverse|When using //reverse=1// then it will reverse the result turning //123// into //321//.|
 |base64|using //base64=1// would encode the result to base64 content.| |base64|using //base64=1// would encode the result to base64 content.|
 +|all matches\\ delimiter|When using //all matches=1// together with //delimiter=,// you can join all found matches into one single string joined with the character defined in //delimiter//.| 
 ===== A Small Example ===== ===== A Small Example =====