WolframCDF (wolfram-cdf-plugin) free WordPress plugin

Free Plugin14 websites
WolframCDF (wolfram-cdf-plugin) free WordPress plugin by Dan Sherman

The Wolfram CDF Plugin is no longer being updated. For embedding CDF documents on your WordPress site (via the cloud or plugin), Wolfram recommends the third-party plugin Mathematica Toolbox.

The Wolfram CDF Plugin adds a CDF button to the WordPress HTML and visual post editors.

To use this plugin, open up a post you wish to edit. Click in the editor where you want the CDF content to be displayed and click the CDF button. Placeholder text will appear in the place of your selection.

The placeholder will appear as:
[WolframCDF source=”” width=”320″ height=”415″ altimage=”” altimagewidth=”” altimageheight=””]

After editing the placeholder, click the Publish/Update post button or the Preview button to view the content, in order to confirm that the placeholder was parsed and replaced by the CDF. While some attributes must be set in order for your CDF to appear on the page, others are optional:

source

  • Required: Yes
  • Input type(s): file name with extension, url
  • Description: ‘source’ holds the CDF file name or the url where the file is located. To enter just the file’s name, you must first add the file to WordPress using the file uploader.

width

  • Required: Yes
  • Input type(s): integer
  • Description: ‘width’ holds an integer that describes the width in pixels of the CDF on your WordPress blog.

height

  • Required: Yes
  • Input type(s): integer
  • Description: ‘height’ holds an integer that describes the height in pixels of the CDF on your WordPress blog.

altimage

  • Required: No
  • Input type(s): file name with extension, url
  • Description: ‘altimage’ stores an image that will be displayed if the client does not have the CDF plugin installed. If left blank, a generic placeholder will appear.

altimagewidth

  • Required: No
  • Input type(s): integer
  • Description: ‘altimagewidth’ holds an integer that describes the width in pixels of the alternate image, which may be different than the width of the CDF itself.

altimageheight

  • Required: No
  • Input type(s): integer
  • Description: ‘altimageheight’ holds an integer that describes the height in pixels of the alternate image, which may be different than the height of the CDF itself.

When using Mathematica 9.0.1 (or higher), you can use the CDF Deployment Wizard (http://www.wolfram.com/cdf/adopting-cdf/deploying-cdf/) to generate your individual CDF files and alt images. The generated alt image includes an overlaid CDF Player logo, and when a user clicks on the image, they are taken to the download site for the CDF plugin. Once installed, the alt image disappears and the interactive CDF content is displayed.

Author: Dan Sherman

Plugin folder: wolfram-cdf-plugin

Tags: CDF, Computable Document Format, Mathematica, Wolfram, Wolfram Research



image.pngimage.pngimage.png