%anchor_text% in article all time is random
Lord_Alfred
world
Hi.
Why if I use %anchor_text% macros in article in spintax - in posted pages %anchor_text% replaced by random anchor (not current anchor)?
Example.
Article:
Current anchor: anch1, url = http://gsa.com
(And I have other 5 anchors + urls)
Result:
Why anchor is randomed?
UPD: in Article Preview and Project Test all is OK, but in posted pages - not ok. (I can send posted pages and project to developers in direct messages).
Why if I use %anchor_text% macros in article in spintax - in posted pages %anchor_text% replaced by random anchor (not current anchor)?
Example.
Article:
<a href="%url%">%anchor_text%</a>
{%anchor_text% a|%anchor_text% b|%anchor_text% c}
{%anchor_text% a1|%anchor_text% b1|%anchor_text% c1}
{%anchor_text% a2|%anchor_text% b2|%anchor_text% c2}
Current anchor: anch1, url = http://gsa.com
(And I have other 5 anchors + urls)
Result:
<a href="http://gsa.com"> anch1 </a>
anch2 a
anch3 c1
anch5 b2
Why anchor is randomed?
UPD: in Article Preview and Project Test all is OK, but in posted pages - not ok. (I can send posted pages and project to developers in direct messages).
Comments
I thought, in one posted page %url% and %anchor_text% is static (by the logic), and Article Preview and Project Test tools - confirmed it.
If use %anchor_text% more than the %url%, then no possible to create pages about current anchor (as in the example).
How to build this pages?
PS: I think, if I use %url% more than 1 - url randoming too. I check it in few hours.
URLs with anchors:
Article:
Article Manager settings:
Article Preview:
Project Test tool:
Posted results 1:
And results 2:
And it will also try to use a new random url with their anchor text if used in e.g. a link. You however keep using just %anchor_text% after the first link which is not working as you want it.
What I can try is adding another macro as %last_anchor_text% which will always use the last anchor used in an url/link.
Maybe adding other macro, like "%article_anchor_text%"? In my case I need to add main article anchor in some spintax for get results like I showed in 'Article Preview' screenshot.
Because I use simple search/replace things here that are different when submitting.
Anyway, why using same anchor everywhere? Isn't it more wise to use some variations? Thats why you have %TAG% here.
Where Anchor == "John".
Now in GSA SER create articles, where in Title one Anchor (John), in subtitle another Anchor (Jack) and in description of subtitle - other Anchor (Lisa).
-----
In other words, I need to create articles with using anchor in spintax:
For get results like:
Now its impossible, because %anchor_text% replaced to random Anchor.
How do I change my article?
Simple replacement to %tag% not working...
Article settings:
Posted results:
Another option is to use the secondary anchor text bind to the url.
How to use secondary anchor text?
My URLs:
Article:
And results:
@Sven, please.. make macro like %main_anchor_text% - which will insert the current anchor post (without randomization)