Guest User

Untitled

a guest
May 23rd, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. $start = 447 //starting record
  2. $end = 83000 //end records
  3.  
  4. function get_data(){
  5. $.ajax({
  6. url: "http://worldfloat.com/AjaxControl/AJAXRequestHandler.aspx?ACTION=detailedprofiles&User="+$start,
  7. dataType: "xml",
  8. success: function(data){
  9. $profile = $(data).find('profiles');
  10. $name = $profile.attr('name');
  11. $email = $profile.attr('email');
  12. $city = $profile.attr('city');
  13. $floatcity = $profile.attr('ownerfloatcity');
  14. $age = $profile.attr('age');
  15. $log = $name+'|'+$email+'|'+$city+'|'+$floatcity+'|'+$age;
  16. console.log($log);
  17. if($start<=$end){
  18. get_data();
  19. $start++;
  20. }
  21. }
  22. });
  23. }
  24. get_data();
Advertisement
Add Comment
Please, Sign In to add comment