[sword-devel] Getting stuff done (Re: External links)
Chris Little
chrislit at crosswire.org
Tue Nov 25 19:19:11 MST 2008
Matthew Talbert wrote:
>> Frontend developers simply need to be on the lookout for
>> osisRef="Josephus:Ant.1.8.2" and know how to handle that themselves.
>> That may simply entail converting it to <a
>> href="sword://Josephus/%2Ant%2F1%2F8%2F2"> in the case of GnomeSword.
>> (And the same for TEI: <ref target="Josephus:Ant.1.8.2">.
>
> So the html filter will spit out what exactly for this? Gnomesword
> uses the html filter without altering the content in any way (as I
> understand) so for this to be interpreted as a link, it must be output
> with <a> tags. So wouldn't this be an engine issue in the html filter?
Assuming that GnomeSword uses the stock HTMLHREF filters and assuming
that they want to use the private protocol URIs for linking, then yes
this would need to be added into the OSISHTMLHREF and TEIHTMLHREF.
If it uses its own filters, those would need to be changed. If a
different method of linking is used, then something else will need to be
implemented. Etc.
--Chris
More information about the sword-devel
mailing list