Skip to content

Conversation

@daniel-tran
Copy link
Owner

  • XML Downloader and Extractor now work with a different XML structure. Most notably, it uses more generic tag names such as <book>, <chapter> and <passage>.
    • Previously, passages would be tagged as different nodes and the overall structure between downloaded files would technically be different per-book due to the XML tag name standardisation logic.
  • Added Timestamp and Meaningless fields to downloader-generated files.
    • Timestamp can be useful for determining when the wording of a particular passage may have changed on the Bible Gateway.
    • Meaningless can be useful for troubleshooting potential regressions between a particular library version and an input file generated by a previous version.

Minor changes include:

  • Dropping support for Python 3.7

To make it easier to use generated XML files in external applications and XSLT. Still keeping the original XML file interface for backwards compatibility, though that won't always be the case in future releases.
Also refining the CSV file interface to be more flexible when handling metadata information and not cause a bunch of unit tests to fail just because a new column is available
Also adding the library version to the main index page, since this information is never explicitly mentioned anywhere
With the common utilities submodule providing a function to get the library version, a dedicated file for this information is no longer needed
Tests can currently fail due to the timestamp not being exactly the same, so just check for the main passage contents
Also updating the example dictionary structure with the Timestamp and Meaningless properties
@daniel-tran daniel-tran added the new release Collating all the changes for a new version label Jan 22, 2023
@daniel-tran daniel-tran merged commit 36605f2 into master Jan 25, 2023
@daniel-tran daniel-tran deleted the 0.7.0 branch January 25, 2023 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new release Collating all the changes for a new version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants