Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #3299

Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page

From John Forkosh <forkosh@panix.com>
Newsgroups comp.lang.postscript
Subject Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page
Date 2018-08-21 09:07 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <plgknk$b3g$1@reader1.panix.com> (permalink)
References (1 earlier) <43bfb5cc-97e7-4e99-badd-4e5276c2fb6f@googlegroups.com> <pk6anq$1jd$1@reader1.panix.com> <20180817183639.e35bde1b098dd134fd12caab@free.fr> <pl94oi$a6q$1@reader1.panix.com> <20180818202215.0ec380c4f935b036aa7dd570@free.fr>

Show all headers | View raw


Jean-Francois Moine <moinejf@free.fr> wrote:
> On Sat, 18 Aug 2018 12:51:30 +0000 (UTC)
> John Forkosh <forkosh@panix.com> wrote:
> 
>> > Some time ago, I found wps.js which works fine enough:
>> >    http://logand.com/sw/wps/
>> 
>> That kind of looks promising, but I'm not seeing any kind
>> of "download link" for wps anywhere on that page (nor anywhere
>> else I looked on logan.com).
>>    For that https://viewerjs.org/ stuff, you just download
>> ViewerJS-latest.zip and unzip it in the root directory of
>> your site, automatically creating a ViewerJS/ subdirectory
>> with all the software you need. Then a simple tag like
>>  <iframe src="/ViewerJS/#../somefile.pdf" width=400 height=300></iframe>
>> "magically" displays the pdf file. Took me all of five minutes
>> to get it working out-of-the-box (and I didn't even have to look
>> inside the box, just unzip it).
> 
> Indeed, wps asks for some code to make it work as you want.
> This should not be difficult for a javascript programmer.
> (I could do it, but I have no use for that, sorry).

Thanks for the additional info. I'll take a more detailed look
at it, but probably more work than I want to invest for the
purpose at hand. After finding viewerjs.org for pdf, I was just
hoping a similar out-of-the-box solution existed for ps.
Apparently not.
 
>> > I am using it in my project abc2svg (see modules/wps.js in
>> > https://chiselapp.com/user/moinejf/repository/abc2svg).
>> > I just changed the HTML5 output to SVG.
>> 
>> Yeah, I certainly would "see modules/wps.js" to see how you're
>> using wps, which I couldn't figure out from that .../sw/wps/ page,
>> except I'm not seeing wps anywhere on your abc2svg page at all.
> 
> Well, this is a fossil repository. Click on 'files', and then on
> 'modules'. But the wps source is of no interest for you: it just
> contains some bug fixes.

Right. Don't know how I missed that. Thanks, again.
-- 
John Forkosh  ( mailto:  j@f.com  where j=john and f=forkosh )

Back to comp.lang.postscript | Previous | NextPrevious in thread | Find similar


Thread

ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-02 15:33 +0000
  Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Reiser <vendor@BitWagon.com> - 2018-08-03 16:59 -0700
    Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-04 09:08 +0000
  Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page luser droog <luser.droog@gmail.com> - 2018-08-04 07:10 -0700
    Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-04 15:17 +0000
      Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page Eli the Bearded <*@eli.users.panix.com> - 2018-08-04 23:59 +0000
        Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-05 08:30 +0000
    Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-05 07:58 +0000
      Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page Jean-Francois Moine <moinejf@free.fr> - 2018-08-17 18:36 +0200
        Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-18 12:51 +0000
          Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page Jean-Francois Moine <moinejf@free.fr> - 2018-08-18 20:22 +0200
            Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-21 09:07 +0000

csiph-web