473,395 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Python script not mapping our site correctly?

We have been using the Google recommended python script for about a
year. We recently realized that the script was not crawling our sites
url's, but just our folders which reside on the server. The python
script seems to be designed for 'non database' sites, not a site which
is using .asp, and has dynamic pages.

We are an ecommerce site. What are other ecommerce sites using to
create an xml file?

Are they using the python script?

Thank you for your help.

Michael

May 24 '07 #1
1 1720
mi*************@gmail.com wrote:
We have been using the Google recommended python script for about a
year.
Which script would that be? Googling for 'python script' yields approx.
27 million hits.
We recently realized that the script was not crawling our sites
url's, but just our folders which reside on the server.
The behavior of the script recently changed, or you were running the
script for a year not realizing what its purpose was?
The python
script seems to be designed for 'non database' sites, not a site which
is using .asp, and has dynamic pages.
It sounds like your script is just traversing a directory structure on
disk, presumably indexing the text in the files found there. I think it
sounds like (but I'm guessing, here) that you want what is known as a
web crawler, that communicates via http with your site, follows links,
and indexes the resulting pages.
We are an ecommerce site. What are other ecommerce sites using to
create an xml file?
XML is mostly used to persist data of one sort or another. What kind of
XML file do you want to create?
Are they using the python script?
We aren't going to be able to help you with this question until you
become *much more specific*:

+ Which python script? Where did you download it from and what is it called?

+ What is the purpose of the XML you want generated? (WAG: Submit to
Froogle?)

+ What pages do you want indexed?

Usually, for database-driven ecommerce sites, for developing lists of
products for submission to places like Froogle, I don't go via the web
interface at all: I write python scripts (there's that word again!) to
connect to the database, and run queries to determine the results, run
that through a template for each line that figures out things such as
the URL of the page that represents the product, etc.)

But I hesitate to say much more until we understand what you want your
python script to do.
--
pkm ~ http://paulmcnett.com
May 24 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ben moretti | last post by:
hi i'm learning python, and one area i'd use it for is data management in scientific computing. in the case i've tried i want to reformat a data file from a normalised list to a matrix with some...
2
by: Jorgen Grahn | last post by:
I couldn't think of a good solution, and it's hard to Google for... I write python command-line programs under Win2k, and I use the bash shell from Cygwin. I cannot use Cygwin's python package...
13
by: Jon Cosby | last post by:
I'm having trouble executing Python scripts in IIS. I have the error message "%1 is not a valid Win32 application". Anyone know what this is about? Jon Cosby
37
by: John Salerno | last post by:
I contacted my domain host about how Python is implemented on their server, and got this response: ------------------- Hello John, Please be informed that the implementation of python in our...
0
by: Peter Otten | last post by:
QOTW: "You need 23 C/C++ people to do the job of one Pythoneer ;-)" - Jorge Godoy "I've never seen an 'object-relational mapping' ... which doesn't drive me into a murderous, foam-at-mouth rage...
206
by: WaterWalk | last post by:
I've just read an article "Building Robust System" by Gerald Jay Sussman. The article is here: http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf In it there is a...
4
by: kettle | last post by:
Hi, I am rather new to python, and am currently struggling with some encoding issues. I have some utf-8-encoded text which I need to encode as iso-2022-jp before sending it out to the world. I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.