How to Check Keyword in Meta

mactron

Пользователь
Регистрация
16.11.2014
Сообщения
93
Благодарностей
2
Баллы
8
Hello,

I have list of targets (300 sites) and I need to check if keyword of my niche (example: weight loss) exist in meta title of target sites..

I need to save results in two separated .txt files:

1.txt keyword exist
2.txt keyword not exist

I'm trying with if action, but without any success.. :(

Any suggestions please?

Thank you
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Use text processing action - Regex
As test you use macro -Page.Source-}
as regex your keyword.
you put result in any variable
After this you use IF action with syntax '{-Varaible.var-}'!=''
 
  • Спасибо
Реакции: mactron

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 237
Благодарностей
5 847
Баллы
113
  • Спасибо
Реакции: mactron

mactron

Пользователь
Регистрация
16.11.2014
Сообщения
93
Благодарностей
2
Баллы
8
Ok... How I can put results in to .txt two files...

1.txt if title exist
2.txt if title does not exist..
 

Вложения

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113

mactron

Пользователь
Регистрация
16.11.2014
Сообщения
93
Благодарностей
2
Баллы
8
I know how to write results into list.. I just don't understand these if actions....
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
If statement has two possible values: true or false.
And each action has two exits: green (success/true) and red (fail/false)
Construction '{-Varaible.var-}'!='' for IF action means;
IF variable var doesn't equal empty string
 
  • Спасибо
Реакции: mactron

mactron

Пользователь
Регистрация
16.11.2014
Сообщения
93
Благодарностей
2
Баллы
8
OK... Let me try..

Thank you guys...
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113
Here it is. I updated your example and added example how you can use GET request for such thing and increase template speed by 100x :-)

Just check logic
 

Вложения

  • Спасибо
Реакции: mactron

mactron

Пользователь
Регистрация
16.11.2014
Сообщения
93
Благодарностей
2
Баллы
8
Thank you so much! :-):-)
 

Кто просматривает тему: (Всего: 2, Пользователи: 0, Гости: 2)