Javascript plasmoids

Aaron J. Seigo aseigo at
Tue Sep 1 18:04:51 CEST 2009

On September 1, 2009, Chani wrote:
> On August 31, 2009 20:04:37 Federico Kereki wrote:
> > Hi!
> >
> > I was thinking about developing two plasmoids, and wondered whether the
> > JavaScript bindings/libraries/whatever were up to this:
> >
> >    - a RSS news reader: needs to be able to connect to a remote server
> >    (Ajax), get XML data, process it, and update its view. Must be able to
> >    configure to which sites to connect.
> we've already got an rss dataengine, so an rss plasmoid will be easy
> (forget all the ajax and xml processing, all you have to do is diaplay the
> data nicely)

yes, this one is straight forward.

> >     - a fancy clock: needs to get the time, and show it with fancy
> >  graphics. Must be able to configure the display format, picking a style
> >  out of several.
> hmm. can javascript plasmoids use libplasmaclock?


> I'm not sure. without
> that a clock would be more work and less fancy (but still possible of
> course).

sure. you have full access to to QPainter and Svgs from JavaScript and along 
with the time DataEngine, one should be "good to go"
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Framework
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the Plasma-devel mailing list