473,381 Members | 1,531 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,381 software developers and data experts.

1)URL QueryString Parsing 2)Search Engine Spiders

I am trying to create a back link, equivalent to the browser back
action and I can not use java script. The target user does not allow
java script.

I am using HTTP_REFERER.

I need to add the original Query String values.

Is there a way to get the QueryString element other than by using
cgi.FieldStorage, as I just want to return with the values that were
current in the calling page.

gv.orgQueryString = ""

gv.BackButton = '<A href="' + os.environ.get("HTTP_REFERER") +
gv.orgQueryString + '">BACK</A>'

----------------------------------------------------------------------------------------
Am I right in thinking Search Engine Spiders will never see my script
pages as they exist only for the duration of the python script's
execution ? And even then as they are xxx.py, they would not be
seen.

Thanks

Richard

Aug 19 '07 #1
2 1781
mosscliffe wrote:
I am trying to create a back link, equivalent to the browser back
action and I can not use java script. The target user does not allow
java script.

I am using HTTP_REFERER.

I need to add the original Query String values.

Is there a way to get the QueryString element other than by using
cgi.FieldStorage, as I just want to return with the values that were
current in the calling page.

gv.orgQueryString = ""

gv.BackButton = '<A href="' + os.environ.get("HTTP_REFERER") +
gv.orgQueryString + '">BACK</A>'
I'm not sure I understand your problem. Does the above code not work?
Am I right in thinking Search Engine Spiders will never see my script
pages as they exist only for the duration of the python script's
execution ? And even then as they are xxx.py, they would not be
seen.
Anyone who accesses your web server will see the pages that you serve.
If you serve the xxx.py files, then they can be seen and indexed,
otherwise they are invisible.
Aug 19 '07 #2
On 19 Aug, 13:54, samwyse <dejan...@email.comwrote:
mosscliffewrote:
I am trying to create a back link, equivalent to the browser back
action and I can not use java script. The target user does not allow
java script.
I am using HTTP_REFERER.
I need to add the original Query String values.
Is there a way to get the QueryString element other than by using
cgi.FieldStorage, as I just want to return with the values that were
current in the calling page.
gv.orgQueryString = ""
gv.BackButton = '<A href="' + os.environ.get("HTTP_REFERER") +
gv.orgQueryString + '">BACK</A>'

I'm not sure I understand your problem. Does the above code not work?
Am I right in thinking Search Engine Spiders will never see my script
pages as they exist only for the duration of the python script's
execution ? And even then as they are xxx.py, they would not be
seen.

Anyone who accesses your web server will see the pages that you serve.
If you serve the xxx.py files, then they can be seen and indexed,
otherwise they are invisible.
I currently have to build the query string from each field passed. I
was hoping I could somehow just
split the query string. something like

TheQueryStribgBit = FullURL.split("&")

but I can't find a reference to FullURL with os.environ's

I apologise for my lack of clarity - the grey matter is getting a bit
long in the tooth.

Richard

Aug 19 '07 #3

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

Similar topics

5
by: Simon Wigzell | last post by:
Will a search engine spider pick up and follow (and index!) a javascript popup window link like this : <a onclick="MyWindow=window.open('http://www..com','MyWindow','')"></a> Thanks!
1
by: Fastly | last post by:
Hi Guys I'm no Javascript guru, although am fairly confidant using PHP... What I have knocked together here uses PHP to create a querystring without the iso=XX value, and dump it's output within...
10
by: moondaddy | last post by:
I'm writing an ecommerce app in asp.net/vb.net and need to make the pages searchable and crawlable by spiders, particularly Google's. As far as I know, if my pages's contents are mostly populated...
1
by: Dunc | last post by:
I have a site with a number of pages that make use of an ID and an anchor in the querystring (e.g. www.mysite.com/news.aspx?NewsTypeID=7#NewsID_49). For some reason, when it's visited by a...
9
by: ankitdesai | last post by:
I would like to parse a couple of tables within an individual player's SHTML page. For example, I would like to get the "Actual Pitching Statistics" and the "Translated Pitching Statistics"...
5
by: Jens Jensen | last post by:
Hello, Does anyone know anything about how to optimise asp.net 2.0 pages for search engines? I'm thinking of a programmatic way of mapping sitemap structure to pages meta tags. Well it...
0
by: Mark Jones | last post by:
Search Engine Cloaker is used by hundreds of top-ranked Webmasters to increase their search engine listings. How it works: Cloaker tricks the search engine spiders into thinking your site...
6
by: ewolfman | last post by:
Hi, Recently we've hired professional SEO services to help up promote our website. They claim that pages which contain ASP.NET's Gridview with paging will not be scanned by the different spiders...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.