User Tools

Site Tools


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

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki