WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Navis DocumentCloud

Embed DocumentCloud documents that won't be eaten by the visual editor.

DocumentCloud is a free service allowing journalists to analyze, annotate and publish documents, funded by the Knight Foundation. Initial development supported by NPR as part of StateImpact project.

DocumentCloud's normal embed code looks like this:

<div id="DV-viewer-265231-11-07-2011-letter-to-idaho-congressional" class="DV-container"></div>
<script src="http://s3.documentcloud.org/viewer/loader.js"></script>
<script>
 DV.load('http://www.documentcloud.org/documents/265231-11-07-2011-letter-to-idaho-congressional.js', {
    width: 600,
    height: 450,
    sidebar: false,
    container: "#DV-viewer-265231-11-07-2011-letter-to-idaho-congressional"
  });
</script>

That works great as long as you edit in HTML mode. Switch to the visual editor, and your container div disappears and your JavaScript is broken.

To get around this, use this short code:

[documentcloud id="265231-11-07-2011-letter-to-idaho-congressional"]

Or use the URL from DocumentCloud:

[documentcloud url="http://www.documentcloud.org/documents/265231-11-07-2011-letter-to-idaho-congressional.html"]

Requires: 3.2 or higher
Compatible up to: 3.3.2
Last Updated: 2012-4-23
Downloads: 337

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2