Re: [Tracker] My disagreement with a recent change in the ontology for GNOME Notes



Hi!,


On Thu, 11 Jul 2013 13:22:49 +0200, Philip Van Hoof
<philip codeminded be> wrote:
Hi Pierre-Yves,

I should probably have watched the ML more carefully now that it's
committed and too late.


My bad, I hope the fact there was no release yet allows us to revert
without concern.


 
+nfo:xmlContent a rdf:Property ;
+     rdfs:comment "XML/HTML or other rich representation of a document" ;

(...)


I disagree with this approach. We should not put formatted content into
the Nepomuk storage:


(...)


We can't query it, because its contents are formatted and
we don't have query capabilities to query your formatted contents. And
even if we would allow storage of formatted content like XML, we should
enforce the format using a DTD or other XML schema so that we're sure
that the inserted format is valid and known.


I think pushing data into Tracker make sense if the format is
understood by several applications. Which is why i first thought "HTML",
and pushing there only the *representation* of the note. However in the
specific case of notes, XML seemed correct since Tomboy format [1] is
already understood by several applications, such as Tomboy, Gnote,
Conboy, Tomdroid, ongoing Macboy - and Bijiben. (In the XML case
however, we can notice if we stick to Tomboy format, both rich content
and metadata are to be stored.)



Don't abuse Tracker to solve your 'whatever' storage needs.

Sure, this is not the idea at all.


Regards,
Pierre-Yves
 
[1] https://wiki.gnome.org/Tomboy/NoteXmlFormat


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