[sword-devel] HTML filter patches for SWORD

Nic Carter niccarter at mac.com
Wed Feb 24 03:18:22 MST 2010


Actually, now that I've created these diffs, I wonder if I actually have write access to SWORD SVN myself?

But rather than try (and so that I can get comments before applying the patches), I have attached some diffs for strongs, morphology, footnotes & xref stuff for the HTML filters.  I'm not sure who actually uses the HTML filters, but PocketSword and MacSword do.  The changes are simply to create some css classes for those 4 things so that the frontend can easily define CSS classes to customise the markup.  I may go back, if I have the time, and add more classes for other parts of the HTML code, too, depending on what other ppl think of this idea (and who is actually using this!).

The hope is that other ppl who do use the HTML filters won't be affected.  If ppl have written CSS stuff based on what is currently outputted from SWORD, there may be small display issues.  If not, they won't notice any changes at all  :)

[for those following along at home, rather boring patch.  Altho it does mean that strongs, morph, footnotes & cross-references are all almost in PocketSword!]

Thanks all, ybic
	nic...  :)

----
Nic Carter
PocketSword Developer - an iPhone Bible Study app
www: http://crosswire.org/pocketsword
iTunes: http://itunes.apple.com/app/Pocketsword/id341046078
Twitter: @PocketSword

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-gbfhtmlhref.cpp.txt
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20100224/99cbf76d/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-osishtmlhref.cpp.txt
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20100224/99cbf76d/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-teihtmlhref.cpp.txt
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20100224/99cbf76d/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-thmlhtmlhref.cpp.txt
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20100224/99cbf76d/attachment-0003.txt>


More information about the sword-devel mailing list