[sword-devel] Implemented writable interface in RawText
Joachim Ansorg
sword-devel@crosswire.org
Wed, 30 Aug 2000 20:23:39 +0000
Hi Troy!
> Our most common Bible module driver-- RawText-- now is writable. This
> will allow editing of most of our existing modules.
Very good news! This was a thought of me to implement something llike the
following in BibleTime:
-Create new module (bible, lexicon or commentary) which will be writeable
(managed by BibleTime)
-Edit verses etc of the module
->This does help us to get user-made modules like commentaries etc. if they
do it step by step and if they don't want to convert a whole module at once
this feature is IMHO useful.
Does somebody like it or find it useful?
With the new RawText thing it will IMHO be easier.
> The implementation appends the new entry to the end of the datafile.
> Lot's of editing will produce a bigger and bigger data file.
Oh! This is not so good.
Can't we make it real functional by adding support to write keys somewhere in
the text? Otherwise lots of things won't work (e.g. console indexer etc.). In
the worst case the text of Genesis 1:1 is at the end of te module!
> I'm hoping to add a 'getModifications()' option to this driver that will
> find appended entries. This will allow us to put in a 'Submit Edits'
> option in the frontends and allow users to submit changes for modules.
> I think this will be useful.
??
I do not understabd correctly. Something like I mentioned above (writing at
the real position)?
> This is one idea that came from dinner with Jerry and Geoff Hastings
> last week. It was nice to finally meet someone in person from the
> project. We had a good brainstorming lunch!
Hey, cool!
I like dinners and discussing.
Maybe I'll spend some weeks in USA to learn proper english for school, so
we'll eat dinner together ;-)
> -Troy.
-Joachim