How to read random n lines and random_url is not working!
Is that possible to read random n lines from file with spinfile ?
%spinfile-% - takes a random line in that file
or with any other way ?
And here the second question
For example i have 500 site urls like below
http://www.mycom1.com#{keyword1|keyword2}
http://www.mycom2.com#{keyword1|keyword2}
http://www.mycom3.com#{keyword1|keyword2}
http://www.mycom4.com#{keyword1|keyword2}
http://www.mycom5.com#{keyword1|keyword2}
I want to insert into article body part like below
article blblblbl %random_url% etc etc et %random_url%
wherever it see random_url, it is supposed to select a url from url list. but it must be a true random for each one and when inserting it is supposed to be use one of the anchors i defined
but i see empty result
%spinfile-% - takes a random line in that file
or with any other way ?
And here the second question
For example i have 500 site urls like below
http://www.mycom1.com#{keyword1|keyword2}
http://www.mycom2.com#{keyword1|keyword2}
http://www.mycom3.com#{keyword1|keyword2}
http://www.mycom4.com#{keyword1|keyword2}
http://www.mycom5.com#{keyword1|keyword2}
I want to insert into article body part like below
article blblblbl %random_url% etc etc et %random_url%
wherever it see random_url, it is supposed to select a url from url list. but it must be a true random for each one and when inserting it is supposed to be use one of the anchors i defined
but i see empty result
Comments
either it is supported feature or not
also copy paste above to your project and try yourself to see
and the way i generated links field urls is correct not yours
there is only 1 hashtag