Narrative Website Import

From Gramps
Revision as of 00:03, 19 September 2014 by Sam888 (talk | contribs) (clean up)
Jump to: navigation, search

Use a Gramps-created Narrative Website report to restore your Gramps database.

Use the following code getnarrative.py as a good starting point (As the Script was written for Gramps 2.2 NarrativeWeb and needs to be updated to work with Gramps 3.3)

Read the following discussion about this code at Lost grdb & [1]

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

To run the program from the command line, provide 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.