====== Advanced Setup ======
This section will teach you special things you can use to modify content to your needs.
===== Random Content =====
In the file //content_search.dat// (found in installation folder) you can define where to get what content. By default you have things setup for images, videos, links and articles.
Please keep in mind that you might violate other peoples copyright when using there content for your article.
You can later make use of this by using **%random_%** in your article or wherever you want it. Type can e.g. be image (%random_image%) or video (%random_video%).
**A normal usage:**
[fotki.com]
url=http://search.fotki.com/?q=%search%
type=image
seperator=
content_front=src="
content_back="
title_front=title="
title_back="
result=
replace=-th.;-vi.
This does a search on fotki.com and pulls the found images from it.
**A special usage:**
[local_images_to_data_url]
type=image
result=
This is simply taking a random image from your defined folder and makes a data URL from it.
^Variable^Description^
|url|URL to get the content from. Use the place holder %search% here if wanted. It is replaced with keyword or anchor text of the project making use of it.|
|type|Defines the type (can be anything you like and can later be used with %random_type%|
|seperator|The separator (notice spell error) that is used in html source to separate the results.|
|content*, title*, author*|The different variables that can be filled. Use *_front and *_back to get the right content.|
|result|The actual result that is delivered. You should use the variables here of course.|
|replace|Will replace things from the content with something else.|
===== User Agents =====
In the file //user_agents.dat// (found in installation folder) you can define what [[wp>User_Agent|User Agents]] should be used when downloading or submitting content.
A randomly chosen string is taken from that file for the whole submission process to one site.
===== Text captcha solving=====
The file //text_captcha_extract.dat// (found in installation folder) is used to find the answer in text captcha questions itself.
Format:
FRONT1|FRONT2|..|FRONTX|BACK
Example:
|below. (required)
This will search the downloaded page for the string in FRONT and till take the content found between the last FRONT and first BACK string.
===== Math captcha substitution =====
The file //calc_replace.dat// (found in installation folder) is used to search for certain words in text captcha questions and replace it with numbers or math operators (+, -, *, /).
Format: search=replace
Example: one=1
===== Recorded text captcha answers =====
When you answer questions like "//What color has the sky?//" and the submission is detected as successful; the question and answer is saved to a file located in your application data folder called //text_captcha.dat//.
Format: **Question**$FF**Answer**\\
Example: **A RED truck is what color?**$FFred
The $FF is the ascii code of the character as it's an invisible char you can not see here. Maybe open it in a hex editor to see what I mean.
Now each time the same question appears, it is answered automatically without you getting asked.
You can also set things up to save unanswered questions to a file in //Options->Advanced->Save unanswered questions to file...//.
===== Character Spinning =====
The file //charspin.dat// is used to take one character of your article and replace it with something that looks the same but is actually a different char.
Format: character|replace with variation 1|variation2|...\\
Example: Z|Ζ|Ζ
But this is only used for content that allows html syntax. This is not used for BBCode or Wiki engines.
===== Address Data =====
The file //engines\address_data.dat// holds all the addresses used during submission when e.g. a location or country has to be filled. Some people however might want this to be there real address. In that case you have to modify this to the following:
Format: Country,State,City,ZIP,Street,phone
===== Names (First and Last) =====
The file //engines/names.dat// (first namae) and //engines/lnames.dat// (last name) hold names used during submission. You can change this to your needs to e.g. containing only your real name if wanted.
===== Generic URLs =====
The file //engines/generic_urls.dat// holds URLs that will be used to place random URLs in your article (if wanted). You can also add your own URLs in project's article manager with this format.
Format 1: URL using %anchor_text%\\
Example: %%http://www.answers.com/topic/%%%anchor_text%
This will create a link to answers.com with a topic of the chosen word.
Format 2: URL#{keyword1|keyword2|...}\\
Example: %%http://www.gsa-online.de/%%#{GSA|SEO|Search Engine Ranker}
When your article has e.g. the word SEO in it, it can happen, that a Link to gsa-online.de is placed.
===== Generic Anchor Text =====
The file //engines\generic_anchor_text.dat// holds anchor texts that will be used to place links to your URL when that generic anchor text option is used. This is in fact important to not over optimize your website with exact anchor texts but also have generic once point to it with e.g. "website link" or "go here".
===== Auto Anchor Content =====
The files //engines\auto_anchor.dat// and //engines\auto_anchor-article.dat// (articles only) is used if you do not add a %link% or https://imported-target-url.com/wp-admin/[https://www.overwrite-project-url.com/#Overwrite-Project-Anchor]
See details on our [[https://forum.gsa-online.de/discussion/comment/161804/#Comment_161804|forum]].