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 [2018-01-04 06:53] – [Spin Syntax explained] svensearch_engine_ranker:macro_guide [2019-08-14 11:41] – [%first_sentence-<varname>%] sven
Line 53: Line 53:
 |NP|Same as “N” but reads the number of lines not randomly but one after the other.| |NP|Same as “N” but reads the number of lines not randomly but one after the other.|
  
-You can also use a syntax like (<min lines>,<max lines>) or [<min lines>..<max lines>] for the parameter <number of lines>. This would not always use the same number of lines but chose a random one between the given range (e.g. #file_links[names.dat,(2,10),S]).+You can also use a syntax like (<min lines>,<max lines>) or [<min lines>..<max lines>] for the parameter <number of lines>. This would not always use the same number of lines but choose a random one between the given range (e.g. #file_links[names.dat,(2,10),S]).
 Another alternative is to use a directory instead of a a file. Than a random file from that directory is used. Another alternative is to use a directory instead of a a file. Than a random file from that directory is used.
  
Line 537: Line 537:
  
 Uses a the parameters of the previously chosen verified URLs. Uses a the parameters of the previously chosen verified URLs.
-===== %first_paragraph-<varname>% =====+===== %first_paragraph-<varname>%, %random_paragraph-<varname>% =====
  
-This will take the content of the the variable and only insert the first paragraph.+This will take the content of the the variable and only insert the first or random paragraph.
 You can also use a file, folder or URL as variable to take content from there. You can also use a file, folder or URL as variable to take content from there.
  
-===== %first_sentence-<varname>=====+//Sample: %random_paragraph-article%//
  
-This will take the content of the the variable and only insert the first sentence. +===== %first_sentence-<varname>%, %random_sentence-<varname>% ===== 
 + 
 +This will take the content of the the variable and only insert the first or random sentence. 
 You can also use a file, folder or URL as variable to take content from there. You can also use a file, folder or URL as variable to take content from there.
  
 +//Sample: %random_sentence-article%
 ===== %cookie-<cookie_name>[;<URL>]% ===== ===== %cookie-<cookie_name>[;<URL>]% =====