這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.
閱讀全部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+)