summaryrefslogtreecommitdiff
path: root/plugins/ImportTXT/doc/readme_ru.txt
blob: 2c7e4c3ebb46e847e73b5b839201cc62d2088115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Import TXT plugin for Miranda IM
================================
Ïëàãèí ïðåäîñòàâëÿåò âîçìîæíîñòü èìïîðòèðîâàòü èñòîðèþ êîíòàêòîâ
èç äðóãèõ êëèåíòîâ, õðàíÿùóþñÿ â òåêñòîâûõ ôàéëàõ.

Copyright and License
===============================

Copyright (C) 2008 Andrey Kunitsyn (Abyss) All Rights Reserved
Some procedures are used written by Alexey Kulakov

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.


Óñòàíîâêà:
==========
1. Ñäåëàéòå áýêàï Áàçû Ìèðàíäû
2. Ñêîïèðóéòå importtxt.dll, ïàïêó importtxt è âñ¸ å¸ ñîäåðæèìîå â ïàïêó Plugins êàòàëîãà Ìèðàíäû.
3. Ñêîïèðóéòå ôàéë pcre3.dll â êîðåíü ìèðàíäû èëè system32
4. Ñîäåðæèìîå ôàéëà importtxt_translate.txt äîáàâüòå â êîíåö Ëàíãïàêà
5. Çàïóñòèòå ìèðàíäó
 ìåíþ êîíòàêòîâ ïîÿâèòñÿ ïóíêò "Import history..." ("Èìïîðòèðîâàòü èñòîðèþ")
 ãëàâíîì ìåíþ ïîÿâèòüñÿ òàêîé æå ïóíêò - ýòî ìàñòåð èìïîðòà.

Äëÿ àâòîñòàðòà ìàñòåðà íóæíî ïðîïèñàòü â áàçå ImportTXT/AutoStart çíà÷åíèå 1 òèïà byte

ÂÀÆÍÎ:
======
Îáÿçàòåëüíî ñäåëàéòå áýêàï áàçû!
Ôàéëû øàáëîíîâ äîëæíû áûòü â êîäèðîâêå ANSI.


Îïèñàíèå:
=========
Ïëàãèí íàïèñàí ñ íàöåëåííîñòüþ íà óíèâåðñàëüíîñòü, âû ìîæåòå íàïèñàòü
ñâîè ïðàâèëà ðàçáîðà ôàéëîâ è ïîëîæèòü â ïàïêó importtxt.
ÍÎ åñòü íåêîòîðûå îãðàíè÷åíèÿ:
1. Âõîäíûå ôàéëû ìîãóò áûòü â ëþáîé êîäèðîâêå (ANSI, UTF8, UCS2) 
   (ïåðåêîäèðîâàíèå ïðîèñõîäèò ñ êîäîâîé ñòðàíèöåé ëàíãïàêà, åñëè åãî íåò òî ñ ñèñòåìíîé)
2. Êàæäîå ñîîáùåíèå â ôàéëå äîëæíî ñîäåðæàòü çàãîëîâîê ñ ïîëíîé èíôîðìàöèåé î íåì:
	- íàïðàâëåíèå (âõîäÿùåå èëè èñõîäÿùåå)
	- òàéìøòàìï (ïîëíàÿ äàòà, ïîëíîå âðåìÿ (ìîæíî áåç ñåêóíä, íî ýòî äîëæíî áûòü îáîçíà÷åíî â øàáëîíå)
	- òåêñò ñîîáùåíèÿ :)
3. Íà÷èíàÿ ñ âåðñèè 0.0.0.5 ïîääåðæèâàþòñÿ âõîäíûå ôàéëû ñëåäóþùåãî âèäà:
   â ôàéëå åñòü çàãîëîâîê ñ íèêàìè ïåðåïèñûâàþùèõñÿ	, â çàãîëîâêå êàæäîãî ñîîáùåíèÿ åñòü Íèê, íî íåò íàïðàâëåíèÿ ñîîáùåíèÿ
   (ïîä ýòîò òèï ïîäõîäÿò ôàéëû ýêñïîðòèðóåìûå History++)
4. Äëÿ ìàññîâîãî èìïîðòà íåîáõîäèìà èíôîðìàöèÿ î êîíòàêòå íàçíà÷åíèÿ (UID èëè Íèê), â çàãîëîâêå ôàéëà èëè èìåíè ôàéëà.

Íà÷èíàÿ ñ âåðñèè 0.0.1.2 ðåàëèçîâàíà ïîääåðæêà íåêîòîðûõ áèíàðíûõ ôàéëîâ.
(êàêèõ èìåííî ñìîòðèòå pattern_cfg)
Íà÷èíàÿ ñ âåðñèè 0.0.1.7 äîáàâëåí èìïîðò èç XML ôàéëîâ ICQ5 (äëÿ èìïîðòà íóæíî ÿäðî íå íèæå 0.8.0.21)
	
Ïðèìåðíûé àëãîðèòì ðàáîòû:
==========================
 ôàéëå èùåòñÿ ðåãóëÿðíîå âûðàæåíèå îïèñàííîå â øàáëîíå, ïðè ïîìîùè ïîäâûðàæåíèé âûäåëÿåòñÿ äàòà, âðåìÿ è òä.
Âñ¸ ÷òî íàõîäèòñÿ ïîñëå íåãî è äî ñëåäóþùåãî ñ÷èòàåòñÿ òåêñòîì ñîîáùåíèÿ.

Äóáëèêàòû
=========
Ïðè èìïîðòå ïðîèñõîäèò ïðîñòàÿ ïðîâåðêà íà äóáëèêàòû (íàïðàâëåíèå, òàéìøòàìï, ðàçìåð ñîîáùåíèÿ) êàê â import.dll

Íàïèñàíèå øàáëîíà:
==================
Ôîðìàò ôàéëîâ øàáëîíà îïèñàí â pattern_cfg
Ïðèìåðû íàïèñàíèÿ ñ êîììåíòàðèÿìè â examples

Ïîäðîáíåå î ðåãóëÿðíûõ âûðàæåíèÿõ âû ìîæåòå ïî÷èòàòü â èíòåðíåòå ;).