import_process
This is an old revision of the document!
Import Process
This is generic overview of the import process from an HTML source into a database. I won't go into details or specifics because I don't want to support the code, plus it's hacked together anyway.
Here's pretty much how it operates though:
- Fetch all HTML sources
- Convert HTML sources to DOM
- Insert a custom JavaScript source file using JQuery to remove HTML tags and get scripture text
- Iterate over the modified HTML files
- Custom JavaScript makes an AJAX call to a script which sanitizes data and imports it into the database
That's it!
import_process.1553465056.txt.gz · Last modified: by steve