ཞིབ་བརྗོད།
Embed Scribd supported documents in your wordpress website.
You can also choose whether to display document to everyone or only to logged users. If you are using Suma plugin then you can use ZD Scribd iPaper plugin along with Suma. There is option on admin page to turn Suma checking on. If you need any other authentication plugin integration then email me your requirement.
You can make few document public and few for loged in user by using ‘access’ attribute within [scribd] and [scribdlink] shorttags.
You can also display document link instead of embedding the ipaper. Upon clicking the link, lightview window will open the document. Next version will have more JavaScript window options like thickbox, fancybox, etc. If you have some suggestion for JavaScript window tools then please email me your suggestions.
Usage
To embed already published scribd document:
[scribd id=DOCUMENT_ID_HERE key=ACCESS_KEY_HERE]
You can get this tag from scribd document page.
To embed a document from url:
[scribd pubid=SCRIBD_PUBLISHER_ID_HERE]DOCUMENT_URL_HERE[/scribd]
or
[scribd url=DOCUMENT_URL_HERE pubid=SCRIBD_PUBLISHER_ID_HERE]
(Use this format when embedding multiple document on same page/post)
Available Attributes for [scribd] shorttag:-
- url – URL (http://) of document, when embed a document from url
- id – Scribd document id.
- key – Scribd document key.
- pubid – Your Scribd Publisher Key. You can find it on your Scribd account page. You need register at scribd.com to get this key
- height – The height of iPaper, in pixels.
- width – The width of iPaper, in pixels.
- public – Whether to make the document public on Scribd. This parameter is only for iPapers created from Url. iPapers created with the id and key will ignore this parameter. Value: true or false
- page – You can use this to scroll iPaper to a default start page. Defaults to 1
- extension – This parameter is only for iPapers created from the Url. When Scribd processes a file it will try to identify the file type using the contents of the file and various heuristics. If Scribd is guessing wrong on one of your files, you can override this behavior and set the extension directly with this parameter (e.g., “docx”).
- title – This parameter is only for iPapers created from the Url. Sets the title of the new file uploaded.
- disable_related_docs – When true the related docs tab is not shown in List Mode. Value: true or false
- mode – Sets the default view mode for the document, overriding the document’s default. Parameter must be added before the document is written. Valid values are: “list”, “book”, “slide”, and “tile”.
- auto_size – When false, this parameter forces iPaper to use the provided width and height rather than using a width multiplier of 85/110. Values: true or false
- access – You set whether document requires login for viewing. Value: public / private.
Place a link to iPaper:
[scribdlink href=DOCUMENT_URL id=DOCUMENT_ID_HERE key=ACCESS_KEY_HERE pubid=SCRIBD_PUBLISHER_ID_HERE]LINK_TEXT_OR_IMAGE[/scribdlink]
Avaliable Attributes for [scribdlink] shorttag:-
- href – URL (http://) of document, when embed a document from url
- id – Scribd document id.
- key – Scribd document key.
- pubid – Your Scribd Publisher Key. You can find it on your Scribd account page. You need register at scribd.com to get this key
- title – Title of lightview window
- caption – Caption of lightview window
- access – You set whether document requires login for viewing. Value: public / private.
Support
Email at support@proloy.me
གཏུབ་རེིས།
སྒྲིག་འཇུག
- Upload the full directory into your ‘wp-content/plugins’ directory
- Activate the plugin at the plugin administration page
- Use [scribd] or [scribdlink] shortcode in your post or page. Use the attributes as per your requirements.
FAQ
- Minimum PHP Version
-
PHP5
- Lightview not working?
-
If you are using jQuery in you theme or if any of your other plugins are using jquery then you have to put following code in your theme’s header.php file.
jQuery.noConflict();
Use jQuery instead of $.
གདེང་འཇོག
There are no reviews for this plugin.
བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།
“ZD Scribd iPaper” is open source software. The following people have contributed to this plugin.
བྱས་རྗེས་འཇོག་མཁན།ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “ZD Scribd iPaper” ཡིག་སྒྱུར་བྱོས།
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
དག་བཅོས་ཉིན་ཐོ།
Version 1.0
07-Aug-2008
- First Release