Extension:IPaper

What can this extension do?
This extension allow the usage of a new  tag to embed the flash-based document viewer from scribd, allowing you to view just about any document that is supported on their site (MS Office, OpenOffice, Postscript, PDF, RTF etc)

You'll need a freely-available Scribd API Account - it's easy to set up. A future release may not require this for simpler usage.

This extension is in no way affiliated with Scribd, Inc, though uses their publicly-available PHP Client Library It's just an easy way to use the iPaper document viewer within a Mediawiki context. Try it!

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
$wgIPaperScribdApiKey is a string that identifies your account at scribd.com. Look in your account settings to find your out. $wgIPaperScribdApiSecret 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 IPaper under extensions/.