Re: gsoc-2013 - lua plugins



Em Mon, 2013-04-15 às 11:11 +0200, Juan A. Suarez Romero escreveu:
Maybe we want to add some utility functions in the lua-factory part
that
the lua plugins could use to ease the implementation.

In my example plugin, I only needed a few functions exported to the
plugins to implement the BBC News plugin:
https://mail.gnome.org/archives/grilo-list/2012-July/msg00021.html

I would include a function to download a URL as text, a callback to send
out media information, a way to return an error, and some XML/XPath and
Json helpers (using libxml2 and json-glib).

If particular plugins require more libraries (say, MD5 sums generation,
etc.) we should make it easy to add new functions to grilo's builtin Lua
functions.

Cheers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]