d1conv 2023-12-08
Add image parser, resolve merge conflict in video parser, and expand test data
35 files · 1,970+ · 219-

Image parser and merge conflict resolution

2 files changed
  • parse_image.py New image embed handler for Day One image references
  • parse_video.py Resolved merge conflict markers and added minor improvements
  • Added parse_image.py for handling image embeds and cleaned up merge conflict markers in parse_video.py instantiate behavioral
    2 files
    • parse_image.py
    • parse_video.py

Expanded test data and photo binaries

4 files changed
  • Journal-content.json New test data set in blah directory
  • Journal.json Large journal metadata for blah test set
  • output.md Output for blah test set
  • Journal-content.json New date-stamped test comparison set
  • Added extensive test data with a blah directory containing 13 photo binaries covering JPEG and PNG formats for comprehensive image parser testing qualify internal
    2 files
    • Journal-content.json
    • Journal.json

Parser refinements and zip support

5 files changed
  • parse.py Refactored orchestration with improved entry handling
  • parse_content.py Content parser adjustments
  • parse_list.py List parser refinements with note about indent logic issues
  • Journal.json Journal data for zip file testing
  • test-zip-file.py Script to extract and parse Day One zip exports
  • Refactored parse.py orchestration and added zip file extraction support for processing Day One zip exports decouple internal
    2 files
    • parse.py
    • test-zip-file.py