Re: I'm trying to run a Python script to generate a Sitemap for my Googlepages website.

2008-07-27 Thread Bevin Watson
Hi Peter.  I don't know much about this, but it looks as if your file
isn't xml.  It is html.
You might like to list the contents of pewtas.googlepages.xml

On Sun, 2008-07-27 at 14:27 +1000, Peter Williams wrote:
 Hi Ubuntu Australian ppl,
 
 2008/7/27 Peter Williams [EMAIL PROTECTED]
 
 Hi All,
 
 I'm trying to run a Python script to generate a Sitemap for my
 Googlepages website.
 
 I'm attempting to follow the instruction on this html page:
 
 
 https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html#execute
 
 but I don't really know what I'm doing! 
 
 I have opened a Root Terminal and do a cd into the folder
 containing the Python script generating code. I have also
 edited the xml file and saved it as pewtas_googlepages.xml. 
 
 Can someone please be kind enough to help me run the python
 command which will (I think) generate a Sitemap for my
 googlepages website.
 
 
 http://www.google.com/support/webmasters/bin/answer.py?answer=34654topic=13452#rss
 
 https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html
 
 
 
 [EMAIL PROTECTED]:/home/user# cd Sitemap_generator
 [EMAIL PROTECTED]:/home/user/Sitemap_generator# python sitemap_gen.py
 --config=http://pewtas.googlepages.xml
 Reading configuration file: http://pewtas.googlepages.xml
 [ERROR] Cannot read configuration file: http://pewtas.googlepages.xml
 Configuration file errors -- exiting.
 [EMAIL PROTECTED]:/home/user/Sitemap_generator# python sitemap_gen.py
 --config=http://pewtas.googlepages.com/pewtas.googlepages.xml
 Reading configuration file:
 http://pewtas.googlepages.com/pewtas.googlepages.xml
 [ERROR] Unrecognized tag in the configuration: html
 [ERROR] Unrecognized tag in the configuration: head
 [ERROR] Unrecognized tag in the configuration: meta
 [ERROR] Unrecognized tag in the configuration: style
 [ERROR] Unrecognized tag in the configuration: title
 [ERROR] XML error in the config file (line 11, column 48): mismatched
 tag
 Configuration file errors -- exiting.
 [EMAIL PROTECTED]:/home/user/Sitemap_generator# 
 
 Can someone please help me, as I really want to generate a Sitemap for
 my website, however, I don't know how to program in Python... so I'm
 getting lost ;-(
 
 -- 
 Fond Regards,
 Peter Eric (aka 'pew') WILLIAMS
 from Hobart, Tasmania, Australia
 
 My free website is:
 http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs
 
 (please visit my free website and let me know what you think about
 it.)
 


-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au


I'm trying to run a Python script to generate a Sitemap for my Googlepages website.

2008-07-26 Thread Peter Williams
Hi All,

I'm trying to run a Python script to generate a Sitemap for my Googlepages
website.

I'm attempting to follow the instruction on this html page:

https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html#execute

but I don't really know what I'm doing!

I have opened a Root Terminal and do a cd into the folder containing the
Python script generating code. I have also edited the xml file and saved it
as pewtas_googlepages.xml.

Can someone please be kind enough to help me run the python command which
will (I think) generate a Sitemap for my googlepages website.

http://www.google.com/support/webmasters/bin/answer.py?answer=34654topic=13452#rss

https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html


[EMAIL PROTECTED]:/home/user# ls
delphi_sourceOLD HDD
Desktop  OpenOffice stuff
DocumentsPDF
DVD_iso_images   Photos
Examples Pictures
FrostWirePublic
html Sitemap_generator
Lazarus_source_code  starlogo-linux-build-i386-nosound.
liogoTemplates
Logo Torrents
Misc stuff   Videos
MP3_Shoutcast_Playlists  websites
Musicxlogo
[EMAIL PROTECTED]:/home/user# cd Sitemap_generator
[EMAIL PROTECTED]:/home/user/Sitemap_generator# python sitemap_gen.py
--config=pewtas.googlepages.xml
Reading configuration file: pewtas.googlepages.xml
[ERROR] Cannot read configuration file: pewtas.googlepages.xml
Configuration file errors -- exiting.
[EMAIL PROTECTED]:/home/user/Sitemap_generator#


-- 
Fond Regards,
Peter Eric (aka 'pew') WILLIAMS

My free website is:
http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs

(please visit my free website and let me know what you think about it.)
-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au


Re: I'm trying to run a Python script to generate a Sitemap for my Googlepages website.

2008-07-26 Thread Peter Williams
Hi Ubuntu Australian ppl,

2008/7/27 Peter Williams [EMAIL PROTECTED]


 Hi All,

 I'm trying to run a Python script to generate a Sitemap for my Googlepages
 website.

 I'm attempting to follow the instruction on this html page:


 https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html#execute

 but I don't really know what I'm doing!

 I have opened a Root Terminal and do a cd into the folder containing the
 Python script generating code. I have also edited the xml file and saved it
 as pewtas_googlepages.xml.

 Can someone please be kind enough to help me run the python command which
 will (I think) generate a Sitemap for my googlepages website.


 http://www.google.com/support/webmasters/bin/answer.py?answer=34654topic=13452#rss

 https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html


[EMAIL PROTECTED]:/home/user# cd Sitemap_generator
[EMAIL PROTECTED]:/home/user/Sitemap_generator# python sitemap_gen.py
--config=http://pewtas.googlepages.xml
Reading configuration file: http://pewtas.googlepages.xml
[ERROR] Cannot read configuration file: http://pewtas.googlepages.xml
Configuration file errors -- exiting.
[EMAIL PROTECTED]:/home/user/Sitemap_generator# python sitemap_gen.py
--config=http://pewtas.googlepages.com/pewtas.googlepages.xml
Reading configuration file:
http://pewtas.googlepages.com/pewtas.googlepages.xml
[ERROR] Unrecognized tag in the configuration: html
[ERROR] Unrecognized tag in the configuration: head
[ERROR] Unrecognized tag in the configuration: meta
[ERROR] Unrecognized tag in the configuration: style
[ERROR] Unrecognized tag in the configuration: title
[ERROR] XML error in the config file (line 11, column 48): mismatched tag
Configuration file errors -- exiting.
[EMAIL PROTECTED]:/home/user/Sitemap_generator#

Can someone please help me, as I really want to generate a Sitemap for my
website, however, I don't know how to program in Python... so I'm getting
lost ;-(

-- 
Fond Regards,
Peter Eric (aka 'pew') WILLIAMS
from Hobart, Tasmania, Australia

My free website is:
http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs

(please visit my free website and let me know what you think about it.)
-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au