Tags » Web Application Development

 
 
 

sites.middlebury.edu now on WordPress 3.3.1

Categories: LIS Staff Interest

We made the upgrade yesterday to WordPress 3.3 (and 3.3.1). The video below gives an introduction to the changes and new features in version 3.3. We tested as many features as we could think of before applying this change, but please let us know if something’s not working as it should be.

As an added bonus, we now show videos from MiddMedia using the HTML5 video player in browsers supporting WebM playback: Firefox, Chrome, Opera, and browsers on Android devices. Internet Explorer 9, Safari and iOS users also get the HTML5 video player, playing the video in MP4 format while Internet Explorer 7 and 8 users will still see the flash-based player.

More Open Graph Tags Available for your Drupal pages

Categories: LIS Staff Interest

We’ve expanded the selection of Open Graph tags that you can add to a page or node in Drupal to include all of the tags currently supported by Facebook. If you’re not sure what this means, check out this post from earlier this spring when we first added Facebook integration to our Drupal site. The information is also available in the LIS Wiki. Here is a list of the Open Graph meta information you can now add to content in Drupal:

  • Facebook Admins
  • Facebook App ID
  • Country Name
  • Description
  • Email
  • Fax Number
  • Image
  • Latitude
  • Locality
  • Longitude
  • Phone Number
  • Postal Code
  • Region
  • Site Name
  • Street Address
  • Title
  • Type
  • URL
  • Video Height
  • Video Type
  • Video URL
  • Video Width
Refer to Facebook’s documentation to determine what are appropriate values for each of these items. Note that the Admins and App ID are now multi-valued fields. Previously there could only be one admin for a page. Now there can be as many as you’d like. Admins will have access to use Facebook Insights for your page to see information on what content is being shared.

Update on Yesterday’s Google Analytics Update

Categories: LIS Staff Interest

I had not realized that the Custom Advanced Segments that I created as an administrator would not be available to other users. Here are links to each custom segment that you can import into your account. In order for this to work, you have to (at least temporarily) switch back to the Old Version of the Google Analytics interface, since segment sharing hasn’t been added to the new version yet. You can switch back to the New Version as soon as you’re done importing the segments you want.

Site middlebury.edu (all) middlebury.edu (internal) middlebury.edu (external)
bat.middlebury.edu Add to all Add to internal Add to external
biblio.middlebury.edu Add to all Add to internal Add to external
sites.middlebury.edu Add to all Add to internal Add to external
boxoffice.middlebury.edu Add to all Add to internal Add to external
cat.middlebury.edu Add to all Add to internal Add to external
catalog.middlebury.edu Add to all Add to internal Add to external
courses.middlebury.edu Add to all Add to internal Add to external
eres.middlebury.edu Add to all Add to internal Add to external
ezproxy.middlebury.edu Add to all Add to internal Add to external
facstaff.middlebury.edu Add to all Add to internal Add to external
go.middlebury.edu Add to all Add to internal Add to external
google.middlebury.edu Add to all Add to internal Add to external
m.middlebury.edu Add to all Add to internal Add to external
measure.middlebury.edu Add to all Add to internal Add to external
mediawiki.middlebury.edu Add to all Add to internal Add to external
menus.middlebury.edu Add to all Add to internal Add to external
middarchive.middlebury.edu Add to all Add to internal Add to external
middathletics.middlebury.edu Add to all Add to internal Add to external
midddigital.middlebury.edu Add to all Add to internal Add to external
middlab.middlebury.edu Add to all Add to internal Add to external
middstart.middlebury.edu Add to all Add to internal Add to external
moodle.middlebury.edu Add to all Add to internal Add to external
museum.middlebury.edu Add to all Add to internal Add to external
portal.middlebury.edu Add to all Add to internal Add to external
sandcat.middlebury.edu Add to all Add to internal Add to external
segue.middlebury.edu Add to all Add to internal Add to external
seguecommunity.middlebury.edu Add to all Add to internal Add to external
sp.middlebury.edu Add to all Add to internal Add to external
students.middlebury.edu Add to all Add to internal Add to external
web.middlebury.edu Add to all Add to internal Add to external
www.middlebury.edu Add to all Add to internal Add to external

The reason we’re using Advanced Segments here instead of separate profiles with filters is that we’ve reached the internal limit of 50 profiles and would have to delete some of the historical data in order to create new ones. Chris is in touch with our Google reps about increasing our quota and, if he’s successful, we’ll create profiles for each of these services. You’ll still be able to use these Advanced Segments on the main profiles and, personally, I find them a lot easier to work with.

You can also create your own Advanced Segments to filter the Analytics data. Here’s how I created each of these to filter on Hostname (these steps use the New Version):

  1. Click on Advanced Segments in the Standard Reporting screen.
  2. Click on + New Custom Segment.
  3. Give it a name like site.middlebury.edu
  4. Choose Hostname from the green drop-down box.
  5. Choose Matching RegExp from the next drop-down box.
  6. In the text field enter ^site\.middlebury\.edu
  7. Click Save segment.
The “^” character means “at the start of” in a regular expression. This way we can filter on, say, m.middlebury.edu and not have it conflict with museum.middlebury.edu. The “\” is used as an escape character for the period, which has a special meaning in regular expressions.

Change to Google Analytics for 2012

Categories: LIS Staff Interest

To kick off the new year, we’re beginning to combine tracking of web analytics under a single Google Analytics tracking code. This will allow us to better understand how visitors to our many web sites and applications browse between them. When someone visits our homepage, clicks on a link to a story in the Middlebury Magazine blog, which then links them to an event with tickets for sale at the Box Office, we’ll be able to visualize the entire visit to the site. We’ll also be able to easily do side-by-side comparisons of traffic across our sites.

The screenshots below show the new version of the Google Analytics interface, which you may choose to enable in the upper-right corner of their page.

When you log in to Google analytics you’ll now want to select “middlebury.edu (all)” (or internal / external) under “UA-993303-1 – http://www.middlebury.edu”. This “middlebury.edu” profile includes traffic from the sites we’ve moved over.

On the Standard Reporting page, you can select Advanced Segments at the top and then narrow the reporting data to include only the sites you want to view.

We have not yet moved over all of our services into this tracking code and some we’ve only moved today, so you’ll only see data for them from January 5 onward. Here’s the list of services we’ve moved at the time of this post:

  • cat.middlebury.edu
  • biblio.middlebury.edu
  • sites.middlebury.edu
  • boxoffice.middlebury.edu
  • courses.middlebury.edu
  • facstaff.middlebury.edu
  • go.middlebury.edu
  • m.middlebury.edu
  • menus.middlebury.edu
  • museum.middlebury.edu
  • portal.middlebury.edu
  • sandcat.middlebury.edu
  • students.middlebury.edu
  • web.middlebury.edu
  • www.middlebury.edu

We have not removed any of the historical data for these services, so you can still check the other profiles you had access to previously to examine that information. This change does not affect any domains other than middlebury.edu, so there will be no changes to miis.edu, davisprojectsforpeace.org, alumniconnections.com, etc. at this time.

If you’d like to learn more about using Google Analytics, there is a great course available on our online learning system at http://go.middlebury.edu/lynda.

Segue’s Decommissioning, Course Hub, and Curricular Technology Workshops

Categories: LIS Staff Interest, Middlebury Community Interest, Post for MiddPoints

Segue’s decommissioning will culminate on Friday August 31st, 2012 when Segue is taken offline.  In preparation for this deadline, as of January 1st, 2012, faculty will no longer be able to create Segue websites. We recommend that all new sites be created in either Moodle or WordPress.  Segue migration workshops will begin in Winter Term and continue into the Spring and Summer 2012 semesters. More

From our Wiki: How to create custom emails for your Drupal webforms

Categories: LIS Staff Interest

The default email template for the Drupal Webform module will send out the date the form was submitted, the name of the person submitting the form (if they were logged in to the site) or their IP address, the value of each field in the form submission and a URL to a page on the site where the form submission can be viewed or edited. This information is usually sufficient, but you might want to have different fields sent to different people when the form is submitted, or provide a custom message to the person who submitted the form, like a “thank you” note.

To do this, you need to use the Custom Template feature of the module. I’ve put together a guide on using this feature which is available in the Drupal documentation section of the LIS Wiki. If you have any quesetions, please let me know so that we can update the documentation.

Does tagging content make it easier to find with search? No.

Categories: LIS Staff Interest

I’ve received this question from several people now. Below are two videos from Matt Cutts who works on Google’s Webspam team explaining how tagging content mostly does not affect their search results. This also means that tagging largely will not affect how results appear on Middlebury’s site, since we use Google to provide our search results.

Tags

Tag Clouds

This does not mean that you shouldn’t tag content at all. Tags can still be useful for humans who want to find other posts and pages on a topic. However, if you want your page to be easier to find, your time is better invested in making sure that the content is well written, structured and relevant to a particular topic.

Weekly Web Development Round-up October 10-21, 2011

Categories: LIS Staff Interest

To give our colleagues a better idea of what’s changed in our web applications each week, we’ll be preparing this quick list for publication each Friday. Not all of the details of each change are included below, but we’ll be happy to answer any questions you might have in the comments.
More