Google News Sitemap Generator
1. INTRODUCTION
2. CREDITS & LICENCE
3. DOWNLOADS
4. CONTENTS
5. REQUISITES
6. INSTALLATION
7. UNINSTALL
INTRODUCTION (CHAPTER 1)
This script is used to generate a sitemap specific for Google News and is generated following the directives specified from Google itself at
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=42738
This script is intented to be used just in Joomla installation and requires the OpenSef plugin to be installed.
CREDITS & LICENCE (CHAPTER 2)
This script is released under the terms of the GNU GPL v3 (General Public Licence) which you can find browsing the link below
http://www.gnu.org/copyleft/gpl.html
Original author is Andrea Olivato
Author Website: http://blog.andreaolivato.net
Author Email: embrace.lenar [AT] gmail.com
Project Homepage: http://blog.andreaolivato.net/software/google-news-sitemap-generator/
DOWNLOADS (CHAPTER 3)
Download the archives from the following links, according to your version of Joomla and your O.S.
Google News sitemap Generator - Joomla 1.5.x for OpenSef - zip (47)
Google News sitemap Generator - Joomla 1.5.x for Open Sef - bz2 (23)
Google News sitemap Generator - Joomla 1.0.x for OpenSef - zip (41)
Google News sitemap Generator - Joomla 1.0.x for OpenSef - bz2 (21)
CONTENTS (CHAPTER 4)
The archive you downloaded needs to contain following files:
- googlenews_sitemap.php - Script file, you do not usually need to edit this one. You have to submit this file to google as Sitemap. EX: http://yourdomain.com/googlenews.php
- config_googlenews_sitemap.php - Configuration file. You have to set this up before running your sitemap.
- README - Explanation File
REQUISITES (CHAPTER 5)
To run successfully this script you need to have installed and well configured:
- Joomla CMS (every version compatible with OpenSef should work fine)
- OpenSef extension for Joomla
- The script need to be located on the root directory of your Joomla installation , at the same level of the configuration.php file
INSTALLATION (CHAPTER 6)
Please follow these simple steps to install successful your local copy of Joomla GoogleNews Sitemap Generator
6.1 - Files Upload
Upload the two .php files contained in the archive to your joomla installation directory. The two files has to be at the same level of the configuration.php file.
Note that if you upload the script in the wrong directory this script will not work.
Files to Upload:
- googlenews_sitemap.php
- config_googlenews_sitemap.php6.2 - Configuration
After you uploaded the two files edit the one called
config_googlenews_sitemap.php
and set it up modifying the two variables
-$keywords
-$your_site_root
with yor values. For the keyword list that google accepts please follow this link
http://www.google.com/support/webmasters/bin/answer.py?answer=429936.3 - Check it
After you configured it visit the page
googlenews_sitemap.php
from yor favourite browser.
For example: http://yourdomain.com/googlenews_sitemap.php
If you see a lot of urls it works! Submit your new map as usual and you are done
UNINSTALL (CHAPTER 7)
If you do not want Google to crawl your sitemap anymore you can not simply delete the sitemap from google webmaster tool. Open your ftp manager and delete the
googlenews_sitemap.php
file. Optionally keep the file named
config_googlenews_sitemap.php
on your server so that if you want to re-add the sitemap later you still have your configuration done.
Pisa,Italy. 







Jose Antonio
Jul 23, 2008, 4:26 pmMe da el error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/———/public_html/googlenews_sitemap.php on line 48
Andrea Olivato
Jul 23, 2008, 11:29 pmAre you sure you set up the config file correctly? Have you got the right version of Joomla / OpenSef?
Gerd
Jul 23, 2008, 12:01 pmDear Andrea,
The sitempa script for 404sef works correct. After a couple of days, Google accept now the sitemap without any error or warning message. Congratulation - its perfect.
Thank you very much for your work and your help. You can offer it now to joomla users with 404sef component.
I wish you a Merry Christmas and a happy new year.
Gerd from Munich
Andrea Olivato
Jul 23, 2008, 1:45 pmHi Gerd!
Thanks a lot for everything: thanks about testing, about keeping me informed and obviously about the wishes.
I’m glad that everything worked fine for you, I’ll release the sh404 version separately from the opensef one.
I whish you a great Christmas!
haber
Jul 23, 2008, 12:26 amhi download links are broken
firma rehber
Jul 23, 2008, 11:59 amhi andrea , i am using joomla 1.5.8 and sh404 but i couldn’t run the script with sh404 i am waiting for sh404 version of this script. because i tried to install opensef but i couldn’t install it to my site.this script is very useful and i want thank you for your work.
haber
Jul 23, 2008, 11:25 amhi andrea ,, is this script avaible for joomla sdtandar t .htaccess file without sh404 or available a standart .htaccess version thanks regards
Andrea Olivato
Jul 23, 2008, 12:14 pmHello Haber,
sorry for the late but I was on holidays. This is the sh404 version for 1.5
http://blog.andreaolivato.net/downloadsgooglenews_sitemap_1.5.x_mod_sh404.zip
Does it work fine for you? If you got any problem please let me know what fails exactly so that I can help you!
praneko
Jul 23, 2008, 4:58 amHappy new years andrea
I used ARTIO JoomSEF with Joomla 1.5.8 , i got error as following :
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/chroot/tokomuslimah/web/googlenews_sitemap.php on line 49
I have put 2 php files at root web
Please advise..
thanks