mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
Add commentary for 10 highly-searched Psalms (117→127 chapters, 84.7%)
Added comprehensive commentary for the most commonly googled Psalms: - Psalm 110: Most quoted OT passage in NT (Messianic, Melchizedek priesthood) - Psalms 95, 96, 98: Worship psalms (O come let us sing, new song) - Psalms 145-150: Final doxology ending with "Let everything that hath breath praise the LORD" All famous/commonly searched Psalms now have coverage: ✓ Psalm 23 (The Lord is my shepherd) ✓ Psalm 91 (He that dwelleth in the secret place) ✓ Psalm 110 (The LORD said unto my Lord) ✓ Psalms 95-98 (Worship and new song) ✓ Psalms 145-150 (Final doxology) Coverage: 127/150 chapters (84.7%), only 23 chapters remaining 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Merge newly generated Psalms commentary into the correct file."""
|
||||
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
# Read the incorrectly placed commentary
|
||||
with open('verse_commentary.json') as f:
|
||||
new_data = json.load(f)
|
||||
|
||||
# Read the actual psalms.json file
|
||||
psalms_file = Path('kjvstudy_org/data/verse_commentary/psalms.json')
|
||||
with open(psalms_file) as f:
|
||||
psalms_data = json.load(f)
|
||||
|
||||
# Merge the new chapters (95, 96, 98, 110, 145-150)
|
||||
new_chapters = ['95', '96', '98', '110', '145', '146', '147', '148', '149', '150']
|
||||
added = []
|
||||
|
||||
for chapter in new_chapters:
|
||||
if chapter in new_data['commentary']:
|
||||
psalms_data['commentary'][chapter] = new_data['commentary'][chapter]
|
||||
added.append(chapter)
|
||||
print(f'✓ Added Psalm {chapter}')
|
||||
|
||||
# Write back to the correct file
|
||||
with open(psalms_file, 'w', encoding='utf-8') as f:
|
||||
json.dump(psalms_data, f, ensure_ascii=False, indent=2)
|
||||
|
||||
print(f'\nMerged {len(added)} chapters: {", ".join(added)}')
|
||||
Reference in New Issue
Block a user