I find the Narrated Web Site report useful because it provides a good overview of a family tree when Gramps itself is not open.
If you have a website where the generated report can be uploaded, it can also be shared with selected people who have access.
If living people are included, the report may contain personal and sensitive information and should therefore be protected appropriately.
The standard Gramps Narrated Web Site does not require a web server for local viewing. My enhanced version includes additional scripts and search functions that require the generated site to be served through a web server.
Gramps 6.0.x or later.
Gramps tags named:
AdoptedFatherOfFosterFosterGodparentMotherOfFosterNotRelatedWitnessSee how to create and use tags here:
https://myown-project.dk/guides/gramps-tags-filters/
A Gramps filter named Gedcom.
Python 3.x.
The Python packages:
pandasopenpyxlBeautifulSoupThe GEDCOM Relationship Report must be run as part of the workflow because its JSON file is required. All required files are included.
See the guide here:
https://myown-project.dk/guides/gedcom-relationship-report/index.html
Tested with:
The package contains:
6.0.8basepage.pycalendar.pygramps.moperson.pygramps.mowebreport folder6.1.0basepage.pycalendar.pygramps.moperson.pygramps.mowebreport folderGedcom-relationship-report-V1.0All required files for the GEDCOM Relationship Report.
people.pyrelationship.pyrelationship_names.xlsxroles.pysearch.htmlREADME.mdRELEASE_NOTES.mdLicense.txtThe Gramps web-report Python files are normally located here:
C:\Program Files\GrampsAIO64-x.x.x\gramps\plugins\webreport
The Danish gramps.mo file is normally located here:
C:\Program Files\GrampsAIO64-x.x.x\share\locale\da\LC_MESSAGES
Replace x.x.x with your installed Gramps version.
Make backup copies of:
basepage.pycalendar.pyperson.pygramps.moExtract Narrated_files.zip into a new working folder. In this guide, the folder is called:
family_tree_web_report
Copy the three Python files from the folder matching your Gramps version and overwrite the three original files in the Gramps webreport folder.
Copy gramps.mo from the folder matching your Gramps version and overwrite the original Danish gramps.mo.
Open family_tree_web_report in a terminal.
Run:
python relationship.py
Copy the JSON file created by the GEDCOM Relationship Report into:
family_tree_web_report
Open Gramps in English with your family tree.
Set the Home person / Active person to the same person used in the GEDCOM Relationship Report.
Select:
Reports → Web Pages → Narrated Web Site
The settings shown in bold are settings imported or required by this workflow.
Settings not shown in bold are the settings I personally use.
Set Destination to the family_tree_web_report folder.
Enter a Website title.
Set Filter to Entire database.
Filter person should be your Home person.
Select Show the relationship....
Living people:
StyleSheet:
Select Include ancestor's tree.
Select This is a secure....
Set Date format.
Include Gramps ID.
Include Tags.
Select:
Sort all children...Graph generations:
6Select:
Include narrative...Extra page name:
I use the Home person's first name with a house icon in front.
Example:
🏠 Henning
Your extra page path:
This should link to the Home person's personal page inside the generated Narrated Web Site.
Example:
ppl/d/c/10256833e45059885c246bddfccd.html
If this is your first run, you will not yet know this path.
Leave it blank for now. After the first report has been generated, find the Home person's personal page, copy the relative page path, and run the report again.
Select:
Max width...:
300Select Include other roles.
Select all options except:
Select:
Include the news...Max days...:
30Max number...:
100Select Include the web calendar, with birthdays, anniversaries, and death dates enabled.
Birthday surname: Wives use husband's surname (from last...).
Show data...:
1900Press OK.
The report may take some time to generate.
Open the generated index.html in your browser.
Find your Home person.
Open the Home person's personal page and copy the final relative part of the page address.
Example:
ppl/d/c/10256833e45059885c246bddfccd.html
Run:
Reports → Web Pages → Narrated Web Site
again.
You can also change any other report settings if you were not satisfied with the first result.
The most important missing setting from the first run is the Extra Pages path.
Enter the copied personal-page path under:
Extra Pages → Your extra page path
Generate the report again with OK.
Close the family tree and Gramps.
Open family_tree_web_report in a terminal and run:
python people.py
Then run:
python roles.py
Finally start a local web server:
python -m http.server 8000
Do not close the terminal window while viewing the site.
Open:
http://localhost:8000/index.html
You can now review the completed Enhanced Narrated Web Site.
When you are finished, return to the terminal and stop the local web server with:
Ctrl+C
Released under the GNU General Public License v2.0 or later (GPL-2.0-or-later), the same license as Gramps.
Henning — contact@myown-project.dk
https://myown-project.dk