[sword-devel] List of verse ranges (and avoiding svn)

Chris Little chrislit at crosswire.org
Sun Nov 29 17:28:18 MST 2009



Jonathan Marsden wrote:
> Coming back to the list of verse ranges: Could you script something up
> to autogenerate such a page from the svn canon_*.h files, so that it
> stays up to date as the codebase changes?  That would be nice for
> non-technical module developers, as you say.

This isn't precisely what is needed, but there is a perl utility to 
export a canon*.h file as either a list of verses or an OSIS document. 
It could be used as a basis for a utility to generate the requested data.

That utility is in the sword-tools SVN at 
https://crosswire.org/svn/sword-tools/trunk/versification/v11nexport.pl

--Chris



More information about the sword-devel mailing list