Create Site Map Mod

From TNG_Wiki
(Redirected from Create Google Sitemap)
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 n/a
Mod Updated 2 Jan 2021
Download link Create Sitemap TNG 14.0
for
TNG 14.0

Create Sitemap TNG 12.0
for
TNG 12.0
TNG 13.0

Create Sitemap TNG 10.1.x, TNG 11.x.x
for
TNG 10.1.0
TNG 11.0

Roger Moffat's version for TNG 8 TNG 9 and 10
for any version of TNG 8, TNG 9 and TNG 10.0
TNG 9.1
TNG 9.0
TNG 8.1
TNG 8.0


TNG 9.2
TNG 10.0
Download stats n/a
Author(s) Roger Moffat
Homepage Create Site Map Mod (This page)
Mod Support TNG Community Forums
Contact Developer
Latest Mod 9.0.0.1 for up to TNG 10.0
10.1.0.5 for TNG 10.1, TNG 11
12.0.0.3 for TNG 12, TNG 13
14.0.0.4 for TNG 14
Min TNG V 8.0.0
Max TNG V 13.0.x
Files modified
admin_secondary.php
admin_secondmenu.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 was originally developed by Steve Hoover as a stand alone file to be installed and run manually. Rush updated it for TNG 7 and Google's new standards for sitemap.xml files. Roger Moffat has tweaked it for TNG 8, TNG 9, TNG 10, TNG 11, TNG 12, TNG 13, and TNG 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. Automated installation has been tested on TNG Version 8.1.3, TNG 9.0.0, TNG 10.0, TNG 10.1. and TNG 11
  • A backup of the TNG modules involved - see below.

Automated Installation

  1. Download the config file from the Mod Summary in the upper right hand corner of this page
  2. Extract the downloaded config file into your mods folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the config file.

After Installation

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

TNG 8 & TNG 9


Create sitemap button.png

TNG 10, TNG 11, TNG 12, and TNG 13


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.

In the event of a problem

  • Try using the Mod Manager Remove capability
  • Or copy the backup versions of the TNG modules involved.

Side effects

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

Revision History

Version Release Date Comments
14.0.0.4 27 Dec 2022 Updated for TNG 14.
12.0.0.3 2 Jan 2021 Small revision to update the way URLs were counted to ensure only 50,000 in the first file.
12.0.0.2 3 Oct 2020 Small revision to update for Mod Manager standards.
12.0.0.1 30 Oct 2019 Small revision to allow for & character in media file names.
12.0.0.0 14 Nov 2018 Updated Mod to TNG 12 specs for targeting cust_text.php files. No functional changes.
10.1.0.5 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 28 June 2018 Unreleased - allowed for suppression of Living and Private individuals and families.
10.1.0.3 24 August 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 6 August 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 15 June 2015 Updated to support http/https protocols.
10.1.0.0 8 Jan 2015 Updated to work with TNG 10.1 tng_query structures.

TNG User 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
Stegemüller Family History Hanne B. Stegemüller Public site 14.0.0.4 / 14.0 EN, DE, DA
This is an Admin function, so can't be seen in action. Roger Moffat The mod developer. V12.0.0.3/13.0.2 EN
Whittlesey-Whittelsey Family History Willis S Whittlesey III Public site V9.0.0.1/V9.2.0 EN
g.nomi William Vincent Integrated with WordPress v9.0.0.0/v9.2.2 EN
Chamberlain & Eidenbenz Genealogy Graham Chamberlain v10.1.0.3/v12.0.1 GB, DE, FR, ES, NL
Kemp(e) Family History Andrew Kemp see User:Kempons EN
Colleen & Jeff's Roots Colleen Greene v10.0/v.10.0.0 English
Hooley Family Links Rick Hooley Public/Private See Here EN
Wortelboer Genealogy Bernard Wortelboer public site v10.1.0.0/11.0.0 NL/EN
The Duttons of New England Darrin Dutton Public/Private v14.0.0.4 / v14.0.1 EN
Familie van Seeventer Sandor van Seeventer Public site 14.0.0.4 / 14.0 NL
Brady Family Tree in Western Australia Darryl Brady Public site v10.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 v10.1.0.3/10.1.3 EN
Family Tree Mystery - Bond-Slocum/Anderson-Gummow Tim Slocum Public site v10.1.0.3/11.0.1 EN
Gambrill Family Tree Bobby Gambrill Public site v10.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/TNGv12 PHP7.2 EN
The Cole / Tanner Family Tree David Cole Public/Private 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 EN,DE,CS
Skeel, Schaffalitzky. Find navne i Danmarks Adels Aarbog Finn Holbek Public Site 12.1.0.0 DA,EN,DE,CS,ES - etc.
Journeys in Genealogy Patrick Thrush Public WordPress/TNG bundle 12.0/12.1 English
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 v14.0.0.4/14.0 EN/FR
Genealogische Datenbank JPB Public site 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​.4 / 14.0.2 EN, NO
Carr's Garage Regis Carr Public / Private 12.0.0.2 13.1.2 EN, DE, NO

TNG modules Involved

  • admin_secondary.php
  • admin_secondmenu.php
  • adds a line to languages/English/cust_text.php and languages/English-UTF8/cust_text.php