Results 1 to 4 of 4

Thread: loading external data possible?

  1. #1
    Join Date
    Oct 2007
    Location
    Atlantis with u'r girlfriend
    Posts
    251
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default loading external data possible?

    i need to load a web page into, a string manipulate it and get some data out of it. is this possible? ive already done it in AS3...

  2. #2
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    You really should've looked at the SCAR manual before asking a question like this.

    SString := GetPage('http://www.somerandomwebsite.com');

    and then use the string functions that you also can find in the scar manual to parse the info you want from the source code of the webpage.

  3. #3
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Such as

    SCAR Code:
    Program New;
    Var
    String1:string;
    Begin
    String1 := GetPage('http://www.villavu.com/forum/showthread.php?t=25963?t=28362');
    Writeln(String1);
    End.

  4. #4
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    If you want to get useful data out, then you would have to have 1 webpage per info you want to get, or you could use my amazing StrToArray function found here to make it possible to get a lot of info out of 1 page as long as you separate them with the same delimeter.
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. sending data
    By Waddo in forum Delphi/FPC Help and Tutorials
    Replies: 17
    Last Post: 09-13-2008, 09:11 AM
  2. C Data type help
    By Runescapian321 in forum C/C++ Help and Tutorials
    Replies: 3
    Last Post: 03-05-2008, 04:23 PM
  3. Formatting data
    By me_ntal in forum OSR Help
    Replies: 0
    Last Post: 07-08-2007, 01:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •