Google Docs Shortcode

Google Docs Shortcode is a small plugin for WordPress that allows you to use a shortcode to easily embed a Google Doc into your blog posts or pages.

The shortcode supports the following Google Doc formats:

  • Documents
  • Presentations
  • Spreadsheets
  • Forms

This plugin was developed for the CUNY Academic Commons. Licensed under the GPLv2 or later.

The following can also be found here:

How to Use

Embedding a document, presentation or spreadsheet

  1. First, you’ll need to find the public URL of your Google Doc. Let’s start by logging in to your Google Docs. Next, find the item you want to embed.
  2. You should now have your Google Doc open. Next, navigate to File > Publish to the Web. A dialogue box should appear, similar to the one below:
    Publish to the Web dialog window
  3. Make sure that the Automatically republish when changes are made checkbox is checked. This will allow you to make changes to your Google Docs and have these changes automatically reflected on your WordPress site.
  4. Copy the Document Link highlighted in red above. If you don’t see the “Document Link” field, click on theStart publishing button and you should be able to view the field.
  5. Now navigate to your WordPress dashboard and open up the post or page where you want to embed your document. On a new line, type the following shortcode and paste in the link you copied, above:
    [gdoc link="THE LINK YOU COPIED" height="800"]

You can customize the shortcode by using some custom parameters mentioned below.

Embedding a form

  1. Follow step 1 above.
  2. Next, navigate to View > Live form. (If you don’t see this entry, this means you’re using an older version of Forms. You will also need to follow steps 2-3 above. Next, navigate to Form > Go to live form.) This should take you to the public version of the form. Copy the URL from your browser’s address bar.
  3. Follow step 5 above.

Other shortcode parameters

Here are some other custom parameters you can use with the shortcode:

  • “width” – By default, this tries to use your theme’s content width. If this doesn’t exist, the width is “100%”. Fill in this value to enter a custom width.
  • “height” – Enter in a custom height for your Google Doc if desired. Defaults to “300”. Avoid percentages.
  • “seamless” – This parameter is only applicable to Documents. If you enter “0”, this will show the Google Docs header and footer. Default value is “1”, which means that no Google Docs header or footer will be shown.
  • “size” – This parameter is only applicable to Presentations. You can enter in “small”, “medium” or “large” to use the presentation preset sizes. Dimensions for these presets are: small (480×389), medium (960×749), large (1440×1109). To set a custom width and height, use the “width” and “height” parameters listed above instead.

Thanks

  • Scott Voth – for testing and writing a version of this documentation on the CUNY Academic Commons codex.
  • Christopher Stein – for noting a bug about using older presentations with the plugin.

This Week in the OpenLab: End of Term Edition

800px-Hermosa_beach_summer_sunset_surf

 

(image by Estrategy via Creative Commons License)

As the 2013-2014 school year comes to an end, we thought we’d take a moment to remind everyone about a few options for the end of the term. These include how to export any site on the OL, how to archive a course, project or site, and how to transfer administration of a course, club or project to a new administrator, in case the original is graduating or leaving for other reasons.   Either way, have a great summer!

___________________

TRANSFERRING ADMINISTRATION

Basically transferring administration from one user to another involves the steps you can find here. Once a person is a member of a course, project or club, they can be promoted to admin and, if they like, remove the old administrator.

The only other step to remember is you might have to change the email associated with the site, because your site may still be affiliated with the old admin’s email address, and thus alerts will go to them, not the new admin.  You can do that under Settings>General on the dashboard of your site.

____________________

ARCHIVING A COURSE

While we promise your work will be here for as long as you like, occasionally you might want to “save” a copy of a site on a particular day. Maybe at the end of the term, or just as you’re graduating, or if for some reason you want to “freeze” your portfolio for something like an application or tenure file. The OpenLab has a special plug-in for this, called StaticPress. You can activate it on the plug-ins page of your dashboard, and then follow the instructions you find here.

__________________

IMPORTING/EXPORTING

If for some reason you want to move a copy of your site to another WordPress installation, you can easily do that on the OpenLab.  We’ve covered this a few times, but thought it’s always good to remind people at the end of the term.  To import or export a site, follow these instructions.

And that’s it for the year!  Have a wonderful summer and, as always, contact us with any questions!

This Week in the OpenLab: April 30th Edition

Brave_New_Workshop-20071217

(photo by Susan G. Lesch via Creative Commons License)

_________________

Workshop Reminder!

This week, join the OpenLab Community Team for the last student and faculty/staff OpenLab workshops of the semester!

 

FOR STUDENTS:

 

Our last workshop of the term is called “TOOLS, TIPS, AND TRICKS:  Learn new skills for working with the OpenLab” and will be held on Thursday, 5/1, 2:00-3:00pm, in room G604.  Hope you can join us!

 

FOR FACULTY AND STAFF:

 

We hope that you have the time to join us for the final workshop of the semester, “Reorganizing Your OpenLab Site.”Now that you’ve worked on the OpenLab for a while, learn how to structure your site for improved interaction with your audience. This workshop will be held onThursday, 5/1, 3:30-5:00pm, in G604.

* Faculty/Staff workshops require registration. All part-time faculty are eligible to receive a stipend for workshop participation. Questions? Please contact us at OpenLab@citytech.cuny.edu.

_________________

Featured Group:  Words Have Lives

cropped-Dave-R-on-Flickr

This week we’re featuring a valuable group that’s a valuable resource for writers, the group Words Have Lives, which you can see here.  As its creators note, it’s “A composition and grammar source for students who want to write stronger papers. While topics here are produced in direct response to class discussions and interactions with students regarding specific writing concerns, they also are relevant to all students wishing to understand how to fix their own writing and gain a sense of how their writing questions are shared with others going through the same learning process.”

This Week in the OpenLab! April 8th Edition

LAF-poster1-2014-662x1024

Upcoming Event:  Literary Arts Festival 2014!

The annual City Tech Literary Arts Festival Approaches!

City Tech will host its 33rd Annual Literary Arts Festival on Thursday, April 10, 5:30 p.m., in Midway Auditorium, 240 Jay Street, Downtown Brooklyn. The poet Cornelius Eady will be this year’s guest speaker. The event is free and open to the public.

Eady is the author of seven volumes of poetry, including Kartunes (1980), Victims of the Latest Dance Craze (1985; Lamont Poetry Prize of the Academy of American Poets), BOOM, BOOM, BOOM: A Chapbook(1988), The Gathering of My Name (1992; Pulitzer Prize nominee), You Don’t Miss Your Water (1995), the autobiography of a jukebox (1997), Brutal Imagination(2001; National Book Award in Poetry finalist), andHardheaded Weather (2008).  He is the recipient of Guggenheim, Rockefeller, and NEA fellowships, as well as founder of Cave Canem Foundation, a nonprofit organization for black poets.

In addition to reading his work, Eady will perform with two members of his band “Rough Magic:” Concetta Abbate on violin and Charlie Rauh on guitar.

City Tech’s Literary Arts Festival is a long-standing tradition that celebrates student writing and features a special guest speaker, along with student readings and performances. For more information about the event, contact Professor Caroline Hellman at 718.260.4975 or chellman@citytech.cuny.edu. Join the Festival OpenLab site at https://openlab.citytech.cuny.edu/groups/literary-arts-festival/.

__________________

Featured Course:  LIB 1201 – Research and Documentation for the Information Age 

Screen Shot 2014-04-01 at 5.24.29 PM

This week we’re featuring Ian Beilin’s Research and Documentation for the Information Age.  We’re particularly interested in how successfully Professor Beilin has gotten his students to be honest and reflective in their comments on their own research process.  “To be honest, I feel like my brain is about to pop,” one student writes–and then several students offer thoughts and advice, sympathizing and even drawing on their own lives to help!  It’s really wonderful to see:  Drawing students’ struggles with their own work into the course, making it a course subject, and watching them strategize potential solutions together is exactly what the OpenLab is about.

_____________________________

Featured Club:  Philosophy Club!

Someone very smart and interesting here at the City Tech OpenLab has started a Philosophy Club–we’re not going to say we know who, but we will say that he or she knows tons about philosophy, and you all should join the club!

This Week in The OpenLab: March 25th Edition

Computers_are_fun_and_useful_by_hnmAck

(image by by hnmAck via Creative Commons License)

This week we visited a classroom and a student asked, “what’s a blog?” reminding us that sometimes there are some basic concepts that we might need to cover.  And so this week’s This Week is dedicated to a few videos that might come in handy in either your class (as student, or teacher), or more generally on the web.  Enjoy!

______________________

What IS a Blog?

_________________

“In this video presented by Mobile Learning Institute, Alan tours his hometown of Marblehead, MA and comments on the historical global vision of his community. Alan challenges us to think about the emerging role of “student as contributor” and to globalize our curriculum by linking students with authentic audiences from around the world. (For more, read Alan’s article, Students as Contributors: The Digital Learning Farm, found at novemberlearning.com/resources/archive-of-articles/digital-learning-farm.”

_____________

Featured Course:  Suzanne Miller’s “Advanced Career Writing”/Roger Herra’s R&H Engineering

cropped-circuit-board-technology-setsiri-silapasuwanchaiThis week we’re featuring Suzanne Miller’s EN 3771 course, “Advanced Career Writing,” which uses the OpenLab in a particularly innovative way.  Each student in the class creates an OpenLab site as the home of a fictional company for which they create mission statements, business plans, potential events, and a blog.  It’s a great way to exploit one of the things the OpenLab can do best: give students the chance to try out different approaches and assignments, all of which can be bound together thematically.  This “umbrella” project format leaves students feeling they didn’t just do one unrelated assignment after another, but built upon their work to create a significant final project they can be proud of.

A nice example is Roger Herra’s “H&R Engineering,” which you can see here, which has a nice mission statement, solid design work, and a great piece on DIY projects.

That’s all for this week.  As always, email us with any questions!

This Week in the OpenLab! March 18th Edition

6157134404_4680b3edf3(image by Jonny Goldstein via creative commons license)

After a bit of a delay, our student blogging team is back in action!  That led us to think that it is high time we highlight some student blogs from around the OpenLab.

_____________

Shawn Bremmell

Shawn is one of our OpenLab Student Community Team bloggers.  His newest post is called “Tuition Fees Are No More.”  Here’s an excerpt:

“Ever wish that you could attend college for free? Prepare to jump for joy, because you might be getting your wish! Well, that is if a proposed legislation, called Tuition Free-NY, is passed. The potential legislation, would offer students free tuition at New York’s public colleges. Sound appealing so far? Don’t get too excited just yet, for there is a catch. In exchange for free tuition, you must volunteer for 250 hours of community service, during your college years. And if that isn’t hard enough, you are not allowed to relocate outside of New York once you graduate, for at least 5 years.

“With Tuition Free-NY, college grads would get a chance to start out with lower student debt, which is at a all time high this year. Assemblyman James Skoufis, whose sponsoring the legislation, hopes that this will keep students in the state, and not have NYC lose it’s intellect and income..”

You can read more of Shawn’s post here!

_____________

Jenny Wang

Jenny is a student in Jennifer Sears’ Advanced Career Writing Class.  She recently wrote a blog post about her class trip to the AGIA gallery:

“The trip to the AIGA gallery was amazing. It was very inspiring to see so many beautiful creations. Each design had its own meaning and history by the designers which captured many attentions. Three designers and designs that were very inspiring to me while I was exploring the AIGA gallery were Milton Glaser, Mirko Llic and Christopher Brand.

“Milton Glaser’s design of the Crackpot Party and the Republican logo were very artistic. The democrats are represented by a tea pot yet, has a crack within it. The quote “we don’t hold water” states that the democrats will not take orders from other systems. The republican’s logo was very imaginative because of the shape of the design, it consist of the word “NO” which forms itself into the structure of an elephant. Both works contains the colors of the American flag and three stars representing America and its pride.”

You can read more of Jenny’s blog post here!

______________

Maura Smale

We know we said we would feature student blogging, but we thought we’d also point you to our own Maura Smale’s blog, which you can find at the ACRLog.  Here’s an excerpt:

“It seems like every year one of my New Year’s resolutions is to read more. Read more? But I’m a librarian, I read all the time, right?

“Over the 7 years that I’ve been a librarian I’ve heard that misconception all too often upon meeting new people. “Oh, you’re a librarian? You must read all the time/love to read/spend your days reading!” Of course the context of that statement ultimately determines my response (and I am always polite, even when slightly exasperated), but in truth the answers are no, yes, no. Of course I love to read, as I always have, even before I was a librarian. But the amount of long-form, focused reading that I typically do during my workday is very, very small. Not that other forms of reading don’t matter — I can usually keep up with my work-related RSS feed and the newspaper, and like most office workers I read many many MANY emails each day. But sit down in my office with a book? Not often…”

You can read more of Maura’s writing here!

That’s it for this week!  As always, you can contact us anytime with any questions.

This Week in the OpenLab: March 10th Edition

Spring_is_Coming._(4349321352) (1)(image by Axel Kristinsson via creative commons license)

Welcome to this week’s This Week!  We’re going with the pretense that spring is on the way.  At least for a few days.  This week a tool, a course, and a plug-in.  Enjoy!

________________

Featured Tool:  Blogging Grading Rubric

From the department of simple yet very very useful, we bring you Jill Belli’s blogging grading rubric, which is clear, concise, and gives students (and probably the professor) a sense of what is required and valued when blogging.  And as you know, students often aren’t sure exactly what is required in this somewhat unfamiliar, possibly less formal, still potentially thoughtful, short form.  And often professors new to the OpenLab aren’t all that sure either.  So do take some guidance from Jill, give her some credit, and say thanks and hi on the elevator.

___________________

Featured Course:  Vampires!

conker_the_cute_vampire_by_misiocytka-d5wyxpi

(image by Misiocytka via creative commons license)

There are courses that are of interest only to the people in the field, and there are courses that people all over are going to want to take a look at.  Laura Westengard’s Vampires class falls into that latter category, and we’re thrilled that it’s open and available to the public here on the OL.  With readings, assignments, and student reflection on the subject, it’s a fine growing repository of all things vampire.

________________

Featured Plug-In:  WTI Like Post

wti_like_post_frontend_view1-300x117Very few of our plug-ins are simpler than WTI Like Post.  As it’s developers say, “WTI Like Post is a plugin for adding like (thumbs up) and unlike (thumbs down) functionality for wordpress posts/pages. On admin end along with configuration settings, it will show maximum of 10 most liked posts/pages. You can configure these settings to match with your requirements. It also has the option to reset the settings back to default if needed. It comes with a widget to display the most liked posts/pages which you can place in any widget area. It has live updation of like count on the widget if you like or unlike any post/page.”

Just activate the plug-in, and you’ll see the like appear at the bottom of your post.  By default, however, there’s a ‘dislike’ option which you might want to remove, particularly from student work.  The settings for this plug-in are found on the plug-in page of your site dashboard.

Hope you like it. And as always, contact us with any questions!

This Week in the OpenLab: March 4th Edition

cropped-open

New OpenLab Tour!

We’ve redone much of our help and support the the last few months (you can find a lot of that here).  More recently, we (well, really the inestimable Bree Zuckerman), redid our introduction to the OpenLab.  If you’re new to the OL, you should check it out–and if you’re already familiar, check it out anyway!  You just might find something you didn’t know!

______________

Featured Site: Techne

ARCH4710_Beita_Maldonado_Dunda_Vlad_SP13-3-1038x576

This week we’re featuring Techne, the online version of the annual publication from the Architecture Department.  It features student work from around the department, and they accept student submissions!  Get your work out there!  Submit your work (images or text) by the 14th of March.  You can find out more about it here.

______________________

OpenLab Statistics to January 1st, 2014

As you might know, we keep records of the our growth here on the OpenLab, and we’d like to share our current statistics:

Number of users broken down by students, faculty, staff:

Students: 8706
Faculty: 473
Staff: 92

Number of courses, projects, clubs, portfolios:

Courses: 638
Projects: 1192
Clubs: 53
Portfolios: 1769

Pageviews (for past quarter):

847,351

Average visit duration (for past quarter):

5:34

 

 

This Week In The OpenLab: February 25th Edition

CNR_9000

(Image by Darren Kirby via Creative Commons License)

 9,000 Members!

It might have been a minute since we last spoke, but the OpenLab has not stopped growing:  in the last few weeks we’ve officially passed 9,000 members!   There are now over 600 courses on the platform, and nearly 1,200 projects.  We are so happy to continue to see our community grow and grow!

_____________________

Been To A Workshop? Come to Another!

Just as a reminder, the OpenLab team has been hosting workshops all through the month of February.  Now that our beginning workshops have passed, please join us for our more advanced faculty workshops, “Tools, Tips and Tricks” on March 12 (1-2:30) and April 3rd (3:30-5) in room G604.  Faculty/Staff workshops require registration. All part-time faculty are eligible to receive a stipend for workshop participation.

As we wrote, those are faculty-only workshops.  But students, we would love to have you at our workshops as well!  The remaining student workshops are:

W 3/12 3:00-4:00pm
Th 4/3 2:00-3:00pm
Th 5/1 2:00-3:00pm

These are in G604 as well.  And while we’d love for you to contact us to let us know you’re coming, registration is not required.

____________________

Featured Project:  CityTech Printmaking Club

pmakingclub

 

We’re big fans of this new club, the City Tech Print Making Club!  While still under development, the site promises to bring us information about techniques for printmaking, resources for area print making studios, and more!  Join now to learn more about this great club, and click here to find out more about their fun day making valentines.