Re: [Tracker] Tracker / Tomboy / Maemo



On Fri, 2009-06-12 at 17:29 +0200, Philip Van Hoof wrote:
* Is there already an indexer for Tomboy or GNote[4]? If yes, I think I
could reuse it because the XML file format is exactly the same. While
searching I only found this message (including some code):
http://www.mail-archive.com/tracker-list gnome org/msg00954.html

In master you should probably just make an ontology for notes and store
it directly into Tracker's storage, instead of storing XML files
yourself.

Because all data must be indexed (for fulltext searching) anyway, why
not simply use Tracker as sole storage then?

Thank you for this super fast answer! Somehow I expected you'd say
that ;) and I'm sure it's probably the right thing to do. The problem
is, that (for now) I cannot completely remove the XML backend, because
the sync solution is not finished yet. So many users just copy their
Tomboy files to the Maemo tablets using e.g. rsync.
As an intermediate step I think I should write an indexer for the xml
format. I just wanted to make sure that no one else already did. It
shouldn't be difficult to do. All the xml parsing code already exists
anyways.

* Under /usr/lib/tracker I see extract-modules and indexer-modules. Is
there a document which explains the difference or could you please
explain shortly?

* If I understood correctly I could store my notes directly inside
Tracker without saving them as XML in the file system. What advantages
would that bring (except not having to read/write XML)?

The fact that you don't need to write storage code yourself plus that
you get Tracker's SPARQL query capabilities, plus that all applications
can now start using the data that you've put in Tracker, as context for
their spectacular use-cases.

That sounds promising and should be doable soon. At the moment there is
work going on to get storage backend plug-ins into Conboy. Once that's
done I'll try to write a plug-in that directly saves to Tracker.

Thanks for the help!
Conny





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