[sword-devel] Getting stuff done (Re: External links)

Greg Hellings greg.hellings at gmail.com
Tue Nov 25 20:18:22 MST 2008


On Tue, Nov 25, 2008 at 8:28 PM, Karl Kleinpaste <karl at kleinpaste.org> wrote:
>> None of this requires engine changes, but rather that we extend the
>> historical conceptual idea of a reference beyond bible:key.
>> This is a frontend change.  Just as gnomesword decomposes a reference
>> from ThML sword://module/key, it should also decompose a reference from
>> OSIS module:key and accommodate the meta modules above accordingly
>
> If the reference comes out in a suitable "passagestudy.jsp"-style
> internal URL reference with content in "&value=", we can do whatever is
> needed.  How does osisRef pop out in the engine's HTML result?  I've
> never noticed.
>
> Also, I know no reason why a module shouldn't have completely external-
> to-the-app http:// references, not just internal-to-other-docs refs.
> Can OSIS provide that kind of linkage?  ThML can, and does, and I use
> it.  (Recent gains with gnome_open_url() have me experimenting with some
> new, interesting, useful capability.)

Since Chris already answered the second one - OSIS has the <a ...> tag
- can we just add the osisRef-to-URI and be done with it?  I've messed
around in the OSIS filters a bit with my mod2osis edits, and this
could easily be added to the logic in there in a few minutes.  What
other features do you need, Karl, that SWORD's OSIS
implementation/filters doesn't support?

--Greg



More information about the sword-devel mailing list