Narrative Website Import

From Gramps
Revision as of 13:11, 6 December 2007 by Dsblank (talk | contribs)
Jump to: navigation, search

If you would like to turn a GRAMPS-created Narrative Website report and use it to restore your GRAMPS database, this code should give you a good starting point. You can find the code at getnarrative.py. You can find some discussion of this code at http://www.nabble.com/Lost-grdb-tf4875942.html.

The program works by parsing the HTML website (sometimes called "screen scrapping") and puts the data into a comma-separated value spreadsheet. You can then import it directly into GRAMPS.

You run the program from the command line, with the URL of the surname list, like:

python getnarrative.py http://somewebsite.com/myfamily/ > import.csv

Then, in GRAMPS you should be able to import the file "import.csv" into an empty database.