en | ru
In our case, the macros — a special code in the generation process doorway pages will be replaced by the corresponding value. Macros are used in a pattern, file with the text to insert "Random lines" and in some fields of the admin redbutton doorway page generator.

For examples of the macro, we will use the keywords from the topics of "windows" and "buy viagra".

Macros for the Keyword

[KEYWORD] — current keyword is

Inserts the current keyword for the page

Example: На нашем сайте можно заказать [KEYWORD]. Results: На нашем сайте можно заказать пластиковые окна
[UC-KEYWORD] — current keyword is with a capital

Inserts the current word, written with a capital letter.

Example: [UC-KEYWORD]: описание и характеристики result: Пластиковые окна: описание и характеристики
[UCW-KEYWORD] — current keyword, all the words that begin with a capital letter

Recommended for doorways in English, it is accepted to write the main title so that all the words are capitalized.

Example: [UCW-KEYWORD] Result: Buy Viagra
[RAND-KEYWORD] — random keyword is

Inserts random keyword from the list, choose to create doorway.

Example: Также у нас есть [RAND-KEYWORD] Result: Также у нас есть пластиковые окна Salamander
[RAND-UC-KEYWORD] — keyword is casual with a capital

Inserts random keyword with capital from the list, choose to create a doorway.

Example: Похожие товары:
[RAND-UC-KEYWORD]
[RAND-UC-KEYWORD]
Похожие товары:
[RAND-UC-KEYWORD]
[RAND-UC-KEYWORD]
Похожие товары:
[RAND-UC-KEYWORD]
[RAND-UC-KEYWORD]
Result: Похожие товары:
Пластиковые окна Salamander
Пластиковые окна Proplex
Похожие товары:
Пластиковые окна Salamander
Пластиковые окна Proplex

The structure of the doorways

You can create a two-tier doorways. They are much more similar to this web site, rather than doorways with a linear structure.

It turns out that doorway consists of several sections. The section titles and a list of pages for each section, you can specify a file with keywords.

Below is an example of a regular file with the key words, where are the section names (they are marked by square brackets). All the key words that come after the title of the section, are of this section. So until then, until a different title.

...
пластиковые окна
[услуги]
ремонт пластиковых окон
регулировка пластиковых окон

[комплектующие]
ручки для пластиковых окон
замки для пластиковых окон
жалюзи для пластиковых окон
москитные сетки
...
[MENU-CATEGORY] — creates a menu of the section titles Doorway

Inserts HTML-list partitioning doorway as hyperlinks. Keywords in hyperlinks automatically will begin with a capital letter. With CSS menu can be both vertical and horizontal.

Example: Разделы сайта: [MENU-CATEGORY] Result: Разделы сайта:

Links and hyperlinks

[GO-URL] — link to go to an external resource

In dorgenov may provide a link to an external resource, such as TDS or feed from affiliate programs. If the link you want to pass the current word, you can do this using a macro [KEYWORD].

Suppose we have indicated in the "External Links" following link:
http://www.example.com?feed.php?partner=123&keyword=[KEYWORD] Example: Подробнее про <a href="[GO-URL]">[KEYWORD]</a> Result: Подробнее про пластиковые окна
[GO-LINK-HTML]HTML-code with a hyperlink to go to an external resource

This macro is in addition to the macro [GO-URL] and allows you to make a simple link from a full HTML-block with a hyperlink. In the «HTML-link to an external resource" you can choose the appearance of the hyperlink — it could be the image or hyperlink to the text.

Suppose we have indicated in the "External Links" following link:
http://www.example.com?feed.php?partner=123&keyword=[KEYWORD] and in the "Link Text" indicated the following:
Узнайте больше про [KEYWORD] Example: [GO-LINK-HTML] Result: Узнайте больше про пластиковые окна
[RAND-LINK] — a link to a random page

A hyperlink to the keyword on a random page doorway. Keyword in the hyperlink will be just for the page on which to make the transition.

Example: Похожие статьи: [RAND-LINK] Result: Похожие статьи: ремонт пластиковых окон
[RAND-UC-LINK] — a link to a random page, beginning with a capital letter

A hyperlink to the keyword on a random page doorway. The first character in the keyword converted to upper case.

Example: Похожие статьи:
[RAND-UC-LINK]
[RAND-UC-LINK]
Похожие статьи:
[RAND-UC-LINK]
[RAND-UC-LINK]
Похожие статьи:
[RAND-UC-LINK]
[RAND-UC-LINK]
Result: Похожие статьи:
Ремонт пластиковых окон
Установка пластиковых окон
Похожие статьи:
Ремонт пластиковых окон
Установка пластиковых окон
[RAND-UC-LINK-5-10] — a list of hyperlinks to random pages beginning with a capital letter

HTML-list with links to the keyword on a random page doorway. The first character in the keyword each hyperlink uppercase.

The number of hyperlinks in the list is selected at random from the specified in the macro range. For example, if you specify a range of 5-10, then the list can be from 5 to 10 hyperlinks.

Example: Похожие статьи: [RAND-UC-LINK-2-4] Result: Похожие статьи:
[UC-LINK-5] — a hyperlink to the specified page

A hyperlink to the keyword on the specified page doorway. The first character in the keyword converted to upper case.

The number in the macro corresponds to the number of key words (and the page number) doorway.

This macro should be applied if you want all pages doorway had any permanent hyperlink. For example, to create a pseudo-menu.

Example: Дополнительные услуги:
[UC-LINK-1]
[UC-LINK-5]
[UC-LINK-8]
Дополнительные услуги:
[UC-LINK-1]
[UC-LINK-5]
[UC-LINK-8]
Дополнительные услуги:
[UC-LINK-1]
[UC-LINK-5]
[UC-LINK-8]
Result: Дополнительные услуги:
Монтаж пластиковых окон
Регулировка пластиковых окон
Ремонт пластиковых окон
Дополнительные услуги:
Монтаж пластиковых окон
Регулировка пластиковых окон
Ремонт пластиковых окон
[PREV-UC-LINK-5] — a list of hyperlinks to the previous page, with a capital letter.

A list of hyperlinks to the specified number of previous doorway pages, keyword is in the hyperlink begins with a capital letter.

Example: <ul>[PREV-UC-LINK-3]</ul>
[NEXT-UC-LINK-5] — a list of hyperlinks to the next page, with a capital letter.

A list of hyperlinks to the specified number of subsequent doorway pages , keyword is in the hyperlink begins with a capital letter.

Example: <ul>[NEXT-UC-LINK-3]</ul>
[PREV-UCW-LINK-5] — a list of hyperlinks to the previous page, all of the words with capital letter.

A list of hyperlinks to the specified number of previous doorway pages, keyword is all words in the hyperlink begins with a capital letter.

Example: <ul>[PREV-UCW-LINK-3]</ul>
[NEXT-UCW-LINK-5] — a list of hyperlinks to the next page, all the words with a capital letter.

A list of hyperlinks to the specified number of subsequent doorway pages, keyword is all words in the hyperlink begins with a capital letter.

Example: <ul>[NEXT-UCW-LINK-3]</ul>
[TAGS] — inserts a tag cloud

It is ready for a tag cloud consisting of hyperlinks that lead to other pages doorway. Font size in each link is exposed randomly.

Example: Популярные тэги:
[TAGS]
Популярные тэги:
[TAGS]
Популярные тэги:
[TAGS]
Result: Популярные тэги:
Монтаж пластиковых окон Пластиковые окна Регулировка пластиковых окон Москитные сетки
Ремонт пластиковых окон
Популярные тэги:
Монтаж пластиковых окон Пластиковые окна Регулировка пластиковых окон Москитные сетки
Ремонт пластиковых окон

Text

[TEXT-5-10] — the text from 5 to 10 offers

This macro inserts the text that has been selected in the admin doorways.

Before insertion, the text is treated in all the ways that have been selected in the admin doorways — adding to text keywords, rewrite the text, synonymy, etc.

The number of sentences in the text is randomly selected from the range specified in the macro. For example, if you specify a range of 3-5, then every time the text is inserted, from 3 to 5 sentences.

In addition, the text is automatically divided into a random number of paragraphs (<p> </ p>).

Example: <h1>[UC-KEYWORD]</h1>
[TEXT-3-7]
<h1>[UC-KEYWORD]</h1>
[TEXT-3-7]
<h1>[UC-KEYWORD]</h1>
[TEXT-3-7]
Result:

Installation of plastic windows

As we mentioned, installation of plastic windows is strictly vertical and horizontal, with a tolerance of no more than 3 mm in the entire length of the window. After installation of the plastic window, paste special vapor barrier tape around the perimeter of the window. This tape will ensure continued installation and protect against mold and condensation inside the cavity of the joint.

When finished, the installer fills the joint between the frame and the wall of the special foam.

[RANDLINE] — random line from a file with strings (macro temporarily not available)

This macro inserts a random line from a file, which is specified in the admin doorways as "Random lines from a file."

Each line of the file, you can use different macros.

Version of the file with the lines:

Ordered [KEYWORD], all did great!

On the advice of a friend took <b> [KEYWORD] </ b>. A quality I have not seen. Very pleased!

Long sought <b> [KEYWORD] </ b>, found here. All placed very professional.

Hooray! Yesterday put [KEYWORD]! I have long been waiting for!

Example:

Customer Reviews:

[RANDLINE]

[RANDLINE]

The result:

Customer Reviews:

Hooray! Yesterday put new windows Salamander! I have long been waiting for!

Been looking for new windows Salamander, found here. All placed very professional.

Ordered windows Salamander, did everything perfectly!

[RANDLINE-ANYWORD] — random line from a file with strings, which are divided into separate categories

In a macro specifies the name of the category, which is present in the file with strings. In the same file, is specified in the category: [PRIMER:], with a mandatory colon before the closing bracket. And if we want to select a random string from this category, the macro would look like this: [RANDLINE-PRIMER].

Each line of the file, you can use different macros.

Version of the file with the lines:

[CATS:]
бобтейл
британский короткошерстный
перс
полуперс
...
[DOGS:]
такса
лабрадор
сенбернар
Example:

I have a dog [RANDLINE-DOGS]

And I [RANDLINE-CATS], it is a cat.

The result:

I have a labrador dog.

And I polupers this cat.

Image

To help manage the pictures we offer to sort them by category and upload the folder data / images.

In your data / images you can create separate folders for each category of images, such as: data / images / music.

And then in the process of generation, doorways will copy itself from there he needed pictures and save them in a folder with a ready doorways.

[RAND-IMG] — the path to a randomly selected image

This macro displays the path to a randomly selected images copied from the folder data / images in a folder with the doorways.

Example:

Photo of the day:

<img [RAND-IMG] alt="[KEYWORD]"> Result:

Photo of the day:

<img src="/i/window123.jpg" width="300" height="200" alt="plastikovye okna">
[RAND-IMG-200-250] — path to a randomly selected image, reduced in width

This macro displays the path to a randomly selected images copied from the folder data / images in a folder with the doorways.

But in contrast to the macro [RAND-IMG], there is still a decrease image size. In a macro specifies the desired width of the range of the image (in pixels). When generating a random number will be chosen from this range, which will be to reduce the width of the image. Height of the image will also be proportionally reduced, depending on the chosen width.

Example:

Our windows are:

<img [RAND-IMG-400-500] alt="[KEYWORD]"> Result:

Our windows are:

<img src="/i/windows254.jpg" width="425" height="200" alt="plastikovye okna">
[RAND-IMG-doctor] — path to a random image from the folder

This macro displays the path to a randomly selected images copied from the folder data/images/doctor in a folder with the doorways.

In a macro, you can specify any name for the folder that you want to pre-create the folder data/images. This is very convenient, because can be pre-split images into separate categories for creating doorways pack.

Example:

Our windows are:

<img [RAND-IMG-windows] alt="[KEYWORD]"> Result:

Our windows are:

<img src="/i/window12.jpg" width="300" height="200" alt="new windows">
  • [RAND-IMG-doctor-200-250] — path to the random images, reduced in width to the range (in pixels)
  • [GEN-IMG] — path to the image that is generated based on images from the public folder data / images
  • [GEN-IMG-200-250] — the path to the generated image, reduced in width to the range (in pixels)
  • [GEN-IMG-doctor] — path to the image that is generated based on images from the public folder data / images / doctor
  • [GEN-IMG-doctor-200-250] — path to the image generated based on images from the folder data / images.doctor and reduced in width to the range (in pixels)
  • Miscellanea