Create Site Map Mod

From TNG_Wiki
Jump to navigation Jump to search


Ambox notice.png The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]

If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0


Create Site Map Mod
Summary Creates a sitemap.xml.gz file to assist Google with indexing a TNG site
Validation
Mod Updated 27 Dec 2022
Download link For
TNG 14.0

Create Sitemap TNG14.0
For
TNG 12.0
TNG 13.0

Create Sitemap TNG 12.0
For
TNG 10.1.0
TNG 11.0

Create Sitemap TNG 10.1.x,11.x.x
For
TNG 9.1
TNG 9.0
TNG 8.1


TNG 8.0
TNG 9.2
TNG 10.0

Create Sitemap TNG 8,9,10.0
Download stats
Author(s) Steve Hoover - initial version
Rush Krieger - modified to new Google standards
Roger Moffat - Mod Manager versions for TNG 8-14
Homepage Create Site Map Mod (This page)
Mod Support TNG Community Forums
Contact Developer TNG Community Forums
Latest Mod 14.0.0.5
Min TNG V 8.0.0
Max TNG V 14.0
Files modified
admin_secondary.php
admin_secondmenu.php
languages/English/cust_text.php
languages/English-UTF8/cust_text.php
Related Mods
Notes

Purpose of the mod

This mod is provided to make creating a Google sitemap a very simple process by clicking a button in the Secondary Processes tab of TNG Admin ------> Import/Export

Developer

This mod was developed by Steve Hoover as a stand alone file to be installed and run manually.
Rush Krieger updated it for TNG 7 and Google's new standards for sitemap.xml files.
Roger Moffat has tweaked it for TNG 8 - 14 and made it a Mod Manager install.
Rick Bisbee helped with code to count those included and those excluded.

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary to the right)
  • An installed current version of the Mod Manager.

Revision History

Mod Version TNG Version Date Contents
14.0.0.5 14.0 13 Sep 2023 Small revision to update the way URLs were counted to ensure only 50,000 in the first file.
14.0.0.4 14.0 27 Dec 2022 Updated for TNG 14.
12.0.0.3 12.0 02 Jan 2021 Small revision to update the way URLs were counted to ensure only 50,000 in the first file.
12.0.0.2 12.0 03 Oct 2020 Small revision to update for Mod Manager standards.
12.0.0.1 12.0 30 Oct 2019 Small revision to allow for & character in media file names.
12.0.0.0 12.0 14 Nov 2018 Updated Mod to TNG 12 specs for targeting cust_text.php files. No functional changes.
10.1.0.5 10.1 14 Nov 2018 Added better handling of Media links, including handling folios - thanks to Rick Bisbee for this bit of code. Better counting of individuals, families and media that are indexed, or skipped due to Living or Private.
10.1.0.4 10.1 28 Jun 2018 Unreleased - allowed for suppression of Living and Private individuals and families.
10.1.0.3 10.1 24 Aug 2016 Updated to work with newer sitemap practices, including indexing images, and to allow options to include or exclude people, families and media.
10.1.0.2 10.1 6 Aug 2015 Updated to change the calculation of the path to write the file to and to properly handle the genealogy URL in WordPress environments.
10.1.0.1 10.1 15 June 2015 Updated to support http/https protocols.
10.1.0.0 10.1 08 Jan 2015 Updated to work with TNG 10.1 tng_query structures.

Conflicts and Issues

Happiness that creating a sitemap that Google will use to draw new cousins to your site is so much easier :-)

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.

The Secondary Processes tab in TNG Admin ------> Import/Export shows a new button In TNG 14 this tab is now called Post-import Utilities

In the event of a problem

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and any tables if created, you should

  1. click the Uninstall button to uninstall the mod
  2. click the Delete button to delete the config file from the mods folder.

Upgrade

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

Visualization

The following screen captures show the changes made by the mod:

TNG 8, 9

Create sitemap button.png

TNG 10 - 14

CreateSiteMapButtonTNG10.png
After you click this button, the script will run and then the following page shows what the output is

CreateSiteMapOutput.png

TNG 10.1 Parameters

CreateSiteMapOptions.png

Copy the link for the tngsitemapindex.xml file (the large bold link) and then put that into your Google Webmaster Tools sitemap settings if you have this set up, or place it in your robots.txt file like this

Sitemap: http://lisaandroger.com/tngsitemapindex.xml

and Google will find it there.

Sites using this mod

If you download and install this mod,please add your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
This is an Admin function,so can't be seen in action. Roger Moffat The mod developer. 12.0.0.3 13.0.2 EN
Genealogy of the HOW family Justin How Public & Private 14.0.0.4 See Here EN
Stegemüller Family History Stegemüller Public site 14.0.0.5 14.0.6 EN,DE,DA
Whittlesey-Whittelsey Family History Willis S Whittlesey III Public site 9.0.0.1 9.2.0 EN
g.nomi William Vincent Integrated with WordPress 9.0.0.0 9.2.2 EN
Chamberlain & Eidenbenz Genealogy Graham Chamberlain 10.1.0.3 12.0.1 GB,DE,FR,ES,NL
Kemp(e) Family History Andrew Kemp See here See here EN
Colleen & Jeff's Roots Colleen Greene 10.0 10.0.0 EN
Hooley Family Links Rick Hooley Public/Private See here See here EN
Wortelboer Genealogy Bernard Wortelboer public site 10.1.0.0 11.0.0 NL/EN
The Duttons of New England Darrin Dutton Public/Private 14.0.0.4 14.0.1 EN
Familie van Seeventer Sandor van Seeventer Public site 14.0.0.5
TNG 14.0.5
NL
Brady Family Tree in Western Australia Darryl Brady Public site 10.1.0.0 10.1.1 EN,DE
Quigley Doyle Family Tree Don Quigley Public Site 10.1.0.1 11.0.0 EN
The Extended Craxford Family Website Alan Craxford Public site 10.1.0.3 10.1.3 EN
Family Tree Mystery - Bond-Slocum/Anderson-Gummow Tim Slocum Public site 10.1.0.3 11.0.1 EN
Gambrill Family Tree Bobby Gambrill Public site 10.1.0.3 11.0.2 EN
Rintoul/Bowman Family Andrew Rintoul Public/Private 10.1.0.3 12.0 EN,DE,ES,FR
Brahde Family Tree Per Brahde Public 10.1.0.3 11.1.1 EN,DK
Stamboom Jongman Roel Jongman Public/Private site 10.1.0.3 10.1.3 NL,DE,EN
Bisbee Family Connection Rick Bisbee Public site 10.1.0.3 12 PHP7.2 EN
The Cole/Tanner Family Tree David Cole Public/Private see here see here EN,DE,FR,ES,NL
Lindell-Herndon Genealogy Bill Herndon Public site 14.0.0.4 14.0.2 DA,DE,EN,ES,FR,SV
Roots & Relatives Remembered Ron Krzmarzick public & private See here See here EN,DE,CS
Skeel,Schaffalitzky og Ahlefeldt Finn Holbek Public Site 14.0.4 DA,EN,DE,NO,SW,IT
Journeys in Genealogy Patrick Thrush Public WordPress/TNG bundle 12.0 12.1 EN
Peek At Our Family Ashley Peek 12.1.0.0 12.0.0.0 EN,IT
Gilbert Family History Warren Gilbert Public site 12.3.0.0 12.0.0.1 EN
Vitter-Weaver Genealogy Jeffrey Vitter Public site 12.0.0.2 13.0.3 EN,FR,CH,DE,ES,IT,NO
Les Lapierre d'Amérique Normand Lapierre Public/Private site 14.0.0.4 14.0 EN/FR
Genealogische Datenbank JPB Public site See here See here DE,EN,FR
Hangaard Genealogy David Hangard Public/Private 12.0.0.3 13.0.4 EN,NO
Osage County Cousins Larry G Banks Public/Private 14​.0​.0​.4 14.0 EN
Johnson/Bryans Family Tree Charlie Ferrero Public 12.0.0.1 13.1 EN
Sejarah Thümann Jeffrey Thümann Public 12.0.0.3 13.0.3 NL,EN
Johnson/Bryans Family Tree Charlie Ferrero Public 12.0.0.1 13.1 EN
R G Strong Family Genealogy Russell Strong Public 14.0.0.4 14.0.4 EN,DE,FR,NL
Kielakowie.com Janusz Kielak Public site 14.0.0.4 14.0.1 PL,EN,DE
Solem Genealogy Jan-Thore Solem Private 14​.0​.0​.5 14.0.5 EN,NO
Carr's Garage Regis Carr Public/Private 12.0.0.2 13.1.2 EN,DE,NO
Bastiaanssen Genealogy Jan Bastiaanssen Public/Private 14.0.0.4
TNG 14.0.5
EN,NL,ES
MOTYER & BENJAMIN Family Genealogy (Bermuda branches) John Mark Motyer Public site See here See here EN
KK's Family History Kathy Kult Public site (Living are Private) 14.0.0.4
TNG 14.0.5
EN
Genealogie.nu Peter Fasol Public site (Living are Private) 14.0.0.4
TNG 14.0.5
NL