|
Python script prob - Google Sitemap Generator
|
|
06-03-2005, 06:20 PM
Post: #1
|
|||
|
|||
|
Python script prob - Google Sitemap Generator
I'm trying to setup and use Google's new sitemap generator. (It was just released yesterday - here's the 'help' page: https://www.google.com/webmasters/sitema...rator.html).
It is just a python script and that calls a config file. I don't seem to be getting the script to recognize the config file. The instructions from google are to enter this line (while I'm SSH'ed in): Code: $ python sitemap_gen.py --config=/path/config.xmlCode: $ python sitemap_gen.py --config=/home/username/config.xmlCode: $ python sitemap_gen.py --config=config.xmlI'm a total n00b at running scripts and unix commands in general. Through a little trial and error though, it would seem the script is excecuting as other things I've tried don't return anything. Here's what I'm getting: Code: mahalie@narcissus:~$ python sitemap_gen.py --config=config.xmlAny help would be MOST appreciated. I'm trying to write a step-by-step tutorial for using the Google Sitemap Generator (obviously not because I'm qualified to) because I think a lot of people will want to use it. Thank You! mail[at]mahalie[dot]com |
|||
|
06-04-2005, 04:51 PM
Post: #2
|
|||
|
|||
|
Python script prob - Google Sitemap Generator
Firstly I am not a Python script programmer (PHP programmer) however I seen a line in your output that to me gives up the clue of what is wrong..
"mahalie@narcissus:~$ python sitemap_gen.py --config=config.xml sitemap_gen.py:543: SyntaxWarning: local name 'consumer' in 'ProduceURLs' shadows use of 'consumer' as global in nested scope 'PerFile'" Dreamhost has php globals turned on, I am not sure if this effects python but to me the warning is a local variable has a global value.. ____________________ WP/Gallery2 Integration Community -> http://wpg2.ozgreg.com/ |
|||
|
06-04-2005, 05:21 PM
Post: #3
|
|||
|
|||
|
Python script prob - Google Sitemap Generator
Thanks for the input...any clues on how to fix it, a resource I should investigate, a python tutorial or something? Thanks again.
mail[at]mahalie[dot]com |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Help



