42
edits
Changes
→Web Pages: Page Generation text and markup edit
==== Introduction ====
GRAMPS 2.0.6 introduced the Narrative Web generator. The GRAMPS 3.0 Narrative Narrated Web Site report provides improved functionality, support for web standards and additional features. The new report creates pages that closely follow the World Wide Web Consortium’s Recommendations for XHTML 1.0 Strict and CSS 1. These recommendations include a separation of content from presentation. Due to this practice, the style and appearance of the new web pages can be completely controlled from one CSS stylesheet without altering individual pages.
More information is now displayed about each person, along with information about sources, places, and media objects. Introduction pages can be added to provide additional information, such as a family history.
==== Using the Report ====
The Narrative Narrated Web Site report provides the user with options that allow a wide range of customization. You can run this report via the menu '''Reports-->Web Pages-->Narrated Web Site...'''.
The Narrative Narrated Web Site report dialog window {{man label|Narrated Web Site}} has four tabs: '''Report Options''', '''Page Generation''', '''Privacy''' and '''Advanced'''. Each of those tabs are reviewed below.
{{man warn|Entire Database|Be aware that if you select your entire database as a filter a large number of files will be generated (depending on the size of your database). It is recommended to start with a filter (for example: ancestors of a certain person) to simplify the output while you learn about the plugin.}}
:By default, the output files are written to the specified directory. Because of the number of files and directories that are created, it may be difficult to transfer the files to an external web host. To aid in this, you may directly create a gzip'd tar file to more easily upload the data. This is the format that should be used if you would like to take advantage of the free genealogy page hosting at the GRAMPS web hosting site. To select the gzip'd tar file, select the {{man label|Store web pages in .tar.gz archive}} option.
;Destination
:The destination directory for the web files. Default value is the {{man label|/yourhomedirectory/NAVWEB}} directory. Genealogy records can generate a lot of files. Many web servers have a difficult time with many files in a single directory. The Narrative Narrated Web Generator report strives to keep the number of files per directory to a manageable level. To do this, a hierarchy of directories is created. The generated files names are not intuitive, but are unique per person. Subsequent runs will generate identical file names, making it easy to replace files.
;Filter
:Like the previous web page generator, and most of the other GRAMPS reports, you can control what is included in the output by choosing a filter. Several default filters are provided for you, but you are free to use the Custom Filter Editor tool to create your own.
==== Page Generation ====
** include images and media objects: whether to include/exclude a gallery of media objects.
** include download page: whether to include a database download option.