• API

    From Netsurge@TIME/DIGDIST/DISKSHOP to All on Wednesday, September 29, 2010 00:57:00
    I have just updated the bbs-scene.org api to include some new calls.

    You can now pull a random oneliner down from bbs-scene.org. Check http://bbs-scene.org/api_docs/ for more info.

    I have also created some sample php functions for those of you who run php powered websites and wish to display the onelinerz on your site. I will hatch them out tomorrow on SciNet and put them up in the downloads section of bbs-scene.org.

    Any questions or problems feel free to let me know.

    |08[|07=|15! frank |07aka |15netsurge
    |08[|07=|15! diskshop bbs |08. |15http/ftp/nntp/telnet |08. |15bbs.diskshop.ca |08[|07=|15! bbs-scene.org |08. |15where all the cool kids hang out


    ---
    * Synchronet * >> diskshop bbs >> bbs.diskshop.ca
  • From Tiny@TIME/DIGDIST/DISKSHOP to Netsurge on Thursday, September 30, 2010 18:02:00
    site. I will hatch them out tomorrow on SciNet and put them up in
    the downloads section of bbs-scene.org.

    Ermmm.... There are no instructions in that file man. Could you give a little howto for stupid none php / html guru's?

    ... Between two evils, I always pick the one I never tried before.
    -*- CheepEDIT v0.99i+
    --- Ezycom V2.15g2 01FA027C
    * Origin: Tiny's BBS - http://www.tinysbbs.com (77:1/160)
    * Synchronet * >> diskshop bbs >> bbs.diskshop.ca
  • From Netsurge@TIME/DIGDIST/DISKSHOP to Tiny on Thursday, September 30, 2010 23:14:00
    Re: API
    By: Tiny to Netsurge on Thu Sep 30 2010 06:02 pm

    Ermmm.... There are no instructions in that file man. Could you give a little howto for stupid none php / html guru's?

    The top of the actually php has the instructions in the comments. It's quite easy if you already have a php powered page.

    you need to include the php file in the page you want to display the onlinerz like so:

    <?php include "path/to/bbs-scene_onelinerz.php; ?>

    Then on the page you actually want to show the onelinerz issue the onelinerz function like this:

    <?php parseOnelinerz($doc); ?>

    If you need any help getting it going find me on #bbs on irc.bbs-scene.org

    |08[|07=|15! frank |07aka |15netsurge
    |08[|07=|15! diskshop bbs |08. |15http/ftp/nntp/telnet |08. |15bbs.diskshop.ca |08[|07=|15! bbs-scene.org |08. |15where all the cool kids hang out


    ---
    * Synchronet * >> diskshop bbs >> bbs.diskshop.ca
  • From Tiny@TIME/DIGDIST/DISKSHOP to NETSURGE on Friday, October 01, 2010 10:41:00
    actually php has the instructions in the comments. It's quite easy
    if you already have a php powered page.

    Hrmm, I wonder if the file you hatched is correct? I can't see
    anything that even looks like instructions in there... Not being
    difficult just trying to learn. :)

    If you need any help getting it going find me on #bbs on
    irc.bbs-scene.org

    Okay.

    Shawn

    . OLXWin 1.00a . Useless Invention: AC adapter for solar calculators.

    --- EzyQwk V2.15g2 01FA027C
    * Origin: Tiny's BBS - http://www.tinysbbs.com (77:1/160)
    * Synchronet * >> diskshop bbs >> bbs.diskshop.ca
  • From Netsurge@TIME/DIGDIST/DISKSHOP to Tiny on Saturday, October 02, 2010 00:15:00
    Re: API
    By: Tiny to NETSURGE on Fri Oct 01 2010 10:41 am

    Hrmm, I wonder if the file you hatched is correct? I can't see
    anything that even looks like instructions in there... Not being
    difficult just trying to learn. :)

    It wasn't. Weird thing, when you try to add a .php file to a zip archive in Linux it tries to execute the actuall script. I have rehatched the file and it's also available on bbs-scene.org/download.php as well.

    Sorry about that.

    |08[|07=|15! frank |07aka |15netsurge
    |08[|07=|15! diskshop bbs |08. |15http/ftp/nntp/telnet |08. |15bbs.diskshop.ca |08[|07=|15! bbs-scene.org |08. |15where all the cool kids hang out


    ---
    * Synchronet * >> diskshop bbs >> bbs.diskshop.ca
  • From Tiny@TIME/DIGDIST/DISKSHOP to NETSURGE on Saturday, October 02, 2010 09:05:00
    It wasn't. Weird thing, when you try to add a .php file to a zip archive in N>Linux it tries to execute the actuall script. I have rehatched the file and N>it's also available on bbs-scene.org/download.php as well.

    Oh wow I feel better now, I thought I was loosing my mind. hahaha.
    Will check out the docs now! ;)

    Shawn

    . OLXWin 1.00a . Useless Invention: Blinker Fluid.

    --- EzyQwk V2.15g2 01FA027C
    * Origin: Tiny's BBS - http://www.tinysbbs.com (77:1/160)
    * Synchronet * >> diskshop bbs >> bbs.diskshop.ca
  • From Netsurge@TIME/DIGDIST/DISKSHOP to Tiny on Saturday, October 02, 2010 19:17:00
    Re: API
    By: Tiny to NETSURGE on Sat Oct 02 2010 09:05 am

    Oh wow I feel better now, I thought I was loosing my mind. hahaha.
    Will check out the docs now! ;)

    Let me know if you need any help, i'll be glad to help you out.

    |08[|07=|15! frank |07aka |15netsurge
    |08[|07=|15! diskshop bbs |08. |15http/ftp/nntp/telnet |08. |15bbs.diskshop.ca |08[|07=|15! bbs-scene.org |08. |15where all the cool kids hang out


    ---
    * Synchronet * >> diskshop bbs >> bbs.diskshop.ca
  • From Tiny@TIME/DIGDIST/DISKSHOP to Netsurge on Sunday, October 03, 2010 08:50:00
    Let me know if you need any help, i'll be glad to help you out.

    Thanks Frank will do!

    Shawn

    ... An alcoholic is someone you don't like who drinks as much as you do.
    -*- CheepEDIT v0.99i+
    --- Ezycom V2.15g2 01FA027C
    * Origin: Tiny's BBS - http://www.tinysbbs.com (77:1/160)
    * Synchronet * >> diskshop bbs >> bbs.diskshop.ca