MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: CDF files now on Gyre&Gimble (math blog)

  • To: mathgroup at
  • Subject: [mg121097] Re: CDF files now on Gyre&Gimble (math blog)
  • From: "Stephen Luttrell" <steve at>
  • Date: Sun, 28 Aug 2011 04:04:35 -0400 (EDT)
  • Delivered-to:
  • References: <> <j37opr$4fo$> <j3angs$hfn$>

I found a way of publishing CDF on Blogger blog by scavenging the source of 
the Wolfram blog post at If 
the 2 pieces of HTML that I quote below have become damaged in this post, 
then they can easily be found in the Wolfram blog post.


In Blogger go to Dashboard / <blogname> / Settings / Design / Edit HTML / 
Insert the following code between <head> and "</head>" (this needs to be 
done only once):



Create your new blogger post with everything except the CDF content.


In Blogger select Edit HTML, and then insert the following code into the 
body of your post where you want a CDF to appear (this is an exact copy of 
some code from the Wolfram blog post above - no doubt this could be pruned 
as necessary):

<div class="WriCDF">
<div style="margin: 0px auto; width: 450px;">
<div id="A0a80e4147b724017e6b37e1ab7e8f9c5" style="background-color: 
#e8e8e8; border: 1px solid rgb(160, 160, 160); color: #333333; height: 
300px; margin-bottom: 15px; text-align: center; width: 450px;">
<noscript>&lt;br /&gt;    &lt;p style="margin: 0; padding: 10px 10px 
0"&gt;To view the full content of this page, please enable JavaScript in 
your browser. &lt;br /&gt;    Learn more &lt;a 

<div style="margin: 0px; padding: 10px;">
To view this content, please install <em>Wolfram CDF Player</em>. You can 
install the free <em>CDF Player</em> <a 
title="Wolfram CDF Player">here</a>.</div>
<script type="text/javascript">
var cdf = new cdf_plugin(); 
"";, 450, 300);

Finally, publish your post.

You can see the result of this feasibility test at

To publish your own CDF, I presume that all you need to change is the 
""; to point to 
wherever your own CDF is located.

Good luck!

Stephen Luttrell
West Malvern, UK

"Armand Tamzarian" <mike.honeychurch at> wrote in message 
news:j3angs$hfn$1 at
> On Aug 26, 7:25 pm, Jacopo Bertolotti <jacopo.bertolo... at>
> wrote:
>> I was also playing around with CDFs. I created a couple of tutorials
>> with this format and tried to embed them in my website. I only tested
>> with Firefox under Windows7 (Linux does not seems to have a browser
>> plugin yet) but it seems to work.
>> On 08/20/2011 12:17 PM, SixWingedSeraph wrote:
>> > My blog Gyre&Gimble, which covers math and language, has moved to
>> >
>> > This moves enables me to include Mathematica CDF files in the posts,
>> > and the first such post, showing a manipulable graph of derivatives of
>> > a function, is now up at
> 126
> Has anyone tried having a CDF on a Blogger blog?
> Mike

  • Prev by Date: Re: FindRoot repeatedly evaluating function
  • Next by Date: Re: FindRoot repeatedly evaluating function
  • Previous by thread: Re: CDF files now on Gyre&Gimble (math blog)
  • Next by thread: Re: CDF files now on Gyre&Gimble (math blog)