Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $start = 447 //starting record
- $end = 83000 //end records
- function get_data(){
- $.ajax({
- url: "http://worldfloat.com/AjaxControl/AJAXRequestHandler.aspx?ACTION=detailedprofiles&User="+$start,
- dataType: "xml",
- success: function(data){
- $profile = $(data).find('profiles');
- $name = $profile.attr('name');
- $email = $profile.attr('email');
- $city = $profile.attr('city');
- $floatcity = $profile.attr('ownerfloatcity');
- $age = $profile.attr('age');
- $log = $name+'|'+$email+'|'+$city+'|'+$floatcity+'|'+$age;
- console.log($log);
- if($start<=$end){
- get_data();
- $start++;
- }
- }
- });
- }
- get_data();
Advertisement
Add Comment
Please, Sign In to add comment