Allows a person to parse the export files of fastnotepad parser and populate a sqlite database with the results.
App link found here.
https://play.google.com/store/apps/details?id=net.fast_notepad_notes_app.fastnotepad&hl=en_US&gl=US
Fastnotepad organizes its backup files into two major sections:
- An index and preview section which includes a text preview, contentlength, and epoch time indicating LAST EDIT TIME, etc and a unique key field.
- A content section which links content to that key and has a few other fields for its use. Contains the value of the note field.
At the beginning of the field there is a fileid which uniquely identifies the file.
In between the two major sections is basically a searchable marker that contains numerous punctation marks.
The overall format of the file is very poor, but it is readable.
The fastNoteTool.py script has three events that fire while reading, initially they will default to the 'print' statement and dump their content into stdout.
Implement these event handlers to capture the data as its being read.
- OnIRecord: Returns the index record with the creation time etc.
- OnCRecord: Returns the content record with the note, etc
- OnFileId: Returns the fileid of the export batch
The Main_FastNoteImporter.py program will attempt to convert and interpret the output of these modules and drop them into a sqlite database copied from the empty one included in this project. So far as I can tell this portion of my own project is completed.