You are viewing the PKP Support Forum | PKP Home Wiki

Integrating ipaper from Scribd

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Integrating ipaper from Scribd

Postby p_alexander » Thu Mar 20, 2008 5:38 pm

I was looking at integrating ipaper for viewing PDFs on our journal site. If successful, I would love to create a plugin and share the functionality. I'm looking for some helpful hints in the right direction. I'm just getting back into PHP after a sabbatical so bear with me if I have some errors and downright stupidity. I'm not an OJS expert, although I have run the system since version 1.

The main issue I am having is figuring out how to link to the PDF files. I can see how the system serves them up as a download or a viewable file, but it looks like it never gives away the actual file URL, any interaction with the file is handled by the system. I'm assuming this is because some sites run on a subscription basis and wouldn't like those links just hanging out there. In fact, if I am understanding correctly, the files can be stored in a directory no accessible through the web server (although still accessible to the OJS system).

Now, Scribd's ipaper platform is obviously going to need access to the file in order to pull it into their system. I suppose the first requirement, then, is that you've got the files available in a "public" folder on the webserver and aren't restricting access to that folder (this would be the files/journals/$ folder). Assuming that is true, is there a variable/function that will return a URL for a PDF file rather than running it through the view/download routines?

That's enough for now and I hope it all makes sense. Thanks for the help and, again, sorry if I'm not understanding as much as I should. I'd be happy to clarify and/or add information as necessary.
Posts: 5
Joined: Mon Oct 24, 2005 10:37 pm

Re: Integrating ipaper from Scribd

Postby jalperin » Sat Apr 26, 2008 7:52 am


Have you made any progress on this? Sorry nobody got a change to reply to you. Let us know what progress you've made and if you are still in need of some guidance.
Posts: 158
Joined: Thu Jul 06, 2006 1:03 pm
Location: Buenos Aires

Re: Integrating ipaper from Scribd

Postby p_alexander » Sat Apr 26, 2008 9:36 am

Unfortunately, I got busy and haven't had a chance to look back into it. If I can get a tiny bit of guidance, I will dive back in...
Posts: 5
Joined: Mon Oct 24, 2005 10:37 pm

Return to OJS Development

Who is online

Users browsing this forum: No registered users and 2 guests