MorphOS Developer
Posts: 1331 from 2003/6/16
Just for fun, it's also possible to view PDF through some online PDF viewers in OWB. I don't advise it because VPDF is faster and more integrated, but if you wish to do it for fun, here's the way:
Create some file SYS:applications/OWB/pdfview.rexx with the following contents :
/* pdf online viewer */
parse arg port' 'url
address VALUE port
'open name="https://viewer.zoho.com/api/urlview.do?url='url'"'
In OWB Mimetype settings, create or select "application/pdf" with pdf extension, choose external viewer, and as viewer, set: "rx SYS:applications/OWB/pdfview.rexx" and "%p %l" in the argument string next to it.