Changeset 707471
- Timestamp:
- 05/03/2013 02:25:23 PM (13 years ago)
- File:
-
- 1 edited
-
wolfram-cdf-plugin/trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wolfram-cdf-plugin/trunk/readme.txt
r707464 r707471 5 5 Requires at least: 2.8.2 6 6 Tested up to: 3.3.1 7 Stable tag: 1.27 Stable tag: 2.0 8 8 9 9 The Wolfram CDF Plugin is a simple robust plugin that allows users to place CDF Documents on their WordPress Blogs. … … 11 11 == Description == 12 12 13 The Wolfram CDF Plugin adds a CDF Player button to the WordPress HTML post editor.13 The Wolfram CDF Plugin adds a CDF button to the WordPress HTML and visual post editors. 14 14 15 To use this plug-in, open up a post you wish to edit, choose the html tab on the editor click. Then, click on in 16 the editor where you want the plugin to be and press the cdf button. Upon doing so placeholder text will appear in 17 the place you have selected. 15 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. 18 16 19 This text will appear as: 17 The placeholder will appear as: 18 [WolframCDF source="" width="320" height="415" altimage="" altimagewidth="" altimageheight=""] 20 19 21 [WolframCDF source="file" CDFwidth="w" CDFheight="h" altimage="file"] 20 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: 21 22 1. source 23 Required: Yes 24 Input type(s): file name with extension, url 25 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. 26 27 2. width 28 Required: Yes 29 Input type(s): integer 30 Description: 'width' holds an integer that describes the width in pixels of the CDF on your WordPress blog. 31 32 3. height 33 Required: Yes 34 Input type(s): integer 35 Description: 'height' holds an integer that describes the height in pixels of the CDF on your WordPress blog. 36 37 4. altimage 38 Required: No 39 Input type(s): file name with extension, url 40 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. 41 42 5. altimagewidth 43 Required: No 44 Input type(s): integer 45 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. 22 46 23 [WolframCDF ] marks the text which gets parced and replaced witht he cdf. 47 6. altimageheight 48 Required: No 49 Input type(s): integer 50 Description: 'altimageheight' holds an integer that describes the height in pixels of the alternate image, which may be different than the width of the CDF itself. 24 51 25 The are several attributes which must be set in order for your plug-in to appear on thepage successfully. 52 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. 26 53 27 1. Source:28 Required: Yes29 Input type(s): file name with extension, url30 Description: Source holds the CDF file name or the url where the file is located. If you wish to enter just the file's name,31 you must first upload the file to wordpress using the fileuploader.32 33 2. CDFwidth:34 Required: Yes35 Input type(s): integer36 Description: CDFwidth holds an integer number that describes the width in pixels of the CDF file you wish to show on your37 WordPress blog.38 39 3. CDFheight:40 Required: yes41 Input type(s): integer42 Description: CDFheight holds an integer number that describes the height in pixels of the CDF file you wish to show on your43 WordPress blog.44 45 4. altimage:46 Required: no47 Input type(s): file name with extension, url48 Description: altimage stores an image which will be displayed if the client has not installed the CDF plugin. If left49 blank a default image will appear. This attribute is over ridden by altcont.50 51 5. altcont:52 Required: no53 Input type(s): plain text, html54 Description: altcont stores text or html which will be displayed if the client has not installed the CDF plugin. If left55 blank a default image is appear.56 57 Once the place holder text has been entered and the attributes have been filled out press the Publish/Update post button58 or the Preview button to view the content.59 54 60 55 == Installation == … … 88 83 For information on this topic please visit http://www.wolfram.com/cdf/adopting-cdf/deploying-cdf/web-delivery.html 89 84 85 = Do I have to use the altimage fields? = 86 No. If you do not fill in an altimage, a gray box will appear with a link to download the CDF plugin. 87 88 = Why is my altimage resized? How can I stop this from happening? = 89 If nothing is given for the altimageheight and altimagewidth fields, the image will appear at the size of the CDF itself. When you enter values for altimageheight and altimagecontent, the image will take on those dimensions. 90 91 90 92 == Screenshots == 91 93 … … 94 96 95 97 == Changelog == 98 99 = 2.0 = 100 * Removed altcont support, as it was not really used and was not as flexible as it could be. 101 * Streamlined the altimage functionality as well as added optional parameters (altimagewidth, altimageheight) to size the image independently of the CDF 102 * Added a quick tag button to the visual editor 103 * Removed the use of a template file to make the plugin more system I/O efficient 104 96 105 97 106 = 1.2 = … … 108 117 == Upgrade Notice == 109 118 110 = 1.2=119 = 2.0 = 111 120 Version 1.2 allows you to add CDF Documents to you WordPress Blog
Note: See TracChangeset
for help on using the changeset viewer.