Install/Uninstall instruction for the Geeklog sitemap plugin
Sitemap plugin [ver. 1.0.3: 2007-12-26]
In the following descriptions
- <geeklog_dir> is the directory where the system config.php file resides
- <public_html> is the directory where the lib-common.php file resides
- <admin> is the directory where the administration files reside (usually, under <public_html>)
PRE-INSTALL
CAUTION: Sitemap plugin requires that Dataproxy plugin be installed beforehand. Besides, if you installed Google sitemap generator, uninstall it beofrehand.
INSTALL:
- Back up your Geeklog Database. The sitemap plugin adds tables to your Geeklog database. You can do this with the built in admin backup facility.
- Uncompress the sitemap plugin archive while in the <geeklog_dir>/plugins directory. The archive will create a directory called sitemap in the plugins directory.
- Create the public_html and admin directories. Under your html directory (usually <public_html>) create a directory called sitemap. Under your <admin>/plugins/ directory create a directory called sitemap.
- Change to your <geeklog_dir>/plugins/sitemap/ directory. Copy the files in the admin directory to the <admin>/plugins/sitemap/ directory your created in step 3. Copy the files and directories in the public_html directory to the <public_html>/sitemap/ directory your created in step 3.
- Edit the config.php in the sitemap directory and confirm the table prefix and anonymous access settings and other display settings. The default is to use the geeklog table prefix and not allow anonymous access.
- Log in to your Geeklog as a root user and run install.php in your <admin>/plugins/sitemap/ directory. The install page will tell you if the install was successful or not. If not, examine Geeklog system errorlog for possible problems. The sitemap plugin should now be installed and functioning. Clicking on the sitemap Icon will take you to the admin page.
- Set up security. On install only the root users have access to sitemap administration and Viewing. You can delegate control for either of these functions through the user and group editors.
UNINSTALL:
- Run the install.php page in your <admin>/plugins/sitemap directory. This will remove all the data from your database.
- Delete the three plugin directories created in the install process: <geeklog-dir>/plugins/sitemap/, <public_html>/sitemap/ and <admin>/plugins/sitemap/
AFTER INSTALL
- [Sitemap]
Log in as sitemap admin. All you have to do is choose items you would like to display.
- [Google sitemap]
- Log in as sitemp admin. Specify items to be included in Google sitemap, frequency, priority and the file name of Google sitemap. The Google sitemap file has to exist in the public_html directory (where lib-common.php resides) and be written into by the Web server.
- Google sitemap file will automatically be updated with the interval specified with $_CONF['cron_schedule_interval'] (in /private/config.php). The default value is 86400 seconds (1 day). If you want to update the file immediately, log in as sitemap admin and check "Update now!" and submit it.
HISTORY
Version |
Date |
Description |
1.0.3 |
2007-12-26 |
Fixed to write into Google sitemap all stories in all the languages when you enable multilingual stories. |
1.0.2 |
2007-12-25 |
Fixed doubly escaped & chars. Fixed not to put formmail (staticpages) in the sitemap. |
1.0.1 |
2007-11-10 |
Fixed only to pick out such static pages as are displayed in the center block. Fixed not to display such data sources as are not enabled in admin/sitemap. New Now, you can change the display order of data sources from the admin screen. |
1.0 |
2007-11-04 |
Initial version |