Changeset 863633
- Timestamp:
- 02/23/2014 08:23:05 PM (12 years ago)
- Location:
- scribd-doc-embedder/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
scribd_doc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
scribd-doc-embedder/trunk/readme.txt
r863629 r863633 1 1 === Scribd Doc Embedder === 2 2 Contributors: ericboles 3 Tags: scribd, embed, pdf, doc, docx, ppt, pptx3 Tags: scribd, reader, viewer, embed, pdf, doc, docx, ppt, pptx 4 4 Requires at least: 3.0.1 5 5 Tested up to: 3.8.1 … … 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Uses the Scribd API to embed supported Scribd documents (e.g. PDF, MS Office, ePub, and many others) into a web page using 12 the Scribd Docs Viewer. 11 Uses the Scribd API to embed supported Scribd documents (e.g. PDF, MS Office, ePub, and many others) into a web page using the Scribd Docs Reader. 13 12 14 13 == Description == 15 14 16 15 Adds 2 shortcodes so Scribd documents or documents supported by Scribd (e.g. PDF, MS Office, ePub, and many others) can 17 be embedded into a web page using the Scribd Docs Viewer. These shortcodes provide functionality beyond the standard scribd18 embed shortcode provided in Jetpack by Wordpress.com 16 be embedded into a web page using the Scribd Docs Reader. These shortcodes provide functionality beyond the standard scribd 17 embed shortcode provided in Jetpack by Wordpress.com. 19 18 20 19 **[scribd-doc]** Shortcode: 21 20 22 21 * Allows you to embed a document that has been uploaded to Scribd. 22 * The Scribd document can be public or private. 23 23 * Requires both the document ID and the document key: 24 24 * [scribd-doc doc="DOCID" key="KEY"] … … 26 26 **[scribd-url]** Shortcode: 27 27 28 * Allows you to create a player from a publicly accessible URL 29 * Requires both the document URL and your Scribd Publisher API key 28 * Allows you to create a Scribd Reader from a publicly accessible URL. 29 * Naturally requires that the document type be supported by Scribd. 30 * Requires both the document URL and your Scribd Publisher API key: 30 31 * [scribd-url url="FULL-URL" pubid="YOUR-SCRIBD-PUBLISHER-ID"] 31 32 32 Both shortcode S supports manyparameters provided by the Scribd API:33 Both shortcodes support many optional parameters provided by the Scribd API: 33 34 34 * **width**: Define the width of the viewer in pixels35 * **height**: Define the height of the viewer in pixels36 * **page**: Set a page number of the viewer to load on35 * **width**: Define the width of the Reader in pixels. 36 * **height**: Define the height of the Reader in pixels. 37 * **page**: Set a page number for the Reader to load on. 37 38 * **mode**: Define the player mode (either "list" or "slideshow") 38 39 * **share**: Defines whether the share button in the toolbar is shown, overriding the default (either "true" or "false") 39 40 * **seamless**: If set to "true", puts the player into seamless mode 40 41 (seamless is only supported by scribd-doc) 42 43 If height or width are not set, the Scribd Reader will attempt to size itself correctly. 41 44 42 45 Note: You will need a Scribd account and a Scribd API key for this plugin to work. -
scribd-doc-embedder/trunk/scribd_doc.php
r863629 r863633 4 4 Plugin Name: Scribd Doc Embedder 5 5 Plugin URI: http://ericbol.es/ 6 Description: Uses the Scribd API to embed supported Scribd documents (e.g. PDF, MS Office, ePub, and many others) into a web page using the Scribd Docs Viewer. 6 Description: Uses the Scribd API to embed supported Scribd documents (e.g. PDF, MS Office, ePub, and many others) into a web page using 7 the Scribd Docs Reader. 7 8 Author: Eric Boles 8 9 Author URI: http://www.ericbol.es/
Note: See TracChangeset
for help on using the changeset viewer.