Processing xmpp uri, a sheaf firefox and psiОбработка xmpp uri, связка firefox и psi

That firefox opened xmpp references in psi, it is necessary to come in about:config and to create there a line variable network.protocol-handler.app.xmpp, with value: psi–uri = % s. And also to start gconf-editor and in section/desktop/gnome/url-handlers/xmpp to establish value command also psi–uri = % s.Для того, чтобы firefox открывал xmpp ссылки в psi, необходимо зайти в about:config и создать там строковую переменную network.protocol-handler.app.xmpp, со значением: psi –uri=%s. А также запустить gconf-editor и в разделе /desktop/gnome/url-handlers/xmpp установить значение command также psi –uri=%s.

Plug-in for Juick for Psi +Плагин для Juick для Psi+

At present, the plug-in does illumination of a nickname, number of the message and тегов in messages come with juick@juick.com and beginning with @username:.На данный момент, плагин делает подсветку ника, номера сообщения и тегов в сообщениях пришедших с juick@juick.com и начинающихся с @username: .

It is possible to download here http://code.google.com/p/psi-dev/downloads/list? q=juickplugin скачать можно тут http://code.google.com/p/psi-dev/downloads/list?q=juickplugin
It is necessary to copy in Psi +\plugins (.psi/plugins) Необходимо скопировать в Psi+\plugins(.psi/plugins)
Initial код:http://psi-dev.googlecode.com/svn/trunk/plugins/generic/juickplugin/ Исходный код:http://psi-dev.googlecode.com/svn/trunk/plugins/generic/juickplugin/
The skompilirovanyj plug-in is necessary for copying in ~/.psi/plugins Скомпилированый плагин необходимо скопировать в ~/.psi/plugins
For compilation are necessary исходнки psi + – (source codes psi with the imposed patches psi +), the initial code of a plug-in should be in a folder src/plugins/generic/juickplugins Для компиляции нужны исходнки psi+ – (исходники psi с наложенными патчами psi+), исходный код плагина должен быть в папке src/plugins/generic/juickplugins
To include in Options-> Modules, and to restart psi +. Включить в Настройки->Модули, и перезапустить psi+.
Now on the Adjustment - tab> Modules it is possible to change color and style of registration: Теперь на вкладке Настройки->Модули можно изменить цвет и стиль оформления:

The plug-in correctly works with psi + versions 639 and above. Плагин корректно работает с psi+ версии 639 и выше.
Also the option options.html.chat.render should be established in true, to find it it is possible on a tab in addition. Также опция options.html.chat.render должна быть установлена в true, найти её можно на вкладке дополнительно.

Psi notices on new letters in GmailPsi уведомления о новых письмах в Gmail

Some part of my contacts in jabber uses gtalk. It became interesting to me, “why?”. To read completely» Некоторая часть моих контактов в jabber использует gtalk. Мне стало интересно, “почему?”. Читать полностью »

Transition with icq on jabberПереход с icq на jabber

Something, from nothing has decided to pass with icq on jabber. Попробывать I still probably tried one year ago, but couples psi to me then have seemed not so convenient, in addition with icq transport couldn't understand. Has the day before yesterday rocked and has put on work, зарегаться I have solved on jabber.ru but as I регался there and for the first time and the password has forgotten it was necessary a little other nickname зарегать. Has connected icq transport from nextmail.ru, I wish it long life while all my contacts won't pass on jabber). And that many servers have ceased to give icq transport, the same jabber.ru. And so here I was waited by a small dirty trick, all icq contacts have turned out as though not authorized and as without authorization to move their groups I hasn't thought, so it was necessary to dispatch the message on authorization to all contact to sheet, and it was not necessary to some (me at them in contact sheet even aren't present) It was necessary to authorize manually all (though has then found in options point, that automatically). jabber gives transport for Mail IM though and мэил the agent and I do not use, but this service informs on new letters, the agent is more exact мэил) will be connected to яндексу through j2j couples it has not turned out, therefore it was necessary to create additional акк besides to receive notifications about new letters. With gmail all has passed without problems through j2j (well you will do, much at me post акков).Что-то, от делать нечего решил перейти с icq на jabber. Попробывать я ещё наверное год назад пытался, но чёт psi мне тогда показался не очень удобным, да к тому же с icq транспортом не смог разобраться. Позавчера качнул и поставил на работе, зарегаться я решил на jabber.ru, но так как я регался там и в первый раз и пароль забыл пришлось немного другой ник зарегать. Подключил icq транспорт от nextmail.ru, желаю ему долгой жизни, пока все мои контакты не перейдут на jabber). А то многие сервера перестали предоставлять icq транспорт, тот же jabber.ru. Так вот тут меня ждал маленький подвох, все icq контакты получились как бы не авторизованные и как без авторизации переместить их группы я не сообразил, так что пришлось разослать сообщение об авторизации всему контакт листу, а некоторым не надо было(меня у них в контакт листе даже нету) Пришлось вручную всех авторизовать(хотя потом нашёл в настройках пункт, чтоб автоматически). jabber предоставляет транспорт для Mail IM, хотя и мэил агентом и не пользуюсь, но этот сервис сообщает о новых письмах, точнее мэил агент) подключится к яндексу через j2j чёт не получилось, поэтому пришлось создавать дополнительный акк, чтоб опять же получать оповещения о новых письмах. С gmail все прошло без проблем через j2j( ну что поделаешь, много у меня почтовых акков).
In psi there is a spelling possibility, through Aspell, which I юзал for spelling in Opera so I have thrown from folders dict and data folders Aspell in corresponding folders in psi. And in Windows it is necessary to add system variable LANG with value ru, truth check English words then is disconnected. In other OS yet didn't try. Having come home and having put psi it has picked up an old profile on jabber.bol.ru, from which I as didn't remember the password) to the aid have come скриптик on python: В psi есть возможность проверки орфографии, через Aspell, который я юзал для проверки орфографии в Opera, так что я перекинул из папок dict и data папки Aspell в соответствующие папки в psi. И в винде нужно добавить системную переменную LANG со значением ru, правда проверка англ. слов тогда отключается. В других ОС пока не пробовал. Придя домой и поставив psi он подцепил старый профиль на jabber.bol.ru, пароль от которого я так же не помнил) на помощь пришёл скриптик на python:

11
22
33
44
55
66
77
88
99
1010
1111
1212
1313
1414
1515
1616
1717
1818
1919
2020
2121
2222
2323
2424
2525
2626
2727
2828
2929
3030
3131
3232
3333
3434
def hexChar2int (c):def hexChar2int(c):
if (c > = ' A ' and c < = ' F '): if (c >= 'A' and c <= 'F'):
return ord (c) - ord (' A ') + 10 return ord(c) - ord('A') + 10
elif (c > = ' a ' and c < = ' f '): elif(c >= 'a' and c <= 'f'):
return ord (c) - ord (' a ') + 10 return ord(c) - ord('a') + 10
elif (c > = ' 0 ' and c < = ' 9 '): elif(c >= '0' and c <= '9'):
return ord (c) - ord (' 0 ') return ord(c) - ord('0')
return 0 return 0

def decodePassword (password, key): def decodePassword(password,key):
result = "" result=""
n1=0 n1=0
n2=0 n2=0

if (len (key) == 0): if(len(key) == 0):
return password return password

n2=0 n2=0
for n1 in range (0, len (password), 4): for n1 in range( 0, len(password), 4):
x = 0 x = 0
if (n1 + 4 > len (password)): if(n1 + 4 > len(password)):
break break
x + = hexChar2int (password [n1]) *4096 x += hexChar2int(password[n1])*4096
x + = hexChar2int (password [n1+1]) *256 x += hexChar2int(password[n1+1])*256
x + = hexChar2int (password [n1+2]) *16 x += hexChar2int(password[n1+2])*16
x + = hexChar2int (password [n1+3]) x += hexChar2int(password[n1+3])
c=x ^ ord (key [n2]) c=x ^ ord(key[n2])
n2 + = 1 n2+=1
result + = chr (c) result += chr(c)
if (n2 > = len (key)): if(n2 >= len(key)):
n2 = 0 n2 = 0
return result return result

print decodePassword ("001011010", "vampirus@jabber.bol.ru") print decodePassword("001011010","vampirus@jabber.bol.ru")

Also that it is no wonder, this password has approached to vampirus@jabber.ru, here now I think, at transition to it besides will demand authorization for icq contacts.и что неудивительно, этот пароль подошёл к vampirus@jabber.ru, вот теперь думаю, при переходе на него опять же потребует авторизацию для icq контактов.
So mine jabber contact vampirus@jabber.ru, pass on jabber and be added) Так что мой jabber контакт vampirus@jabber.ru, переходите на jabber и добавляйтесь)

upd: таки it has turned out through j2j транспотр подконектится to яндексу, it is necessary in the server and in the domain ya.ru to write. And it for Googleupd: таки получилось через j2j транспотр подконектится к яндексу, надо в сервере и в домене ya.ru писать. а это для гугла
Username: your login on Google Username: ваш логин на Google
Password: the password from account Google Password: пароль от аккаунта Google
Server: gmail.com or any another on Google Apps Server: gmail.com или любой другой на Google Apps
Domain or IP: talk.google.com Domain or IP: talk.google.com
Port: 5222 Port: 5222

One more problem – isn't present a sound in psi in ubuntu, by default for sound reproduction is used play which by default isn't present in ubuntu for this purpose it is necessary to put sox.ещё одна проблема – нет звука в psi в ubuntu, по умолчанию для воспроизведения звука используется play которого по умолчанию нету в ubuntu для этого надо поставить sox.

11
sudo apt-get install soxsudo apt-get install sox

But at me всёравно hasn't earned, by means of what to lose it is possible to adjust in section sound (well or a sound (:) basically it is possible any player, someone mplayer uses, I while aplay have put, like while norms.но у меня всёравно не заработало, с помощью чего проигрывать можно настроить в разделе sound(ну или звук (: ) в принципе можно любым плеером, кто-то mplayer использует, я пока aplay поставил, вроде пока норм.

upd2: to add a new word in the dictionary aspell, for example "blog" it is necessary (in Windows XP):upd2: для того, чтобы добавить новое слово в словарь aspell, например “блог” нужно(в Windows XP):
1) to place file cp1251.dat in Psi\aspell\data if it isn't present that is possible to download for example here http://www.duke.edu / ~ cramer/root/usr/share/aspell/cp1251.dat 1) поместить файл cp1251.dat в Psi\aspell\data, если его нету то можно скачать например здесь http://www.duke.edu/~cramer/root/usr/share/aspell/cp1251.dat
2) to create a file with new words of a kind 2)создать файл с новыми словами вида

11
22
33
*слово1*слово1
*слово2 *слово2
#

And the coding cp1251и кодировке cp1251
3) to start cmd to pass in a folder with aspell and to execute 3)запустить cmd перейти в папку с aspell и выполнить

11
aspell-d ru - data-dir = "C:\Program Files\Psi\aspell\data" - dict-dir = "C:\Program Files\Psi\aspell\dict" - encoding = "cp1251"-a <Put_do_fajla_so_slovamiaspell -d ru --data-dir="C:\Program Files\Psi\aspell\data" --dict-dir="C:\Program Files\Psi\aspell\dict" --encoding="cp1251" -a < Путь_до_файла_со_словами

Generally the file should be in the same coding which is registered in encoding.в общем случае файл должен быть в той же кодировке, которая прописана в encoding.