photo

Anonymous

shared this question
2 years ago

Employees Involved

photo

SCM

Admin

Statistics

13
Comments
1
Views

Share

Tags

148
votes

Link Insert: Replaces the First Keyword Found Instead Randomly

Not sure if I should post this as a problem or idea.

Whenever I try to add link and choose "Insert Link: Replace keyword or insert randomly" it does what it is supposed to, replacing the keyword with my link/anchor, but the thing is that it replaces the very first one it finds. My articles in my case have the keyword multiple times throughout all paragraphs and I wish SCM to replace a random keyword instead of the very first one it finds. Usually the first keyword is right at the beginning and so all articles look very spammy and unnatural beginning with a link straightaway.

Or even better yet would be to add another option:

"Replace keyword or insert randomly" - EXISTING

"Replace random keyword or insert randomly" To be added

This way we can have more control over where the link is being posted.

Add Comment

Comments (13)

photo Employee
127

SCM replaces keywords only at a paragraph level.

If it chooses the first paragraph, then only the first paragraph will have links in it. (Even if other paragraphs might have the keyword)

This is required because of how paragraph variations work.

If you set paragraph variations to 2. And link count to 2. Then SCM by definition has to select the same 2 paragraphs in both variations, otherwise you will have 0 - 4 links appearing randomly.

photo
121

I just posted this, but for some reason firefox refuses to log me in even though I cleared cookies and cache.. strange..

photo Employee
118

Goce Ristov wrote:

I just posted this, but for some reason firefox refuses to log me in even though I cleared cookies and cache.. strange..
Its a problem with this platform. Clear logins + cookies, then re-open page and login. But DON"T select REMEMBER ME for 14 days.

Its an annoying bug.

photo
130

Yes, but can't it be somehow done to scan throughout the whole document for the keyword first, and then choose a random paragraph(let's say #3) which contains it (even though paragraph #1 contains it as well), and then look for the keyword again in the variations of paragraph #3 to see if it is contained as well, and if not insert it randomly.

I know it sounds very complicated, but SCM should be able to determine which paragraph number it is and which ones are its variations so technically should be possible?

If not is there any workaround to this maybe?

photo Employee
115

It does something similar.

It counts number of paragraphs in your article, then randomly selects a number.

So it should NOT always be the 1st paragraph.

photo
125

Sorry I don't quite get it. If it does count the number of paragraph and randomly selects one it should be able to insert it in the one that it has selected randomly(example #3) not the first one.

I can't understand, but I'm sure you know your stuff much better than I do with SCM so if you say it cannot be done I take it as that.

Just thinking about any workaround to this, it's super-important for me because most of the articles do contain the keyword in the first paragraph and whats worse they even begin with it as first word. I will post here if I think of something up how to solve it with the way it is.

photo Employee
119

Hi,

Sorry, I mean it selects a random number.

So if article is 6 paragraphs, it will select number from 1- 6.

So yes, there is 1/6 chance that for that article SCM will select paragraph 3.

BUT

if you are saying its ALWAYS the first paragraph, then this is a bug.

photo
116

Yes, that is exactly what I'm saying. I had one article with 3-5 paragraphs and 50 variations per paragraph made with SCM. Then with Content Inserter I inserted links, images and videos. It all turned out fine except this. All the links are contained in the first paragraph only(including its variations ofcourse) so now when I spin-preview this article I get a link only in the first paragraph no matter how many versions I spin from it.

If it's a bug, then can I help with something?

I will check how it goes on another smaller task and see if it does the same.

photo Employee
125

Is this 1 article with 50 variations?

Its not possible to randomise link location in one article using paragraph variations.

The way to do it is to lower variations, and instead increase article count.

So try, 50 articles, with 10 variations instead.

photo
138

Yes it is one article with 3-5 paragraphs and 50 variations.

EDIT: Although I'm not sure if there was enough content for all the variations to be created..

photo Employee
126

Goce Ristov wrote:

Yes it is one article with 3-5 paragraphs and 50 variations.

EDIT: Although I'm not sure if there was enough content for all the variations to be created..

Its not possible to randomise link location in one article using paragraph variations.

The way to do it is to lower variations, and instead increase article count.

So try, 50 articles, with 10 variations instead.

photo
125

But of course! How stupid am I! I can see it now, your first response should have made sense to me when it is one article only.

Thanks a lot man! Excuse me for this, I'm very sleepy.. Please allow me to say that you're the best developer I've ever encountered, seriously!

Regards!

photo Employee
113

Goce Ristov wrote:

But of course! How stupid am I! I can see it now, your first response should have made sense to me when it is one article only.

Thanks a lot man! Excuse me for this, I'm very sleepy.. Please allow me to say that you're the best developer I've ever encountered, seriously!

Regards!

No problems.

Its quite complicated actually. Its not obvious that paragraph variations is what causes all the link locations to get fixed in any one article.

Leave Comment

photo