pythonscript for google sitemap

livingtale

Verified User
Joined
Jul 2, 2005
Messages
21
I want to execute a python script so the sitemap of Google is working.
Google say I should execute:
$ python sitemap_gen.py --config=<path/config.xml>

I did not find a place where I could make this command.
any ideas?
Rein
 
I have not seen Google's instructions; I'm simply responding to your post as it stands...
$ python sitemap_gen.py --config=<path/config.xml>
The $ sign means you do this from the shell, logged in as any non-root user.

If you don't have python installed on your system it won't run.

path/config.xml

means the path to your config.xml file.

Jeff
 
explanation of terms

Thank you for your reply.
The problem is that I don't know the meaning of the terms you mention.
You wrote
The $ sign means you do this from the shell, logged in as any non-root user.
Where can I find the "shell" and what is a "non-root user".
I tried to search but couldn't find an explanition page.

Second is your mention that python should be on my system.
Python is installed on my computer. Is that what you mean? Or should it be on where my site is situated?

thanks
Rein
 
Do you own the server? Or are you a hosting account customer?

If you don't own the server you can't do this yourself unless you have a "shell account"; you'll have to ask your hosting provider if he's enabled a shell account for you.

The fact that you don't know what I mean by what I write doesn't bode will for you to install software you have to install from a shell account.

I can't even begin to guess where to start teaching you.

If you're simply a hosting client and want to install this, then you'll need to ask your hosting provider to help you.

If you own a DA-based server and want to learn system administration so these things make sense, then I highly recommend the book "Linux for Dummies". There's no reason to be but off by the "Dummies" in the name; the Dummies books are quite good.

Jeff
 
Python with DA

To install python with DA i just got to install python on the server and thats it or do i need to change some files in DA also?

If i do need to change some files in DA, then what files are those en what do i need to chenge?

Could you post an installation instruction for python to combine with DA?

I own the servers and got shell access.

Tanks a lot
 
What Operating System are you running?

Usually you can install it using the packing system for your OS, for example apt-get install python on Debian.
 
Back
Top