Extension:IPaper

The Extension:IPaper allows a user to see MS Office, OpenOffice, Postscript, PDF, RTF etc on their wiki. This is done by creating a viewer from scribd.

The editor will need a freely-available Scribd API Account which is easy to set up. A future release may not require this for simpler usage.

Usage

 * 1) First upload your document to Scribd.
 * 2) Embed the iPaper using the following syntax:

The only mandatory field is the id, which you can get from your uploaded page's URL See this useful help on the Symbian Developer wiki.

Download instructions
Please cut and paste each source file page found below and place each in a file of the same name in the  directory of your installation. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters
is a string that identifies your account at scribd.com. Look in your account settings to find your out. is the secret key. Keep it secret! It should start with "sec-...".

For more help with the scribd API, please see their website

Code
You'll need these three files:


 * IPaper.php
 * IPaper.i18n.php
 * scribd.php

Copy and paste them to new files in directory called  under.

Legal
This extension is in no way affiliated with Scribd, Inc, though uses their publicly-available PHP Client Library