Subj : js script?
To   : echicken
From : Bill McGarrity
Date : Tue Apr 03 2018 06:18 am

-=> echicken wrote to Bill McGarrity on 04-02-18 22:11 <=-

ec>   Re: js script?
ec>   By: Bill McGarrity to All on Mon Apr 02 2018 20:55:37

BM> Was wondering if there was a src or js script that will requst a raw ansi
BM> file over http and then do a console.printfile within an external program
BM> or to display a hotlink?

ec> It's doable.  I host an ANSI archive on my BBS, which is viewable
ec> remotely via the ansiview external program.  The files are fetched via
ec> HTTP.

There's two ways I can do this. Fetch a raw ansi from the following:

http://games.bbslink.net/score.php?door=lord&type=ansi

or... do a hotlink to the following:

http://games.bbslink.net/score.php?door=lord&type=image



ec> There's no simple script just to fetch and display a .ans file that I'm
ec> aware of, but it would be easy to do.  I can make it for you, but I
ec> might need a few more details.

Let me know... :)

ec> One gotcha is that if the file is hosted on a Synchronet webserver, the
ec> server might convert it to an HTML rendering of the graphic before
ec> sending it to the client.  (See ctrl/web_handler.ini, and whether
ec> asc_handler.js is set up to serve .ans files.)  There are ways around
ec> that, starting with just giving the file something other than a .ans
ec> extension.

As you can see above, they're using php.

I'll await your reply to see what else you'll need.

Thanks!!


--

Bill

Telnet: tequilamockingbirdonline.net
Web: bbs.tequilamockingbirdonline.net
FTP: ftp.tequilamockingbirdonline.net:2121
IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
Radio: radio.tequilamockingbirdonline.net:8010/live


... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
--- MultiMail/Win32 v0.50
� Synchronet � TequilaMockingbird Online - Toms River, NJ