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
Next revisionBoth sides next revision
search_engine_ranker:macro_guide [2020-11-05 09:07] – [%targetpath%] svensearch_engine_ranker:macro_guide [2022-12-21 08:29] – [%http-header-<header_name>% or just %http-header%] sven
Line 132: Line 132:
 Output: Die Minute, die wir geboren werden, beginnen wir zu sterben. Output: Die Minute, die wir geboren werden, beginnen wir zu sterben.
  
-The example above is translating the sentence “The minute that we are born we begin to die.” into “Die Minute, die wir geboren werden, beginnen wir zu sterben.” while we submit to a German site like http://www.something-german.de/+The example above is translating the sentence “The minute that we are born we begin to die.” into “Die Minute, die wir geboren werden, beginnen wir zu sterben.” while we submit to a German site like http://www.rostock-schwarz.de/
  
 Another format could be used where you specify the langauge to translate in the macro itself using: Another format could be used where you specify the langauge to translate in the macro itself using:
Line 567: Line 567:
 This will get you the cookie value of the cookie_name. If you leave that URL out, you get the data from the current URL. The path is ignored from the URL. This will get you the cookie value of the cookie_name. If you leave that URL out, you get the data from the current URL. The path is ignored from the URL.
  
 +
 +===== %http-header-<header_name>% or just %http-header% =====
 +
 +This will get return the full http header (including GET/Post reply code) or just a specific one if defined along with the macro.
 +<code>
 +[last_used_user_agent]
 +type=extract
 +input=%http-header-user-agent%
 +</code>
 +<code>
 +[last_reply_code]
 +type=extract
 +input=%http-header%
 +front1=HTTP/1.1|HTTP/1.0
 +back=" "
 +</code>
 ===== %datetime-<format_string>% ===== ===== %datetime-<format_string>% =====