[bt-devel] bookmarks
Joachim Ansorg
bt-devel@crosswire.org
Sat, 20 Jul 2002 16:08:57 +0200
Troy,
I think you're right about your comment doing the bookmark stuff in the
engine.
I don't wanted to use the TreeKeyIdx class because this owuld have created
different files. But saving to XML sounds nice. I never thought about this.
Is saving to one single XML file (no index files etc.) possible? Is saving and
loading then simple? IMHO implmenting an own XML reader for the class is not
a good idea. Is using an XML lib possible? This would be another dependancy,
as you said.
Since I have not studied computer science I'm not sure if I can write the
stuff. But I'll try if you give me some hints how to start.
Thank you Troy!
Joachim
> Just to clear this up....
>
> This excerpt was quoting me giving Martin a hard time about KDE--
> joking. I further went on to assure him I was joking by saying that
> depending on an XML parser was perfectly fine since you already have a
> dependency on KDE itself. He seems to have left that part out-- must be
> a democrat :) Ok, I'm getting in more trouble now... I'll leave it at
> that.
>
> -Troy.
>
> Martin Gruner wrote:
> > Looks like Troy would be happy to have the bookmark stuff directly in
> > sword. Would that be possible? And we should talk about the XBEL, it
> > sounds promising.
> >
> > Martin
> >
> > [09:59:41] <scribe> I was hoping you'd do the bookmark stuff in the
> > engine [09:59:53] <scribe> but you KDE guys have a different mentality
> > [09:59:59] <scribe> oh, we need an XML parser
> > [10:00:05] <scribe> just add a dependency
> > [10:00:08] <scribe> :)
> > [10:04:51] <scribe> If you could get Joachim to write his bookmark stuff
> > using the TreeKey interface and saving in his XML format, we'd have
> > another output format for TreeKey subclasses.
> > [10:07:37] <scribe> <scribe> If you could get Joachim to write his
> > bookmark stuff using the TreeKey
> > interface and saving in his XML format, we'd have another output format
> > for TreeKey subclasses.
> > [10:07:37] <scribe> <scribe> TreeKeyIdx and TreeKeyXML
> > [10:07:37] <scribe> <scribe> or something
> > [10:09:55] <scribe> this would have taken longer to do this way
> > [10:10:04] <scribe> but would benefit all 3 frontends