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:09] – [#trans ... #notrans] svensearch_engine_ranker:macro_guide [2022-12-21 08:29] – [%http-header-<header_name>% or just %http-header%] sven
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>% =====