Re: Copying input from the Wolfram blog

*To*: mathgroup at smc.vnet.net*Subject*: [mg78214] Re: Copying input from the Wolfram blog*From*: David Reiss <dbreiss at gmail.com>*Date*: Tue, 26 Jun 2007 04:10:49 -0400 (EDT)*References*: <f5o7d0$4rd$1@smc.vnet.net>

I'd view this as a suggestion to the folks at WRI to include a notebook version of each blog posting for download from an associated link. It's a good suggestion! Indeed each item in each blog posting can certainly be included in a Notebook version. I suspect though (but I don't know) that the blog postings on http://blog.wolfram.com are not generated directly from a notebook version by a simple applicatoin of Export, but rather from a more sophisticated bit of Mathematica code that uses a notebook's content and translates it all into something that Moveable Type then can display. (If you look at the web page's html source you see that it is Movable Type that is being used.) In http://www.scientificarts.com/worklife/ (see http://www.scientificarts.com/worklife/documentation/blogging.html ) there is the option of including a notebook version for each blog posting. (See http://www.scientificarts.com/worklife/wlfwblog/index.html for examples; this is a case in particular, directly generated from A WorkLife FrameWork where the notebook download link is adjscent to the Permalink at the bottom: http://www.scientificarts.com/worklife/wlfwblog/BE3390503366/BE3390503366.html ) However, to quickly deal with your need to access the code displayed as a gif on http://blog.wolfram.com, you should look at the source for the page that you want and look for the Alt tag for the item that you want the code from (look in a text editor). You will find the code that you want to ocpy there in the page source and can then make use of it directly by pasting it into Mathematica. I hope that this helps.... --David On Jun 25, 7:02 am, "Steve Luttrell" <steve at _removemefirst_luttrell.org.uk> wrote: > I find the Wolfram blog athttp://blog.wolfram.comvery interesting, but I > am frustrated that I can't find a way of copying the input cells (which are > actually images of input cells) to Mathematica in order to evaluate them. > There is "ALT" text visible when you hover over the image of each input > cell, which looks as if it is what I need but I can't find a (quick) way of > accessing this text. Drilling down into the source HTML isn't really a very > convenient solution. > > So, the question is, is there a quick way of extracting input cells from web > pages generated by Mathematica? > > Steve Luttrell > West Malvern, UK