Difference between revisions of "Narrative Website Import"
m ({{languages}}) |
m (clarify & reword) |
||
Line 1: | Line 1: | ||
{{languages}} | {{languages}} | ||
− | + | Use a '''GRAMPS-created Narrative Website report''' to restore your GRAMPS database. | |
− | + | Use the following code [http://bubo.brynmawr.edu/~dblank/getnarrative.py getnarrative.py] as a good starting point. | |
− | You run the program from the command line, | + | Read the following discussion about this code at http://www.nabble.com/Lost-grdb-td13952238.html |
+ | |||
+ | The program works by parsing the HTML website (also called "screen scrapping") and places the data into a [[Gramps 3.1 Wiki Manual - Manage Family Trees: CSV Import and Export|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 | python getnarrative.py http://somewebsite.com/myfamily/ > import.csv |
Revision as of 02:00, 13 June 2009
Languages: |
[[::Narrative Website Import|English]] • [[::Narrative Website Import/tr|Türkçe]] |
Use a GRAMPS-created Narrative Website report to restore your GRAMPS database.
Use the following code getnarrative.py as a good starting point.
Read the following discussion about this code at http://www.nabble.com/Lost-grdb-td13952238.html
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.