List Info

Thread: HTML chat




HTML chat
user name
2008-02-13 14:57:39
Hi,

I have checked search results for: "html/xhtml/AdiumX'
and I've found
nothing interesting.

Qt4.4 has integrated WebKit browser/ html render.

* http://labs.trolltech.com/blogs/200
7/12/19/qt-440-technical-preview-released/
* http://webkit.org/
* 
http://doc.trolltech.com/main-snapshot/qtwebkit.html

I would like to start developing Psi. I have made a few
patches for
Psi (a long time ago, when it was in the darcs repository)
but i
didn't submit them to mailing list (just simple/workaround
patches for
own use).

I want to make HTML chat ( http://psi-im.org/wi
ki/HTML_chat ) for psi.

1. WebKit is powerful rendering engine.
2. It's included in Qt4.4 (QWebView)
3. so we don't need kde-libs nor KHTML
4. just compare chat windows from screenshot on http://psi-im.org/ and
http://www.adiumx.com/screenshots/images/overvieworan
ge.jpg - psi
needs new look and feel.

As Kopete 0.12 has support for AdiumX chat styles and Adium
has a lot
of themes (http://www.adiumxtras.com/index.php?a=search&cat_id
=5) I
think it's good idea to use them instead of inventing new
format.

I am going to:
1. get through Psi source code, familiarize with
infrastructure
2. write alternative chat dialog (psi is (rather) not
memory
consuming, so IMHO user should have a choice what
(text-/html-based)
chat window type he want to use)
3. I am sure before I finish chat dialog prototype qt4.4
won't be
Technology Preview 
4. change configure scripts (--enable-html-chat will require
qt-4.4)

Any suggestions? Or maybe you don't want HTML chat?
Does anyone do this task?



Regards,
Pawel 'senu' Wiejacha.

ps. I know my English is poor.
_______________________________________________
Psi-Devel mailing list
Psi-Devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com

Re: HTML chat
user name
2008-02-13 18:40:37
On Feb 13, 2008 3:57 PM, senu <senutekgmail.com> wrote:
> I want to make HTML chat ( http://psi-im.org/wi
ki/HTML_chat ) for psi.

Thanks for wanting to help!

> Any suggestions? Or maybe you don't want HTML chat?

Be sure to read the guidelines posted to our wiki:
http://psi-im.org/wi
ki/Main_Page

Also, there is an HTML chat design doc, but I do not know
how recent
it is.  Please make a wiki account so you can contribute to
this page
in particular: http://psi-im.org/wi
ki/HTML_chat

> Does anyone do this task?

I'll let one of the devs answer that.

-- 
Blog: http://halr9000.com
Webmaster, Psi (http://psi-im.org)
Co-host, PowerScripting Podcast (http://powerscripting.net)
_______________________________________________
Psi-Devel mailing list
Psi-Devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com

Re: HTML chat
user name
2008-02-14 04:38:55
On Wed, Feb 13, 2008 at 8:57 PM, senu <senutekgmail.com> wrote:
>  I have checked search results for:
"html/xhtml/AdiumX' and I've found
>  nothing interesting.
>  Qt4.4 has integrated WebKit browser/ html render.

It has - I've had a quick experiment with using it for Psi's
chat
rendering, and that works ok. I haven't tried importing
adium's
themes, and that's something which is worth looking at. Not
top of our
priorities while 4.4 is still unreleased, but if you had a
high-quality and secure patch ready for when it's released,
that'd be
great.

Best,
/K
_______________________________________________
Psi-Devel mailing list
Psi-Devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com

Re: HTML chat
user name
2008-02-14 08:13:53


On 14/02/2008, Kevin Smith < kevinkismith.co.uk">kevinkismith.co.uk> wrote:
>; On Wed, Feb 13, 2008 at 8:57 PM, senu < senutekgmail.com">senutekgmail.com> wrote:
&gt; &nbsp;>&nbsp; Qt4.4 has integrated WebKit browser/ html render.
&gt; &nbsp;
> It has - I've had a quick experiment with using it for Psi's chat
>&nbsp; rendering, and that works ok. I haven't tried importing adium's
>&nbsp; themes, and that's something which is worth looking at. 

Wow, then I guess the work is much simpler now than it was when we had to use KHTML or WebKit as an external library.

By the way, the information in the wiki page (http://psi-im.org/wiki/HTML_chat) is indeed deprecated. The second sections talks about the integration of WebKit or KTHML into the project, which is clearly not needed at this point.

I guess Kopete';s code for Adium themes integration is still usable. They had that a pair of classes for importing/rendering Adium themes, I believe. They're written in Qt and use KHTML for the rendering. The adaptation should not be a big deal - when you don't have a PhD on the go, anyways :P

Cheers,

Fran.


--
Francisco Joaquín Rodríguez Prados
Colegio Mayor Isabel la Católica
Universidad de Granada
Granada, Spain
Phone: (+49) 176 24 255 490
Phone: (+34) 615 975 631
E-mail: pradosgmail.com">pradosgmail.com
JID: franquijabber.dk">franquijabber.dk
 
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )