Linux 软件免费装

DocumentCloud

开发者 chrisamico
reefdog
freedmand
更新时间 2021年4月2日 23:36
PHP版本: 3.5 及以上
WordPress版本: 5.5
版权: GPLv2
版权网址: 版权信息

标签

documents research reporting journalism documentcloud

下载

0.5.1 0.5.0

详情介绍:

DocumentCloud is a service that allows journalists to analyze, annotate and publish documents, hosted by Investigative Reporters & Editors. Initial development of this plugin supported by NPR as part of the StateImpact project. This plugin allows you to embed DocumentCloud resources using either the raw URL on its own line: Here's something you should really take a look at: https://www.documentcloud.org/documents/282753-lefler-thesis.html Isn't that interesting? Or a custom shortcode: [documentcloud url="https://www.documentcloud.org/documents/282753-lefler-thesis.html"] When you save, WordPress fetches and stores the actual embed code HTML from the DocumentCloud servers using oEmbed. You can freely toggle between visual and HTML mode without mangling embed code, and your embed will always be up to date with the latest embed code. By default, documents will have a responsive width (it will narrow and widen as necessary to fill available content area) and use the theme's default height. If you want to override this, you can either set responsive="false" or explicitly set a width: [documentcloud url="https://www.documentcloud.org/documents/282753-lefler-thesis.html" width="600"] You can set your own defaults in Settings > DocumentCloud, but default widths will be ignored unless responsive is disabled: [documentcloud url="https://www.documentcloud.org/documents/282753-lefler-thesis.html" responsive="false"] To embed a single page, use any page-specific URL. Pages ignore width/height and always act responsively: [documentcloud url="https://www.documentcloud.org/documents/282753-lefler-thesis.html#document/p1"] To embed a note, use any note-specific URL. Notes ignore width/height and always act responsively: [documentcloud url="https://www.documentcloud.org/documents/282753-lefler-thesis.html#document/p1/a53674"] Here's the full list of embed options you can pass via shortcode attributes; some are specific to the type of resource you're embedding. All resources: Documents only: You can read more about publishing and embedding DocumentCloud resources on https://www.documentcloud.org/help/publishing.

安装:

  1. Upload the contents of the plugin to wp-content/plugins/documentcloud
  2. Activate the plugin through the "Plugins" menu
  3. In your posts, embed documents, pages, or notes using the DocumentCloud button or the [documentcloud] shortcode
  4. Optional: Set a default width/height for all DocumentCloud embeds (which can be overridden on a per-embed basis with the height/width attributes) at Settings > DocumentCloud. (This default width will only be used if you set responsive="false" on an embed.)
Upgrading from Navis DocumentCloud: If you're currently using the Navis DocumentCloud plugin (from which this plugin was built), you'll want to deactivate or delete it before installing this plugin.

升级注意事项:

0.3 Adds support for embedding notes and enables caching. 0.2 Adds oEmbed support for future-proofing embed codes. Provides additional embed options like default_page.

更新日志:

0.5.1 0.5.0 0.4.3 0.4.2 0.4.1 0.4.0 0.3.3 0.3.2 0.3.1 0.3 0.2 0.1