Linux 软件免费装

sourceAFRICA

开发者 DavidLemayian
chrisamico
reefdog
更新时间 2015年5月29日 17:40
PHP版本: 3.2 及以上
WordPress版本: 4.2.2
版权: GPLv2
版权网址: 版权信息

标签

documents research reporting journalism documentcloud sourceafrica

下载

0.1.2 0.1.3

详情介绍:

sourceAFRICA is a service provided by African Network of Centers for Investigative Reporting that allows journalists to analyze, annotate, and publish documents, hosted by Code for Africa. Initial development of this plugin supported by NPR as part of StateImpact project and continues to be supported by DocumentCloud. This plugin allows you to embed sourceAFRICA resources using either the raw URL on its own line: Here's something you should really take a look at: https://sourceafrica.net/documents/19789-everest.html Isn't that interesting? Or a custom shortcode: [sourceafrica url="https://sourceafrica.net/documents/19789-everest.html"] When you save, WordPress fetches and stores the actual embed code HTML from the sourceAFRICA 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: [sourceafrica url="https://sourceafrica.net/documents/19789-everest.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://sourceafrica.net/documents/19789-everest.html" responsive="false"] To embed a note, just use any note-specific URL. Notes ignore width/height and always act responsively: [documentcloud url="https://sourceafrica.net/documents/19789-everest.html#document/p1/a143"] 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 and notes): Documents only: You can read more about publishing and embedding sourceAFRICA resources on https://sourceafrica.net/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 or notes using the sourceAFRICA button or the [sourceAFRICA] shortcode
  4. Optional: Set a default width/height for all sourceAFRICA embeds (which can be overridden on a per-embed basis with the height/width attributes) at Settings > sourceAFRICA. (This default width will only be used if you set responsive="false" on an embed.)
Using with DocumentCloud Plugin: If you're currently using the DocumentCloud's plugin (from which this plugin was built), you'll NOT need to deactivate or delete it before installing this plugin.

升级注意事项:

0.1 Nada

更新日志:

0.1.3 0.1.2 0.1.1 0.1