Problem in parsed email when saving in a text file...?

purush84

Client
Регистрация
07.11.2011
Сообщения
259
Благодарностей
38
Баллы
0
Hi,

I am creating template for wiki sites,

In shorten way :

1.List of urls running in two ways
- direct submission
- with e- mail processing
2. domain gets parsed for the identification
3. activation link parsed that will be stored in a .txt file.
4. Activation link get loaded and the further posting procedures.... etc


The problem is,

The parsed domain saved in a .txt file with line breaks

Ex:

http://www.google.com
http://www.google.com
http://www.google.com

http://www.yahoo.com
http://www.google.com

http://www.apple.com

The inbetween line breaks maybe my direct submission links.
The empty lines loaded for mail identification and cause problems in parsing the activation link.


We troubling with this issue, what is your suggestion..help us ?

Thanks!!!!
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
You probably parse link with addition line break, that's why you get emty lines added. You could change the regexp or replace line breaks in a parsed link before adding it to a file.
 
  • Спасибо
Реакции: purush84

purush84

Client
Регистрация
07.11.2011
Сообщения
259
Благодарностей
38
Баллы
0
Hi,

I don't know whether i have parsed with line breaks..? I think you can help:-)

{-File.AppendString-|-\Resources\FOSWIKI\domain.txt-|-{-RegExp.RegExp-|-http://deed.ryerson.ca/w/bin/register?action=verify;code=CosmoWilde.82639807-|-(?<=(http|ftp|https):\/\/).*?(?=\/)-|-0-}-|-true-}

And one more thing :
After parsing, the links in the parsed .txt file gets line breaks for every link when it gets loaded for further processing during the zennoposter running .

Thanks!!
 

purush84

Client
Регистрация
07.11.2011
Сообщения
259
Благодарностей
38
Баллы
0
Did you get it hungry !!!! :-)
 

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