Parse Count

xboredx

Client
Регистрация
26.12.2011
Сообщения
18
Благодарностей
0
Баллы
0
When parsing things like links for example from a webpage, is there a way to access the number of links through the ZP system? I notice in element properties it will display the instances of the parsed item, bit I cna not figure out how to access those?
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
You would have to regex the page to find ALL links and save them to a list. Then do list processing and use Count of lines to get the number of matches
 

xboredx

Client
Регистрация
26.12.2011
Сообщения
18
Благодарностей
0
Баллы
0
I was afraid of that. I was hoping since the data is there maybe the value was stored at an application level accessible to the project. I am trying to loop through pages of links that vary based on search criteria so counting what I already have won't work. Thanks though!
 

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