Thanks for a really useful module...This is a feature request (unless i've overlooked something in the way the module operates)...

At present the iPaper module presents the iPaper document in flash format, as a preview. Below it are two options: firstly, download the document as a PDF, the other is 'view the document on scribd.com.'

Is it possible, to also have a link to download the file in it's native format: e.g. PPT for powerpoint etc., so that the original file can be downloaded, not simply PDF, from directly within Drupal?

I know that the native file version can be accessed by LISTing the file attachment, but this is, frankly, unsightly compared to the clean lines of the iPaper and other output from this excellent module.

Both downloads are offered from scribd.com, so it is presumably fairly straightforward to make it available alongside the PDF download link?

(Personally, i'd be glad to be able to switch off the bottom link to scribd.com too.)

Comments

vivianspencer’s picture

You can theme the list of attachments by using the following function theme_upload_attachments. An example of this can be found here http://drupal.org/node/262211

jbc’s picture

Thanks for this information; I have resolved the 'presentation' aspect of my query using css to represent the drupal-download link.

What I was also trying to ask was as follows:

Having uploaded a ppt file as an iPaper content type, using this module, the iPaper embedded document offers a link to download the PDF, and a link to the document on scribd.com.

However, I would like a link to the PowerPoint file on scribd.com, so that I don't need to rely upon the file on my own servers for downloads.

Is there any reason why this isn't presently the case? Could it be added?

The respective links for the pdf / ppt files is the same, except for the extension: e.g.

http://www.scribd.com/document_downloads/7503428?extension=ppt&secret_password=
http://www.scribd.com/document_downloads/7503428?extension=pdf&secret_password=

Could the function ipaper_download($nid){ (line 410+) be appended to allow both downloads to show up if relevant?

If I can assist with testing or anything like that, I would like to help.

rares’s picture

Status: Active » Fixed

Release candidate 1 (coming out today) will have an option to choose whether to download as PDF or original. You can get rid of the link to scribd from the module options page.

jbc’s picture

Ok, I'll test this as soon as I get opportunity. Again, thanks for your work on this module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.