Results 1 to 5 of 5

Thread: GetPage from github?

  1. #1
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default GetPage from github?

    I'm trying out using github as my autoupdater (been using googlecode previously), but having difficulty retrieving the raw file.
    Tried:
    GetPage(view-source:https://raw.github.com/riwu/Pascal-S.../master/vc.txt)
    GetPage(https://raw.github.com/riwu/Pascal-S.../master/vc.txt)

    Both returns nil.

    On googlecode, GetPage('view-source:https://riwu-simba-scripts.googlecode.com/git/VC.txt') works perfectly.

    EDIT: seems like i've to upload it and retrieve from http://cloud.github.com/downloads/ri...Scripts/vc.txt. Is there no way to directly extract from the source? (i'm presuming it's because of the 'https' security, but it works on googlecode!)

  2. #2
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    You'll need the openSSL libraries I believe.

    Edit:
    Simba Code:
    Writeln(GetPage('https://raw.github.com/riwu/Pascal-Scripts/master/vc.txt'));
    ->
    Code:
    Compiled successfully in 281 ms.
    Cont [True] URL [https://raw.github.com/riwu/pascal-scripts/master/vc.txt]
    riwuDomSunfreet=3.1;
    riwuDomDagannoth=12.1;
    riwuBirdNest=4.1;
    riwuGielinorGames=1.1;
    Successfully executed.
    Last edited by Sex; 08-26-2012 at 02:02 AM.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  3. #3
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    You'll need the openSSL libraries I believe.

    Edit:
    Simba Code:
    Writeln(GetPage('https://raw.github.com/riwu/Pascal-Scripts/master/vc.txt'));
    ->
    Code:
    Compiled successfully in 281 ms.
    Cont [True] URL [https://raw.github.com/riwu/pascal-scripts/master/vc.txt]
    riwuDomSunfreet=3.1;
    riwuDomDagannoth=12.1;
    riwuBirdNest=4.1;
    riwuGielinorGames=1.1;
    Successfully executed.
    Thats strange? Returns nothing for me:


    Or i've to get the 'openSSL libraries' like u said? Just download from http://www.openssl.org/?

  4. #4
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    Thats strange? Returns nothing for me:


    Or i've to get the 'openSSL libraries' like u said? Just download from http://www.openssl.org/?
    Yeah, you're gonna need to have the openSSL libraries in your Simba folder, the folder your script is saved in, or in any folder in your path.

    If you download the binaries from openssl.org you'll need to copy two files (libeay32.dll, libssl32.dll) over to the above location (I'd just put them in your Simba folder).

    You can just download a zip file containing the libraries and copy them to your Simba folder instead of downloading from openssl.org.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  5. #5
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    Yeah, you're gonna need to have the openSSL libraries in your Simba folder, the folder your script is saved in, or in any folder in your path.

    If you download the binaries from openssl.org you'll need to copy two files (libeay32.dll, libssl32.dll) over to the above location (I'd just put them in your Simba folder).

    You can just download a zip file containing the libraries and copy them to your Simba folder instead of downloading from openssl.org.
    Unfortunately it's a public script so it's going to be troublesome to get users to download them or auto download them via the script. Guess i'll just stick to the 'Downloads' part of github, seems to work perfectly.
    Thanks for help anyway, rep++!

    p.s. script released: http://villavu.com/forum/showthread.php?t=89096

Thread Information

Users Browsing this Thread

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

Posting Permissions

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