Re: [Tracker] Tomboy note extractor
- From: Jamie McCracken <jamiemcc blueyonder co uk>
- To: Mikkel Kamstrup Erlandsen <mikkel kamstrup gmail com>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] Tomboy note extractor
- Date: Fri, 17 Nov 2006 10:06:14 +0000
Mikkel Kamstrup Erlandsen wrote:
2006/11/16, Jamie McCracken <jamiemcc blueyonder co uk
<mailto:jamiemcc blueyonder co uk>>:
Mikkel Kamstrup Erlandsen wrote:
> I created a small tomboy note extractor (attached)... It should
run on
> any system with a Python installation - I think the XML parser I
use is
> bundled with Python.
hmm would prefer it internal to tracker in C to be honest. The external
metadata extractors are driven by mime type so it would be tricky/hacky
to do them via that mechanism (this is the same as our email stuff -
its
all internal)
It should be real easy to do this in C if anyone's willing
I could do that - I digged around the extraction code and it seemed
fairly intuitive. Should I use libxml or just plain hardcoded grep-like
hacks (or libXYZ)?
use the glib xml parser (see abiword extractor)?
I think I just misunderstood, when I read somewhere that Tracker could
use extractors written in any language since they are just g_spawn_async'ed?
it would be possible but extractors are mainly for mime types - I could
make a fake notes/tomboy mime I suppose if we were desperate
--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]