On Thu, Jul 16, 2009 at 12:10 AM, markus korn<thek...@gmx.de> wrote:
> 1a.) although it is stated here otherwise, mimetype is not an optional
> entry, the engine itself will discard events without a mimetype
> 1b.) is mimetype really required for an event? Seif: as you are
> working on this application watcher, what is the mimetype of a
> CloseTab/CloseWindow event?
> 2a.) for the same reason, what is in such case the 'uri' of a
> closetab/closewindow event?
> 2b.) is 'uri' really required? What is the uri of a tag added as an
> user activity (adding via GUI or such)?
> 3.) aren't "timestamp", "source", "content" the only required items?
> (sorry, this items are all kind of related, feel free to answer them in one)

damn, sorry, I forgot the most important question:
4.) what should the engine do in case of invalid event dicts (required
items missing, wrong type, unknown keys like 'time', 'mimetypes' or
'somerandom'? raise an Exception (noticed by the client) or just print
a warning to the logs and discard the event (client does not know
about it). currently we are doing a mix of both.

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to