该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Scribd Doc Embedder

描述

Adds 2 shortcodes so Scribd documents or documents supported by Scribd (e.g. PDF, MS Office, ePub, and many others) can
be embedded into a web page using the Scribd Docs Reader. These shortcodes provide functionality beyond the standard scribd
embed shortcode provided in Jetpack by WordPress.com.

Version 2 Now includes shortcode button and configurator in the editor so you easily enter the information you need to embed you documents. Take a look at the screenshots to see them.

[scribd-doc] Shortcode:

  • Allows you to embed a document that has been uploaded to Scribd.
  • The Scribd document can be public or private.
  • Requires both the document ID and the document key:
  • [scribd-doc doc=”DOCID” key=”KEY”]

[scribd-url] Shortcode:

  • Allows you to create a Scribd Reader from a publicly accessible URL.
  • Naturally requires that the document type be supported by Scribd.
  • Requires both the document URL and your Scribd Publisher API key:
  • [scribd-url url=”FULL-URL” pubid=”YOUR-SCRIBD-PUBLISHER-ID”]

Both shortcodes support many optional parameters provided by the Scribd API:

  • width: Define the width of the Reader in pixels.
  • height: Define the height of the Reader in pixels.
  • page: Set a page number for the Reader to load on.
  • mode: Define the player mode (either “list” or “slideshow”)
  • share: Defines whether the share button in the toolbar is shown, overriding the default (either “true” or “false”)
  • seamless: If set to “true”, puts the player into seamless mode
    (seamless is only supported by scribd-doc)

If height or width are not set, the Scribd Reader will attempt to size itself correctly.

Note: You will need a Scribd account and a Scribd API key for this plugin to work.
You can sign up for a Scribd account at http://www.scribd.com.
With a Scribd account, you can get your API key at http://www.scribd.com/developers

屏幕截图

  • Shortcode editor to embed a document that has been uploaded to Scribd. Configures [scribd-doc] shortcode.
  • Shortcode editor create a Scribd Reader from a publicly accessible URL. Configures [scribd-url] shortcode.

安装

  1. Upload the scribd-doc-embedder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. If using WordPress 3.9 or greater, you’ll now see a shortcode button in your editor that you can use to enter and configure the short codes.
  4. You can also manually place a shortcode on any page.

常见问题

Where do I find the Document ID and Key?

You will find the document ID and key within your Scribd account after uploading a document to Scribd and going looking at the

How do I get a Scribd Publisher Key?

You will need a Scribd account and a Scribd API key for this plugin to work. You will see your Publisher key in your API settings within your account after getting API access.

You can sign up for a Scribd account at http://www.scribd.com. With a Scribd account, you can get your API key at http://www.scribd.com/developers

It doesn’t seem to be working. Am I doing something wrong?

Be sure you’re not prepending your Document Keys or Publisher ID with “key-“ or “pub-“.

How come I can’t see the shortcode button in my editor?

You need to be running WordPress 3.9 or above to use the shortcode button.

评价

2020 年 2 月 26 日
I have just successfully installed and configured it to work on my website which currently runs v5.3.2. Works perfectly.
2016 年 9 月 3 日
Embed code doesn't work with current version of WP. Probably worked when it was launched but 2 years without an update creates an unworkable plugin. Best to use the Scribd embed code.
阅读所有3条评价

贡献者及开发者

“Scribd Doc Embedder” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Scribd Doc Embedder”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • First version

2.0

  • Added shortcode button and configurator to the editor, making it easier to embed documents. (Shortcode button functionality requires WordPress 3.9+)