PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   This topic is locked: you cannot edit posts or make replies.
Author Message
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Sat Jun 07, 2008 1:17 pm Reply with quote Back to top

I know Raven knows how to do this and others do as well... but how do I run a Python sc ript on my site to generate a sitemap
Only registered users can see links on this board!
Get registered or login to the forums!

(or for some other reason Python might be needed)?
Basically how do I run a
Code:

python sitemap_gen.py --config=<path/config.xml>

command?
Can a PhP sc ript be used to run this? Or should I use a DOS window? Or Telnet?
Thanks for helping the learning curve.
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Sat Jun 07, 2008 10:01 pm Reply with quote Back to top

Hi southern!

If you're using Nuke, why not just use the
Only registered users can see links on this board!
Get registered or login to the forums!
included in nukeSEO?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Sat Jun 07, 2008 11:51 pm Reply with quote Back to top

On the Google Documentation page it says this:

Now you’re ready to get started. Here’s an overview of what you’ll need to do.

1. Download the Sitemap Generator program files. Extract the files to a local directory.
2. Create a configuration file for your site using the provided example_config.xml file as a template. Modify this file as needed for your site and save it.
3. Upload the necessary files to your web server.
4. Run sitemap_gen.py.

You should now be able to execute
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Sun Jun 08, 2008 8:45 am Reply with quote Back to top

kguske wrote:
Hi southern!

If you're using Nuke, why not just use the
Only registered users can see links on this board!
Get registered or login to the forums!
included in nukeSEO?


Hi kguske Smile Because a) I didn't know there was a sitemap with NukeSEO until you told me and b) I got curious about Python in general and Python generated sitemaps in particular. The old learning curve. Thanks for the link, this will hold me for a while while I look into it all. I prefer to use what comes with RavenNuke so in the end I'll probably use the NukeSEO sitemap. Thanks Smile
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Sun Jun 08, 2008 8:50 am Reply with quote Back to top

Raven wrote:
On the Google Documentation page it says this:

Now you’re ready to get started. Here’s an overview of what you’ll need to do.

1. Download the Sitemap Generator program files. Extract the files to a local directory.
2. Create a configuration file for your site using the provided example_config.xml file as a template. Modify this file as needed for your site and save it.
3. Upload the necessary files to your web server.
4. Run sitemap_gen.py.

You should now be able to execute
Only registered users can see links on this board!
Get registered or login to the forums!


Thanks, Raven, I did read that manual Laughing but just got a little confused by the command python... I guess this will be good for running any Python sc ript.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum