Create Site Map Mod

From TNG_Wiki
Revision as of 09:53, 12 January 2015 by Hiraeth (talk | contribs) (TNG User sites using this mod)

Jump to: navigation, search
Create Site Map Mod
Summary Creates a sitemap.xml.gz file to assist Google with indexing a TNG site
Validation {{{mod_validation}}}
Mod Updated {{{mod_last_update}}}
Download link For
TNG 10.1.0
Create Sitemap TNG 10.1
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
Roger Moffat's version for TNG 8 TNG 9 and 10
Download stats {{{download_stats}}}
Author(s) Steve Hoover - initial version
Rush - modified to new Google standards
Roger Moffat - Mod Manager versions for TNG 8, TNG 9, TNG 10.0 and TNG 10.1
Homepage Create Google Sitemap (This page)
Mod Support TNG Forums
Contact Developer {{{mod_contact}}}
Latest Mod 9.0.0.1 for up to TNG 10.0
10.1.0.0 for TNG 10.1
Min TNG V 8.0.0
Max TNG V 10.1.0
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 and 9 and make it a Mod Manager install.

Requirements

  • A working TNG installation. Automated installation has been tested on TNG Version 8.1.3, TNG 9.0.0, TNG 10.0 and TNG 10.1.
  • 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

TNG 8 & TNG 9


Create sitemap button.png

TNG 10


CreateSiteMapButtonTNG10.png


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

Create sitemap output.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 :-)

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
This is an Admin function, so can't be seen in action. Roger Moffat The mod developer. V9.0.0.0/9.0.0 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 v9.0.0.1/v10.0.3 English, German, French, Spanish, Dutch
Kemp(e) Family History Andrew Kemp see User:Kempons EN
Colleen & Jeff's Roots Colleen Greene v10.0/v.10.0.0 English
Pannier Genealogy Martin Pannier see here DE
Hooley Family Links Rick Hooley login: guest pwd: guest v9.0.0.1/10.0.1 EN

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