T. Meissner
04333c456b
* remove tag parentheses (<, >) from the response with the replace() method
* check for the origin of the url (with or without www) to select the suitable ajax url to fullfill the same origin policy
12 years ago
T. Meissner
37028ba545
encode queries before use them with the url in the urlopen() method
* creating an sequence of two-element tuples with the queries gotten from the ajax calling instance
* use that sequence of tuples with the urlencode() method to create the encoded string of queries
12 years ago
T. Meissner
5bec3ef086
use the encodeURI() function to encode the url string
12 years ago
T. Meissner
b88df861c2
python script to get the vvo data and send it to the calling ajax js
* we get a request from the ajax function in the javascript
* we parse the queries of the request
* we send a request with the parsed queries to the vvo server
* we get the data from the vvo server
* we send the data to the requesting ajax function
12 years ago
T. Meissner
ff91d5fd0a
bypass the same origin policy
* we get our data now from a python script on same server as the webpage
* url was changed to our own server
* we must delete one char more at begin and end of the response string
12 years ago
T. Meissner
313613db6d
added initial value to text input field
12 years ago
T. Meissner
4a52b325aa
* debug log can now en- /disabled with global variable DEBUG
* ajaxCall() function now with parameter for type of response value, available values: "text", "xml" & "json"
12 years ago
T. Meissner
03dfe29550
fixed bug in outer foor loop: data was overwritten every loop cycle, so the second cycle there was an runtime error
12 years ago
T. Meissner
6d1b570e73
fixed bug in regexp (match too long, fixed by +? for shortest match) of replace call to remove parentheses
12 years ago
T. Meissner
76ce12ff01
fixed bug in replace call to remove parentheses
12 years ago
T. Meissner
d6357250bf
remove parentheses and their content from the response data
some more comments for documentation
12 years ago
T. Meissner
7493c87f09
bugifx in inner for loop in the ajax callback function
12 years ago
T. Meissner
27675107ee
more console logs for debugging purpose
12 years ago
T. Meissner
7f3b118cdc
more console logs for debugging purpose
12 years ago
T. Meissner
bfd1d38b41
next test to prevent the use of eval function by parsing and splitting the ajax response into an array
12 years ago
T. Meissner
076e3444b9
test to prevent the use of eval function by parsing and splitting the ajax response into an array
12 years ago
T. Meissner
d02d2f36c1
first collect all data to write into variable 'htmlOutput' and then write it in one bunch into the html file with the 'innerHtml' method
12 years ago
T. Meissner
63d5e1cb7d
added eval call in ajax function for testing purpose
12 years ago
T. Meissner
c1ded09db3
added some structure in the search results with a table
12 years ago
T. Meissner
7fa6749f8b
moved from subdirectory 'dvb-app' to root directory 'dvb-webapp'
12 years ago
T. Meissner
d7961c55d8
moved from subdirectory 'dvb-app' to root directory 'dvb-webapp'
12 years ago
T. Meissner
d24a3b3765
moved into root dir of 'dvb-webapp'
12 years ago
T. Meissner
1052b6b168
beauty care
12 years ago
T. Meissner
07344a0a38
moved from sub directory 'dvb-app' into 'dvb-webapp' root directory
12 years ago
T. Meissner
a234a02826
removed useless header, removed decodeHTML() in ajax response read
12 years ago
T. Meissner
60d0b76e13
initial commit
12 years ago