Search Results

Search found 21350 results on 854 pages for 'url parsing'.

Page 67/854 | < Previous Page | 63 64 65 66 67 68 69 70 71 72 73 74  | Next Page >

  • C Library for Parsing Date Time

    - by adk
    Is one aware of a date parsing function for c. I am looking for something like: time = parse_time("9/10/2009"); printf("%d\n", time->date); time2 = parse_time("Monday September 10th 2009") time2 = parse_time("Monday September 10th 2009 12:30 AM") Thank you

    Read the article

  • Parsing and generating JSON

    - by Pillsy
    Mathematica's list of built-in formats is pretty extensive; however, JSON is not on that list. Is there an existing solution for generating and parsing JSON in Mathematica, or are we going to have to roll our own solution?

    Read the article

  • Django Date Input Parsing?

    - by Dane Larsen
    I'm trying to get a date for an event from a user. The input is just a simple html text input. My main problem is that I don't know how to parse the date. If I try to pass the raw string, I get a TypeError, as expected. Does Django have any date-parsing modules?

    Read the article

  • How to download file from particular url???

    - by greshi gupta
    NSURL * url = @"http://192.168.100.161/UploadWhiteB/wh.txt"; NSData * data = [NSData dataWithContentsOfURL:url]; if (data != nil) { NSLog(@"\nis not nil"); NSString *readdata = [[NSString alloc] initWithContentsOfURL:(NSData *)data ]; I write this code to download a file from given url... but i get an error on line NSData * data = [NSData dataWithContentsOfURL:url]; uncaught exception....so please help me out..

    Read the article

  • android : sax Xml parsing

    - by Ram
    Team, I am facing some issue at the time of parsing the XML, but the same works in Java program... When I run the same code through android prgming its failing to parse... InputStream byteArrayInputStream = new ByteArrayInputStream( response.toString().getBytes()); SAXParser parser = SAXParserFactory.newInstance().newSAXParser(); parser.parse(byteArrayInputStream, xmlHandler); Facing the following error DTD handlers aren't supported Any help is greatly appreciated. Thanks, Ramesh

    Read the article

  • parsing JSON in java ?

    - by bukuai
    How to parsing JSON in java? { "code": 100, "message": "SUCCESS", "result": { "list": [ { "cardNumber": "ALUFZZ5SZ1Q5", "expireTime": 1270742400, "surplusThreshold": 4, "uid": 771292, "useTime": 1270214375, "wareId": 1145 }, { "cardNumber": "ALUFZZ5SZ1QD", "expireTime": 1270828800, "surplusThreshold": 7, "uid": 784289, "useTime": 1270302200, "wareId": 1145 }, { "cardNumber": "ALUFZZ5SZ1RC", "expireTime": 1270828800, "surplusThreshold": 10, "uid": 773664, "useTime": 1270300871, "wareId": 1145 }, { "cardNumber": "ALUFZZ5SZ1UM", "expireTime": 1270828800, "surplusThreshold": 10, "uid": 779560, "useTime": 1270282841, "wareId": 1145 }, { "cardNumber": "ALUFZZ5SZ1VT", "expireTime": 1270656000, "surplusThreshold": 2, "uid": 754099, "useTime": 1270106775, "wareId": 1145 } ], "pageCount": 61, "pageIndex": 2, "pageSize": 5, "recordCount": 308 } }

    Read the article

  • Parsing json in ios

    - by gaps
    i have the follwing json string ,can anybody tell me how to get the value of role_name {"response":"success","user":{"created_at":"2011-11-16T05:48:31Z","ud_id":"1234567890","last_sign_in_ip":"182.72.141.194","updated_at":"2011-11-19T08:58:27Z","account_id":21,"last_name":"dfg","role_name":"Parent","email":"[email protected]","first_name":"abc"},"status":"200"} code for parsing is NSString *responseString = [[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding]; NSLog(@"resp--- %@",responseString); NSArray* latestLoans = [(NSDictionary*)[responseString JSONValue] objectForKey:@"user"]; NSDictionary* loan = [latestLoans objectAtIndex:0]; NSString* name = [loan objectForKey:@"last_name"];

    Read the article

  • Parsing xml with jQuery in IE6/7 issue

    - by Alexander Corotchi
    Hi, I have some problem with parsing XML in Ie6/7(original 7 no compatible mode). On Another normal browsers it works. Jquery code: $.ajax({ type: "GET", url: "test.xml", dataType: "html", success: function(xml) { $(xml).find('quoteresult').each(function(){ var bid = $(this).find('bid').text(); alert(bid); }); } }); I can't understand what is wrong ! Thanks

    Read the article

  • How to insert URL parameter in DIV?

    - by rajesh
    Hi, my code is <a href="#" target="_blank" class="floatLeft" onclick="change('http://localhost/allwidgets/widgets.html');" > function change(url) { alert(url); document.getElementById("mainOuter").innerHTML=url; } Actually I want that url should go in innerHTML of mainOuter div and that page should display in that. Please suggest.... Thanks

    Read the article

  • Ignoring namespace prefix while parsing xml

    - by Rachel
    If a xhtml file has namespace prefixes in the document and the namespace for the prefixes is not defined, is it possible to ignore the prefixes and still parse the file when using SAX parser. Is there a way to get rid of the error "The prefix for element is not bound." without defining the namespace for the prefixes while parsing?

    Read the article

  • replace all spaces and special symbols with dash in url use php language

    - by khushbu
    How to replace space and dash coming together with only dash in php e.g below is my url [url] = http://kjd.case.150/1 BHK+Balcony- 700+ sqft. spacious apartmetn Bandra West In this I want to replace all special characters with dash in php.In url there is already 1 dash after balcony.If i m replacing dash with special chars then it becomes two dash bcoz already there is 1 dash in url and i want only 1 dash.

    Read the article

  • php extracting complete url with variables

    - by salmane
    Hi there, Using Php I would like to extract the current Url of a page including all variables attached to it. $_SERVER['PHP_SELF'] only return the url without the variable . any idea what function I need. example : www.site.com/?v1=xyz&v2=123 using $_SERVER['PHP_SELF'] I get only : www.site.com as opposed to the whole url. using $_GET[] individually is not an opton since I am not sure what variable are attached to the URL. thank you

    Read the article

  • Parsing command line options in Perl

    - by Jay Gridley
    Hi guys, I am parsing command line options in Perl using Getopt::Long. I am forced to use prefix - (one dash) for short commands (-s) and -- (double dash) for long commands (ex. --input=file), but problem is, that there is one special option (-r=) so it is long option for its requirement for argument, but it has to have one dash (-) prefix not double dash (--) like other long options. Is possible to setup Getopt::Long to accept these?

    Read the article

  • Java compile error: reached end of file while parsing } [closed]

    - by adeo8
    I have the following source code public class mod_MyMod extends BaseMod public String Version() { return "1.2_02"; } public void AddRecipes(CraftingManager recipes) { recipes.addRecipe(new ItemStack(Item.diamond), new Object[] { "#", Character.valueOf('#'), Block.dirt }); } When I try to compile it I get the following error: java:11: reached end of file while parsing } What am I doing wrong? Any help appreciated.

    Read the article

< Previous Page | 63 64 65 66 67 68 69 70 71 72 73 74  | Next Page >