Spinformat posting

kandor

Client
Регистрация
30.01.2011
Сообщения
29
Благодарностей
0
Баллы
0
Hi

I been playing with the macro settings and Regex and all works very well.

But I have encountered an issue that I hope someone can help

At the moment I am parsing with regex to get a title from an article txt file

I have

<title>{Shalom or should I say hi|New day and I like to say {Hello|Howdy|Hi}}</title>

I am using this macro to get the title

{-File.GetString-|-C:\articles\aros.txt-|-random-|-false-|-(?<=\<title\>).*(?=\<\/title\>)-}

But this will essentially posts a title like this on the site I am trying to post to:

{Shalom or should I say hi|New day and I like to say {Hello|Howdy|Hi}}

How would I make zennoposter to actually post a variant and not all this line to the site?

Greatly appreciate help with this task.

Best,
Kandor
 

CSS

Client
Регистрация
22.05.2010
Сообщения
1 327
Благодарностей
663
Баллы
113
You need use this marcos {-String.Split-|-variant 1|variant 2|variant 3-|-|-|-random-} for split variants, demo:
{-String.Split-|-Shalom or should I say hi|New day and I like to say-|-|-|-random-} {-String.Split-|-Hello|Howdy|Hi-|-|-|-random-}
CSS.
 

kandor

Client
Регистрация
30.01.2011
Сообщения
29
Благодарностей
0
Баллы
0
I take it that this won't work with nested spins.

Best,
Kandor
 

CSS

Client
Регистрация
22.05.2010
Сообщения
1 327
Благодарностей
663
Баллы
113

kandor

Client
Регистрация
30.01.2011
Сообщения
29
Благодарностей
0
Баллы
0
Would be a great feature to see in new version of Zennoposter.

As we all use it for different seo tasks it kind of makes sense to have full spinn support without the need of using Regex for the spinning bart at all and full support for nested spins.

Best,
Kandor
 

dongle132

Client
Регистрация
22.01.2011
Сообщения
35
Благодарностей
0
Баллы
0
So there's no way of using spinned text (like from TBS) within a TXT-file ?!
I always have to create a String.Split ??
 

kandor

Client
Регистрация
30.01.2011
Сообщения
29
Благодарностей
0
Баллы
0
Simple spins you can run with Regex

But nested spins won't work.

Best,
Kandor
 

theninjamanz

Client
Регистрация
20.01.2011
Сообщения
8
Благодарностей
2
Баллы
0
Having some kind of spin function would be really helpful.
 

BlackSun

Client
Регистрация
24.01.2011
Сообщения
119
Благодарностей
3
Баллы
0
To handle nested spins you need to recursively call your Regex until you've unspun all the spintax. Not sure if this is possible using macros. Should be easy to implement with javascript though.
 

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