Tuesday, February 14, 2012

Putting Images With a Google Form?

WARNING: VERY ROUGH DIRECTIONS...

Last week @j_allen asked on Twitter if it was possible to embed images into a Google Form.  After a bit of research and playing around, I was not able to find an easy way to do this.

The best approximation that I could come up with involves embedding the form into a page on a Google Site (actually, this should work on any web page--we'll use Sites in this example).  Images could then be added to the page to go along with the form items.

When in a Google Spreadsheet that has a Form, if you pull down the FORM menu you should read "Embed form in a web page".  This will take you to a snippet of code that may be copied and pasted into the HTML of a web page.

So here is my quick and dirty overview of the process:

  • Split a Google Sites web page into 2 columns (Layout menu when editing a Google Sites page). 
  •  Click in the left hand column and then click the <html> link at the top of the page.
  •  Paste in the snippet of embed code from the form and then click UPDATE.
  •  Click in the right hand column and begin adding your images.   
This may take some playing around to get the images into the appropriate location in order to line up with the appropriate component of the form.

Again, this is a crude description of one possible solution to this problem.  I haven't thoroughly evaluated  whether this is practical, just that it is possible.  Here is a quick page I threw together to demonstrate the concept.  It has a very short, simple form in the left column and an image I grabbed at random placed in the right column.

  I am certainly open to other suggestions and would love to hear if this idea is workable for anyone.

Saturday, January 21, 2012

iBooks Author Disappointment: Revolution Averted

I will leave the lamentation over Apple's iBooks Author user agreement to others.  My disappointment is reserved for the opportunities missed by what the software does not appear to allow me to create.

iBooks Author offers beautiful layouts, stunning colors, multimedia components, and impressive interactivity (through the Review widget and other features).  These are all wonderful steps up from a traditional textbook.  This new system may be considered revolutionary by some.  Yet from the results of my early exploration, I am afraid that a real component of revolution has been missed.  I hope I am wrong, but...

These new iBooks do not appear to allow HTML widgets that dynamically pull content from other internet sites. 

I have tried adding various HTML widgets to an iBook.  The ones that work seem to be those that are completely self-contained.  The standard Dashboard Calculator widget works fine within an iBook.  Regrettably, it seems that any that need to pull from an external server or feed do not.

The promise of adding HTML widgets was very exciting.  I envisioned them as dynamic portals opening users to a vast universe of content and interactivity--that could be embedded amongst the static content of an iBook's pages.  Integrated polling websites,  embedded RSS feeds, or any up-to-date content an instructor/book-builder wanted to incorporate would make iBooks truly engaging, interactive, and completely malleable to needs of the student.

Sadly, when a student opens one of the new iBooks on Day#2 it will look pretty much the same as it did on Day #1.   I realize that hyperlinks to external content are allowed, but having the content within an iBooks' page change automatically over time would be truly magical and powerful.  Hyperlinks within digital books aren't anything new, self-updating pages would be.

I think I understand Apple's decision on this.  If an iBook produced with iBooks Author is to be evaluated for acceptance to the iBooks Textbook Store, it can't be a moving target.  Otherwise a page whose content was completely appropriate at the time of approval might have a dynamic page that later includes something entirely inappropriate.

Please don't mistake this critique as ingratitude.  iBooks Author is a piece of software that allows me to do things I would never have been able to do.  It also cost me nothing.  I just wish that the dynamic potential of self-updating HTML widgets could be allowed for iBooks not intended for distribution through the Apple store.

Many iPad fans will find Alan C. Kay's 1972 paper A Personal Computer for Children of All Ages to be very interesting. While at the Xerox Palo Alto Research Center, Kay imagined the Dynabook. Much of what he envisioned seems to have found a place in reality in the Apple iPad.  I'm a demanding person, though, and I want even just a little more "dyna" in my iBooks.

Back to sports, Ted, the revolution has been averted.

Friday, January 13, 2012

Steve Jobs Biography

During my daily driving time I am currently listening to the Audible version of Isaacson's biography of Steve Jobs.   I actually finished it on Tuesday and immediately began listening to it again from the start.

Fascinating story.  Great characters.  Great lessons to be learned.  The stories of the two Steve's pranks as youngsters are priceless.

I highly recommend the book in any form but really think that listening to it might be the best way to enjoy this work--not much for pictures, though.

Friday, October 14, 2011

Getting out of the Cloud (iCloud)

GVS complained of problems after switching her iPad to iCloud.  Here is a suggestion of one possible course of action that I would try on my own device if I were experiencing the same problem.  As is, no warranty..and is given under the assumption that there was a successful backup of the iPad to iTunes prior to the upgrade to iOS 5.

***Please note:  This SHOULD take the iPad BACK to data and settings it had prior to the iOS upgrade.  Any new data generated on the iPad since that backup WILL BE LOST.  The iOS upgrade should still be in place.

1.  On iPad:   Settings: General: Reset: Erase All Content and Settings (***Hence the importance of the warning note above).

2. The iPad is now like a new iOS 5 iPad out of the box.

3.  Proceed through the iOS 5 setup as you did before until...

4.  You get to "Set Up iPad"...then choose "Restore from iTunes Backup".

5.  At this point you will be directed to plug your iPad into your computer via the USB cable.

6. iTunes should open up and offer you the opportunity to Restore from the backup of: <name of your iPad>

7. The iPad should now have the settings and data that were on the device when that last backup to iTunes was made.

Wednesday, May 4, 2011

Experimental " ePubber "

In the office the other day, a lament was overheard (roughly interpreted and quoted):

"Why can't we export a Pages document on an iPad directly to iBooks on that same iPad?"

Yes, it is quite annoying that you can't do that....at least not without plugging the iPad into a computer for a sync.   The data structure of iOS is really good at producing frustration for those of us used to the wide open file structure and data model of OS X.

So, what to do.....?

How about a little bit of AppleScript?

After much playing around (I am by no means fluent in AppleScript ), much copying and pasting, and many false starts--an AppleScript was created that:

1.  Watches a Webdav folder on an OS X Server  for new files.
2.  Uses Pages on the OS X server to open Pages Mobile documents uploaded from an iPad (via Webdav).
3.  Exports the content as an ePub into a web-accessible directory.

Result:  An iPad user can create a document in Pages Mobile, upload it to a webdav directory on a server, and then (after a few seconds) download the resulting ePub to their iPad's iBooks via Safari Mobile.

Requirements for this system to work:

• The script (shown below) needs to be added to the folder of the ebdav directory as a folder action.
• The OS X server with the webdav directory needs to have Pages installed.
• You need to "prime the pump" and do an export on the server, saving that first epub to a web-accessible location on the server.  Once you do that, subsequent epubs generated by the script will get saved into that same directory.
• The server also needs to have "Enable access for assistive devices" enabled in the Universal Access pane of System Preferences.



On my server the Webdav folder is called "epub_up".  Once the script is done with it, the Pages document is automatically deleted and the epub version is placed into a folder called "epub_down" for access through Safari Mobile.

This is admittedly a fragile system that is unlikely to scale very well.  Anything that throws up an unexpected dialog box in Pages will grind everything to a halt. If care is taken, however, it can service a few people's need to create ePub documents on an iPad to get them into iBooks without syncing to a computer.

If it were possible to set up a Webdav server on a regular OS X computer (like a teacher's laptop), a teacher could have a class of students convert Pages Mobile documents to ePubs--while being able to monitor the process for problems.


Here is the script:


on adding folder items to this_folder after receiving dropped_items
delay 10
repeat with dropped_item_ref in dropped_items
tell application "System Events"
set UI_enabled to UI elements enabled
end tell
tell application "Pages"
set dropped_item_ref to dropped_item_ref as string
open file dropped_item_ref
activate
end tell
tell application "System Events"
tell process "Pages"
delay 5
click menu item "Export…" of menu 1 of menu bar item "File" of menu bar 1
set value of text field 2 of sheet 1 of window 1 to "Author: ePubber"
set value of combo box 1 of sheet 1 of window 1 to "Classics"
click button 1 of sheet 1 of window 1
end tell
                         tell process "Pages"
click button 1 of sheet 1 of window 1
click menu item "Save" of menu 1 of menu bar item "File" of menu bar 1
click menu item "Close" of menu 1 of menu bar item "File" of menu bar 1
end tell
end tell
delay 10
tell application "Finder" to delete file dropped_item_ref
end repeat
end adding folder items to

Thursday, March 31, 2011

Notes: One Way to Check In Laptops

Someone recently emailed me asking for a description of how we check in our 1:1 laptops at the end of the school year.  My response follows.  These are pretty rough, I haven't spent much time editing/rewriting this description.

Seniors usually leave us about 2 weeks before the end of the year, so we collect their laptops just prior to graduation.  The rest of the students' laptops generally get checked in on the last 2 days of school, which are final exam days.  The last day of exams is the busiest day, in a about a five hour period we inspect and check in about 1100 laptops.  

Some things that we do:

We do NOT collect cases and chargers from students unless they are leaving us (like seniors). We ask underclassmen if they plan on returning.  We only collect those items if they inform us that they don't plan on returning.

We rent extra photocopiers to have available for the check-in process.  We usually have 3-4 of them for 15-20 inspectors.

Simple cleaning materials are made available to students in supervised areas.  Students are expected to carefully clean their laptops prior to check-in.  If they don't they run the risk of a $20 cleaning charge.  Some years we have made up cleaning kits to check out to homeroom teachers for cleaning during homeroom.

We keep a cumulative file folder for each student that contains their original checkout forms, any repair forms, any re-assignment forms, and a pre-printed custom check-in sheet.  We have all of these forms available at each check-in to help clarify in case of any discrepencies.

We use our activity gym for the last day check in.  We bisect it lengthways with tables to seat about 15-20 inspectors.  Students checking in are on the one side of the gym in front of the tables.   Staff helping with the process are in the area behind the tables.  Students are not allowed in that area.  Have this all set up as much as you can either the day before or get there REALLY early.  You MUST be ready to roll when students start showing up.  Not being ready can cause an initial backlog that is difficult to recover from.

We call in every favor that we have ever earned on this day.  Pretty much all district tech staff helps, as well as friends from our service unit and the University of Nebraska-Omaha.  EVERY body makes a huge difference when you are scaling up to meet the load we encounter on that day.

In addition to the tech oriented people that do the actual inspection and check-in, there are other people (district secretaries, educational assistants, my own children) who pull folders, record fines in our student information system,  pull boxes of laptops away from the inspector tables, transport laptops to the storeroom, provide crowd control,  filing folders, etc.  There is pretty much a job for everyone willing to help.

Provide lots of carbs (doughnuts, Twizzlers, etc.) and drinks (pop, water) for your staff.  They will not have time to take many breaks and will need the energy that these can provide.  Once we complete the process for the day, the inspectors and helpers are fed a nice lunch in appreciation.

Sequence:

1.  Student arrives with laptop.

2. Cumulative folder is pulled.

3.  Check-in sheet is completed (compare serial number and tag number to actual on laptop, physically inspect laptop for damage, ask students if there are any problems that need to be addressed) and is signed/dated by the inspector.

4.  After sheet is completed, we make 2 copies of the sheet...

• The original is taped onto the laptop itself with blue painters tape.   The top of the check-in sheet has the student's name, laptop inventory tag  (both human readable and barcode), and a quick-mark area to mark common repair problems.  This top area ends up being on the "spine" of the laptop (the narrow area where the hinges are).  This arrangement allows for the key information about the laptop to be easily visible when the laptops are stored in boxes with the spine/hinges up.

• One copy is given to the student as a receipt.

• The second copy is for the student's cumulative folder.  If there are no charges/fines, the sheet is placed in the folder and the folder is re-filed.  If there ARE charges/fines the sheet is left outside of the folder and given to people doing fine entry into our student information system.  Once the charge info is entered, the sheet is placed into the folder and the folder is filed.

5.  The student then leaves.  They are expected to take care of any fines/charges during the summer with a deadline of about 3 weeks before school starts if they want to get their laptop on the first day in the fall.

6.  Laptops are stored in boxes that we had custom-made by Omaha Box Company.  We have heavy duty metal shelving units with plywood shelves that allow us to store all 2000 of our laptops on about 5 units.  The storeroom for our laptop is keyed with cores that only a VERY, VERY select number of people have keys to.   Even our custodians do not have keys to these areas (we do our own vacuuming and set out our own trash).

...this is one way to check in 1:1 laptops.

Saturday, March 26, 2011

My Take On Apple's Cloud Strategy

TechCrunch has an article entitled: iOS 5 Likely Pushed To The Fall After A Cloud Unveiling At WWDC.

This article mentions a “music locker” service.  Other analysts have predicted a possible music streaming service.  Hmmm....I don't know.

The one function that I am looking for, however, is telegraphed by the wireless behavior of the iBooks apps on iOS.  When I read a book on my iPod Touch, my progress in the book is communicated wirelessly to somewhere (perhaps some tiny, secretly operational part of the new data center in North Carolina)--so that my iPad knows where I am when I begin to read that book again on that different device.  This functionality is the guaranteed minimum of what I am expecting from Apple's cloud strategy.

All my devices need to be able communicate wirelessly in this way; keeping track of where I am and what I have listened to.   Music, podcasts, movies, and TV shows all need to behave like the books in iBooks--all without needing to sync to my iTunes.  If I am watching Star Trek on my laptop and have to stop, when I pick up my iPod Touch it should automatically know where I had left off in the movie.

Will the actual content get transferred wirelessly without the iTunes sync?  I don't know--but I am pretty confident that this wireless communication of media activity tracking data will be part of the strategy.