need help on my javascript plasmoid

Aaron J. Seigo aseigo at kde.org
Thu Jul 23 19:36:03 CEST 2009


On Thursday 23 July 2009, Patrick Aljord wrote:
> On Thu, Jul 23, 2009 at 2:28 AM, Aaron J. Seigo<aseigo at kde.org> wrote:
> > On Thursday 23 July 2009, Patrick Aljord wrote:
> >> Thanks for your answer. I'm trying to fetch an xml file from a website
> >> that has an xml api and display the results in my plasmoid.
> >
> > will you be parsing the xml before displaying it in some custom manner?
> > (just wondering what all would be needed to be added to make this easy to
> > accomplish)
>
> Yes I would be parsing the xml before displaying, that would be useful
> to show a feed to though for that I could use a plasma engine I guess.
> It would be good to be able to download and parse xml and json (well
> json is easy with JS). And even better, also being able to POST http
> request. That way we'd be able to interact with most web api (eg
> twitter, wikipedia, feeds etc).

yes, i almost wonder if we shouldn't have some generic web api interaction 
bits in there, either via an engine or a Plasma::Service.... a Service plugin 
is probably the way to go, i think, and would be pretty easy to write, indeed.

> > ruby and python are better in that regard, but
> > otherwise (given today's runtime envs for each) are capable of far too
> > many
>
> I think right now I could write a ruby script  that execute
> "File.rm_f('~')", upload it on kde-apps and people would be able to
> install that directly from the desktop, no?

yes. not great, i know.

-- 
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 Software
-------------- 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 : http://mail.kde.org/pipermail/plasma-devel/attachments/20090723/1d1cc49a/attachment.sig 


More information about the Plasma-devel mailing list