SlideShare a Scribd company logo
1 of 24
Download to read offline
Mobile Themes, QR codes, and shortURLs




Chris Traganos
Harvard Public Affairs & Communications   5/12/10
Overview
• The Harvard Gazette is
  Harvard's official newspaper,
  published in print and online.


• Writers, photographers, and
  editors create the online
  version which has fresh
  content delivered daily.


• Editorial workflow is used for
  both creating print and online
  content.
Online
• Harvard Gazette is powered by
  Wordpress


• Wordpress is an open source
  content management system
  with a solid admin interface
  (aka the "dashboard") and a
  workflow crucial for a news
  site.


• Online, the theme is using
  straight php functions and
  minimal amount of plugins. The
  site lives straight on the WP
  core and auto-updates
Deciding to build theme
• Could use functions from regular site with minor
  alterations like the homepage featured stories rotator.


• Mobile site from scratch would have minimal overhead
  and could use wp-core functions for speed
  considerations.


• Launching a web based solution mean we could
  introduce new features over time without needing app
  stores on the various mobile devices.


• Can tailor fit to our site through
  custom theme using mobile
  detection in the WP plugins directory
  (wp-mobile.php by Crowd Favorite)
Gazette                           SymbianOS

Mobile                     iPad
                            8%
                                     2%
                                     Windows
                                        1%
Users            Android
                   9%




          Blackberry
             11%

                                               iPhone
                                                 70%
Design stage
• Create sketch & photoshop
  mockup


• Create style.css, index_static.php
  and article_static.php for design
  comp.


• Sample home and sample story
  are the basis for the theme and
  having a familiarity to the full site
  on a desktop.


• Build out Wordpress theme for
  mobile devices.
Building mobile theme
• To build a new theme for
  wordpress, all is required to
  begin: style.css and index.php


• Once the page is built and visual                              &
  design is approved - replace
  static content with Wordpress         style.css                                 index.php
  functions:
  get_header()                        Example
  get_footer()	
                      <title>
  get_featured_posts()                	
  	
  Building	
  on	
  Tradition	
  |	
  Harvard	
  Gazette	
  Online
                                      </title>
  wp_title()
  etc
                                      <title>
                                      	
  	
  <?php	
  wp_title('|',	
  true,	
  'right');	
  ?>	
  
                                      	
  	
  <?php	
  bloginfo('name');	
  ?>
• Each template page draws from       </title>
  the master design to a degree
header.php
<?php
/**
	
  *	
  @package	
  WordPress
	
  *	
  @subpackage	
  GZ_mobile
	
  */
?>
                                                                           style.css
<html>
	
  	
  	
  	
  <head>
	
  	
  	
  	
  	
  	
  	
  	
  <title><?php	
  wp_title('|',	
  true,	
  'right');	
  bloginfo('name');	
  ?>
                                </title>
	
   	
   <link	
  rel="stylesheet"	
  href="<?php	
  bloginfo
('stylesheet_directory');	
  ?>/css/style.css"	
  />

	
  	
  	
  	
  	
  	
  	
  <link	
  rel="shortcut	
  icon"	
  href="<?php	
  bloginfo
('stylesheet_directory');	
  ?>/images/favicon.ico"	
  type="image/x-­‐icon"	
  />

	
  	
  	
  	
  	
  	
  	
  <link	
  rel="apple-­‐touch-­‐icon-­‐precomposed"	
  href="<?php	
  bloginfo
('stylesheet_directory');	
  ?>/images/apple-­‐touch-­‐icon-­‐precomposed.png"	
  />
	
  	
  	
  
	
  
header.php                                              continued


	
  	
  	
  	
  	
  	
  <meta	
  name="viewport"	
  content="user-­‐scalable=no,	
  
                width=device-­‐width,	
  minimum-­‐scale=1.0,	
  maximum-­‐scale=1.0"	
  />

	
  	
  	
  	
  	
  	
  <script	
  type="text/javascript"	
  charset="utf-­‐8">
	
   	
  	
  	
  	
  	
  	
  addEventListener('load',	
  function()	
  {
	
   	
  	
  	
  	
  	
  	
  setTimeout(hideAddressBar,	
  0);
	
   	
  	
  	
  	
  	
  	
  },	
  false);
	
   	
  	
  	
  	
  	
  	
  function	
  hideAddressBar()	
  {
	
   	
  	
  	
  	
  	
  	
  window.scrollTo(0,	
  1);
	
   	
  	
  	
  	
  	
  	
  }
	
  	
  	
  	
  	
  	
  </script>

	
  	
  	
  </head>




                http://snipplr.com/view/8784/hide-iphone-address-bar-once-page-is-loaded/
header.php                                            continued

	
     <body	
  class="home">

	
     	
     <div	
  class="header">
	
     	
     	
   <a	
  class="logotype"	
  name="top"	
  href="
                      <?php	
  echo	
  get_option('home');	
  ?>/">
                      <img	
  src="<?php	
  bloginfo('stylesheet_directory');	
  ?>/
                      images/gazette_logotype.png"	
  alt="Harvard	
  Gazette"	
  
                      height="27"	
  width="211"	
  />
                   </a>
	
     	
     </div><!-­‐-­‐	
  exit	
  header	
  -­‐-­‐>

	
     	
     <div	
  class="masthead">
	
     	
     	
   <p>
                      <?php	
  echo	
  date("l	
  n/j/y");	
  ?>	
  <span	
  class="conditions">
                      <?php	
  gz_display_weather();	
  ?></span>
                      <a	
  href="#search"	
  class="search">Search</a>
                   </p>
	
     	
     </div><!-­‐-­‐	
  exit	
  mastmav	
  -­‐-­‐>
footer.php
<?php
/**
	
  *	
  @package	
  WordPress
	
  *	
  @subpackage	
  GZ_mobile
	
  */
?>

<div	
  class="categories"	
  id="nav">

          <ul>	
  
  	
  	
  	
  	
  <?php	
  wp_list_categories
  ('orderby=id&include=4,11,3,10,9&title_li=');	
  
                  ?>
          </ul>
          	
   	
  
</div><!-­‐-­‐	
  exit	
  categories	
  -­‐-­‐>
footer.php                                                                    continued

	
            <div	
  class="search">
	
            	
   	
  	
  	
  	
  	
  	
  	
  	
  <a	
  name="search"></a>

	
   	
   	
   <form	
  role="search"	
  method="get"	
  id="searchform"	
  action="<?
php	
  echo	
  get_option('home')	
  ?>/"	
  >

	
            	
     	
     <fieldset>
	
            	
     	
     	
   <label	
  for="search-­‐gazette-­‐input">Search</label>
	
            	
     	
     	
   <p	
  class="input-­‐button">
       	
            	
     	
   	
   <input	
  type="text"	
  value="
                                      <?php	
  esc_attr(apply_filters('the_search_query',	
  
                                      get_search_query()));	
  ?>"	
  name="s"	
  id="search-­‐gazette-­‐
                                      input"	
  />
       	
            	
     	
   	
   <input	
  type="submit"	
  value="Go"	
  
                                      id="search-­‐gazette-­‐submit"	
  />
	
            	
     	
     	
   </p>
	
            	
     	
     </fieldset>

	
            	
   	
   </form>
	
            </div><!-­‐-­‐exit	
  search-­‐-­‐>
footer.php                                          continued

<div	
  class="footer">	
  <div	
  id="copyright"><p>&#169;	
  
  <?php	
  echo	
  date("Y",time());	
  ?>	
  The	
  President	
  and	
  Fellows	
  of	
  Harvard	
  
  College.</p>

	
   <ul>
	
   	
   <li><a	
  href="#top">Top</a>	
  <span	
  class="divider">/</span></li>
	
   	
   <li><a	
  href="<?php	
  echo	
  get_permalink(PRIVACYHPAC_PAGE_ID);	
  ?
>">Privacy</a>	
  </li>
	
   	
   <li><a	
  href="http://www.trademark.harvard.edu/
trademark_protection/notice.php"	
  >Trademark</a>	
  </li>
	
   	
   <li><a	
  href="<?php	
  echo	
  get_permalink(CONTACT_PAGE_ID);	
  ?
>">Contact	
  us</a>	
  </li>
	
   	
   <li><a	
  href="<?php	
  echo	
  get_permalink(NEWS_HOME_PAGE_ID);	
  ?
>">HPAC</a></li>
	
   </ul>
    </div><!-­‐-­‐	
  exit	
  copyright	
  -­‐-­‐>
</div><!-­‐-­‐	
  exit	
  footer	
  -­‐-­‐>
	
   <?php	
  if(function_exists('cfmobi_mobile_exit'))	
  {
	
   	
   	
   cfmobi_mobile_exit();}	
  	
  ?>
	
   </body>	
  
</html>
QR Codes
QR Codes
• A QR Code is a 2D bar code created by
  Denso-Wave Co. in 1994.


• Designed for quick response scanning
  on assembly lines, QR codes have
  played a role in mobile tagging


• Contains up to 7089 characters in a
  single QR


• Can accept multiple formats (URLs,
  Geo data, SMS, vCards, and more)




 source: http://en.wikipedia.org/wiki/QR_Code
QR Codes
• The ability to link printed materials
  and online content has opened new
  possibilities for traditional
  publications to expand their reach
  online.


• Quote: "This year, 89% of new mobile
  phones shipped to the U.S. will have
  cameras"


• Numerous sites allow users to
  generator QR codes on the fly.




 source: http://bit.ly/bpEEEj
QR Codes in the Gazette
• The Harvard Gazette
  began incorporating
  QR codes into the print
  newspaper in April
  2010.


• Readers who are
  curious and want to
  access additional
  features online scan
  the QR code with their
  smartphone.
QR & Mobile sites
Important to note that QR codes are best
used in conjunction with mobile friendly sites.
Having a QR code access a fast-loading site
enhances the users experience with the print
and web.
shortURLs
shortURLs
• By default, Wordpress follows an ID based URL structure:
  http://news.harvard.edu/gazette/?p=33273


• Wordpress allows for flexible and custom URL patterns:
  /story/%year%/%monthnum%/%postname%/

 would translate to:

 http://news.harvard.edu/gazette/story/2009/12/web-­‐wizardry/


• Great for search engines and easy to decipher
Building
• Since the editors are dealing with story ID’s in the dashboard, they see
  the stories in shorthand form. Additional consideration was the QR scan
  better with less characters.


• Prototyped and launched a 3 character shortURL for the Harvard Gazette:
  http://hvd.gs


• The editors could share links quickly with the short hand equivalent:
  http://hvd.gs/33273


• Advantage was that if title of story every changed, these URLs would still
  be intact.
How-to
• Accomplished this by purchasing the domain and using a simple htaccess
  rule for redirecting.


• In root html directory, created an htaccess rule:

 RedirectMatch	
  permanent	
  ^/$	
  http://news.harvard.edu/gazette/
 RewriteEngine	
  On
 RewriteRule	
  ^([0-­‐9]+)$	
  http://news.harvard.edu/gazette/?p=$1	
  
 [QSA,R=301]


• This allows for parameters to be passed (?src=QR&pg=3)
Resources
http://codex.wordpress.org/Theme_Development


http://carringtontheme.com/2009/03/carrington-mobile-10/


Detecting Mobile devices: http://detectmobilebrowsers.mobi/

Development for the New Mobile Web: http://www.slideshare.net/harvardwww/development-for-the-new-
mobile-web


Mobile Strategy: http://www.jeremyjohnsononline.com/2010/04/26/the-mobile-question-lessons-in-
design-and-strategy-for-your-mobile-experience/#more-182


PSD for Motorola Droid: http://www.officialpsds.com/Verizon-Droid-without-keypad-PSD39240.html


PSD for iPhone prototyping: http://www.teehanlax.com/blog/2009/06/18/iphone-gui-psd-30/


QR write up http://bits.blogs.nytimes.com/2009/12/07/putting-a-bar-code-on-places-not-just-products/


http://qrcode.kaywa.com/
Thank you.

@ctraganos
christopher_traganos@harvard.edu

More Related Content

What's hot

Plugins on OnDemand with Remote Apps - Atlassian Summit 2012
Plugins on OnDemand with Remote Apps - Atlassian Summit 2012 Plugins on OnDemand with Remote Apps - Atlassian Summit 2012
Plugins on OnDemand with Remote Apps - Atlassian Summit 2012 Atlassian
 
E2 appspresso hands on lab
E2 appspresso hands on labE2 appspresso hands on lab
E2 appspresso hands on labNAVER D2
 
How to create a basic template
How to create a basic templateHow to create a basic template
How to create a basic templatevathur
 
Once Source to Rule Them All
Once Source to Rule Them AllOnce Source to Rule Them All
Once Source to Rule Them AllDavid Yeiser
 
Templates
TemplatesTemplates
Templatessoon
 
Grok Drupal (7) Theming
Grok Drupal (7) ThemingGrok Drupal (7) Theming
Grok Drupal (7) ThemingPINGV
 
HTML5 on Mobile
HTML5 on MobileHTML5 on Mobile
HTML5 on MobileAdam Lu
 
HTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - AltranHTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - AltranRobert Nyman
 
Bootstrap 3 Cheat Sheet PDF Reference
Bootstrap 3 Cheat Sheet PDF ReferenceBootstrap 3 Cheat Sheet PDF Reference
Bootstrap 3 Cheat Sheet PDF ReferenceBootstrap Creative
 
Introduction to jQuery Mobile - Web Deliver for All
Introduction to jQuery Mobile - Web Deliver for AllIntroduction to jQuery Mobile - Web Deliver for All
Introduction to jQuery Mobile - Web Deliver for AllMarc Grabanski
 
Makroekonomi topik-8-1
Makroekonomi topik-8-1Makroekonomi topik-8-1
Makroekonomi topik-8-1020881
 
Html5 & CSS overview
Html5 & CSS overviewHtml5 & CSS overview
Html5 & CSS overviewIvan Frantar
 
netmind - Primer Contacto con el Desarrollo de Aplicaciones para Windows 8
netmind - Primer Contacto con el Desarrollo de Aplicaciones para Windows 8netmind - Primer Contacto con el Desarrollo de Aplicaciones para Windows 8
netmind - Primer Contacto con el Desarrollo de Aplicaciones para Windows 8netmind
 
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012crokitta
 
SharePoint 2010 Training Session 6
SharePoint 2010 Training Session 6SharePoint 2010 Training Session 6
SharePoint 2010 Training Session 6Usman Zafar Malik
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSNaga Harish M
 
Grok Drupal (7) Theming - 2011 Feb update
Grok Drupal (7) Theming - 2011 Feb updateGrok Drupal (7) Theming - 2011 Feb update
Grok Drupal (7) Theming - 2011 Feb updateLaura Scott
 
AtlasCamp 2013: Modernizing your Plugin UI
AtlasCamp 2013: Modernizing your Plugin UI AtlasCamp 2013: Modernizing your Plugin UI
AtlasCamp 2013: Modernizing your Plugin UI colleenfry
 

What's hot (20)

Plugins on OnDemand with Remote Apps - Atlassian Summit 2012
Plugins on OnDemand with Remote Apps - Atlassian Summit 2012 Plugins on OnDemand with Remote Apps - Atlassian Summit 2012
Plugins on OnDemand with Remote Apps - Atlassian Summit 2012
 
E2 appspresso hands on lab
E2 appspresso hands on labE2 appspresso hands on lab
E2 appspresso hands on lab
 
How to create a basic template
How to create a basic templateHow to create a basic template
How to create a basic template
 
Once Source to Rule Them All
Once Source to Rule Them AllOnce Source to Rule Them All
Once Source to Rule Them All
 
HTML5 Essentials
HTML5 EssentialsHTML5 Essentials
HTML5 Essentials
 
Templates
TemplatesTemplates
Templates
 
Grok Drupal (7) Theming
Grok Drupal (7) ThemingGrok Drupal (7) Theming
Grok Drupal (7) Theming
 
HTML5 on Mobile
HTML5 on MobileHTML5 on Mobile
HTML5 on Mobile
 
HTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - AltranHTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - Altran
 
Bootstrap 3 Cheat Sheet PDF Reference
Bootstrap 3 Cheat Sheet PDF ReferenceBootstrap 3 Cheat Sheet PDF Reference
Bootstrap 3 Cheat Sheet PDF Reference
 
Introduction to jQuery Mobile - Web Deliver for All
Introduction to jQuery Mobile - Web Deliver for AllIntroduction to jQuery Mobile - Web Deliver for All
Introduction to jQuery Mobile - Web Deliver for All
 
Makroekonomi topik-8-1
Makroekonomi topik-8-1Makroekonomi topik-8-1
Makroekonomi topik-8-1
 
Html5 & CSS overview
Html5 & CSS overviewHtml5 & CSS overview
Html5 & CSS overview
 
netmind - Primer Contacto con el Desarrollo de Aplicaciones para Windows 8
netmind - Primer Contacto con el Desarrollo de Aplicaciones para Windows 8netmind - Primer Contacto con el Desarrollo de Aplicaciones para Windows 8
netmind - Primer Contacto con el Desarrollo de Aplicaciones para Windows 8
 
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
 
SharePoint 2010 Training Session 6
SharePoint 2010 Training Session 6SharePoint 2010 Training Session 6
SharePoint 2010 Training Session 6
 
Test upload
Test uploadTest upload
Test upload
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JS
 
Grok Drupal (7) Theming - 2011 Feb update
Grok Drupal (7) Theming - 2011 Feb updateGrok Drupal (7) Theming - 2011 Feb update
Grok Drupal (7) Theming - 2011 Feb update
 
AtlasCamp 2013: Modernizing your Plugin UI
AtlasCamp 2013: Modernizing your Plugin UI AtlasCamp 2013: Modernizing your Plugin UI
AtlasCamp 2013: Modernizing your Plugin UI
 

Viewers also liked

Universal Design for Learning: A framework for addressing learner diversity
Universal Design for Learning: A framework for addressing learner diversityUniversal Design for Learning: A framework for addressing learner diversity
Universal Design for Learning: A framework for addressing learner diversityHarvard Web Working Group
 
5 Social Tools In Practice at Harvard [SXSW11]
5 Social Tools In Practice at Harvard [SXSW11]5 Social Tools In Practice at Harvard [SXSW11]
5 Social Tools In Practice at Harvard [SXSW11]Harvard Web Working Group
 
Tastypie: Easy APIs to Make Your Work Easier
Tastypie: Easy APIs to Make Your Work EasierTastypie: Easy APIs to Make Your Work Easier
Tastypie: Easy APIs to Make Your Work EasierHarvard Web Working Group
 
Flexible web publishing with Expression Engine
Flexible web publishing with Expression EngineFlexible web publishing with Expression Engine
Flexible web publishing with Expression EngineHarvard Web Working Group
 
Facebook Open Graph implementation in the Harvard Gazette
Facebook Open Graph implementation in the Harvard GazetteFacebook Open Graph implementation in the Harvard Gazette
Facebook Open Graph implementation in the Harvard GazetteHarvard Web Working Group
 
Responsive Design: Building for a Modern Web
Responsive Design: Building for a Modern WebResponsive Design: Building for a Modern Web
Responsive Design: Building for a Modern WebHarvard Web Working Group
 
eSocial: Módulo para Microempresas e Empresas de Pequeno Porte Relatório fina...
eSocial: Módulo para Microempresas e Empresas de Pequeno Porte Relatório fina...eSocial: Módulo para Microempresas e Empresas de Pequeno Porte Relatório fina...
eSocial: Módulo para Microempresas e Empresas de Pequeno Porte Relatório fina...Tania Gurgel
 
Ganhar dinheiro em casa com a g.d.i
Ganhar dinheiro em casa com a g.d.iGanhar dinheiro em casa com a g.d.i
Ganhar dinheiro em casa com a g.d.iGraca Luísa
 

Viewers also liked (20)

How to be a better designer
How to be a better designerHow to be a better designer
How to be a better designer
 
UX @ Harvard's IQSS (Elizabeth Quigley)
UX @ Harvard's IQSS (Elizabeth Quigley)UX @ Harvard's IQSS (Elizabeth Quigley)
UX @ Harvard's IQSS (Elizabeth Quigley)
 
An Introduction to MIT's Drupal Cloud
An Introduction to MIT's Drupal CloudAn Introduction to MIT's Drupal Cloud
An Introduction to MIT's Drupal Cloud
 
Ui Testing with Ghost Inspector
Ui Testing with Ghost InspectorUi Testing with Ghost Inspector
Ui Testing with Ghost Inspector
 
Universal Design for Learning: A framework for addressing learner diversity
Universal Design for Learning: A framework for addressing learner diversityUniversal Design for Learning: A framework for addressing learner diversity
Universal Design for Learning: A framework for addressing learner diversity
 
Intro to ReactJS
Intro to ReactJSIntro to ReactJS
Intro to ReactJS
 
A Practical Guide to HTML5
A Practical Guide to HTML5A Practical Guide to HTML5
A Practical Guide to HTML5
 
5 Social Tools In Practice at Harvard [SXSW11]
5 Social Tools In Practice at Harvard [SXSW11]5 Social Tools In Practice at Harvard [SXSW11]
5 Social Tools In Practice at Harvard [SXSW11]
 
Tastypie: Easy APIs to Make Your Work Easier
Tastypie: Easy APIs to Make Your Work EasierTastypie: Easy APIs to Make Your Work Easier
Tastypie: Easy APIs to Make Your Work Easier
 
Flexible web publishing with Expression Engine
Flexible web publishing with Expression EngineFlexible web publishing with Expression Engine
Flexible web publishing with Expression Engine
 
Facebook Open Graph implementation in the Harvard Gazette
Facebook Open Graph implementation in the Harvard GazetteFacebook Open Graph implementation in the Harvard Gazette
Facebook Open Graph implementation in the Harvard Gazette
 
Responsive Design: Building for a Modern Web
Responsive Design: Building for a Modern WebResponsive Design: Building for a Modern Web
Responsive Design: Building for a Modern Web
 
Will my helicopter fit in your garage?
Will my helicopter fit in your garage?Will my helicopter fit in your garage?
Will my helicopter fit in your garage?
 
Conversion-Optimized Design
Conversion-Optimized DesignConversion-Optimized Design
Conversion-Optimized Design
 
eSocial: Módulo para Microempresas e Empresas de Pequeno Porte Relatório fina...
eSocial: Módulo para Microempresas e Empresas de Pequeno Porte Relatório fina...eSocial: Módulo para Microempresas e Empresas de Pequeno Porte Relatório fina...
eSocial: Módulo para Microempresas e Empresas de Pequeno Porte Relatório fina...
 
Primavera verano
Primavera veranoPrimavera verano
Primavera verano
 
Ganhar dinheiro em casa com a g.d.i
Ganhar dinheiro em casa com a g.d.iGanhar dinheiro em casa com a g.d.i
Ganhar dinheiro em casa com a g.d.i
 
Reflexiones Yo queria ser
Reflexiones Yo queria serReflexiones Yo queria ser
Reflexiones Yo queria ser
 
Estrategias deciencias naturales
Estrategias deciencias naturalesEstrategias deciencias naturales
Estrategias deciencias naturales
 
Nusos de mariner
Nusos de marinerNusos de mariner
Nusos de mariner
 

Similar to Mobile Themes, QR Codes, and ShortURLs for News Sites

Responsive WordPress workflow
Responsive WordPress workflowResponsive WordPress workflow
Responsive WordPress workflowJames Bundey
 
The Way to Theme Enlightenment
The Way to Theme EnlightenmentThe Way to Theme Enlightenment
The Way to Theme EnlightenmentAmanda Giles
 
Building iPhone Web Apps using "classic" Domino
Building iPhone Web Apps using "classic" DominoBuilding iPhone Web Apps using "classic" Domino
Building iPhone Web Apps using "classic" DominoRob Bontekoe
 
An Introduction to Tornado
An Introduction to TornadoAn Introduction to Tornado
An Introduction to TornadoGavin Roy
 
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)Doris Chen
 
Joomla!Day 2013 Nürnberg; Vortrag von Johannes Hock
Joomla!Day 2013 Nürnberg; Vortrag von Johannes HockJoomla!Day 2013 Nürnberg; Vortrag von Johannes Hock
Joomla!Day 2013 Nürnberg; Vortrag von Johannes HockadhocgraFX
 
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Joao Lucas Santana
 

Similar to Mobile Themes, QR Codes, and ShortURLs for News Sites (20)

Apex & jQuery Mobile
Apex & jQuery MobileApex & jQuery Mobile
Apex & jQuery Mobile
 
Responsive WordPress workflow
Responsive WordPress workflowResponsive WordPress workflow
Responsive WordPress workflow
 
The Way to Theme Enlightenment
The Way to Theme EnlightenmentThe Way to Theme Enlightenment
The Way to Theme Enlightenment
 
Building iPhone Web Apps using "classic" Domino
Building iPhone Web Apps using "classic" DominoBuilding iPhone Web Apps using "classic" Domino
Building iPhone Web Apps using "classic" Domino
 
An Introduction to Tornado
An Introduction to TornadoAn Introduction to Tornado
An Introduction to Tornado
 
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
 
20110820 header new style
20110820 header new style20110820 header new style
20110820 header new style
 
Agile Wordpress
Agile WordpressAgile Wordpress
Agile Wordpress
 
Django at the Disco
Django at the DiscoDjango at the Disco
Django at the Disco
 
Xxx
XxxXxx
Xxx
 
Django at the Disco
Django at the DiscoDjango at the Disco
Django at the Disco
 
Django at the Disco
Django at the DiscoDjango at the Disco
Django at the Disco
 
Django at the Disco
Django at the DiscoDjango at the Disco
Django at the Disco
 
Django at the Disco
Django at the DiscoDjango at the Disco
Django at the Disco
 
Death of a Themer
Death of a ThemerDeath of a Themer
Death of a Themer
 
Joomla!Day 2013 Nürnberg; Vortrag von Johannes Hock
Joomla!Day 2013 Nürnberg; Vortrag von Johannes HockJoomla!Day 2013 Nürnberg; Vortrag von Johannes Hock
Joomla!Day 2013 Nürnberg; Vortrag von Johannes Hock
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Upload[1]
Upload[1]Upload[1]
Upload[1]
 
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
 
HTML 5 - Overview
HTML 5 - OverviewHTML 5 - Overview
HTML 5 - Overview
 

More from Harvard Web Working Group

Perception is Reality: Lessons Learned from User Research
Perception is Reality: Lessons Learned from User ResearchPerception is Reality: Lessons Learned from User Research
Perception is Reality: Lessons Learned from User ResearchHarvard Web Working Group
 
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...Harvard Web Working Group
 
The Process of Communication, A Practical Guide for Project Managers
The Process of Communication, A Practical Guide for Project ManagersThe Process of Communication, A Practical Guide for Project Managers
The Process of Communication, A Practical Guide for Project ManagersHarvard Web Working Group
 
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...Demystifying UX – A toolkit approach to better, cheaper & faster experience d...
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...Harvard Web Working Group
 
Django in the Office: Get Your Admin for Nothing and Your SQL for Free
Django in the Office: Get Your Admin for Nothing and Your SQL for FreeDjango in the Office: Get Your Admin for Nothing and Your SQL for Free
Django in the Office: Get Your Admin for Nothing and Your SQL for FreeHarvard Web Working Group
 
Reboot: Developing a Drupal Solution for Harvard.edu
Reboot: Developing a Drupal Solution for Harvard.eduReboot: Developing a Drupal Solution for Harvard.edu
Reboot: Developing a Drupal Solution for Harvard.eduHarvard Web Working Group
 
Web Analytics: Creating reports that people will read
Web Analytics: Creating reports that people will readWeb Analytics: Creating reports that people will read
Web Analytics: Creating reports that people will readHarvard Web Working Group
 

More from Harvard Web Working Group (19)

The Internet of Things (IoT)
The Internet of Things (IoT)The Internet of Things (IoT)
The Internet of Things (IoT)
 
Perception is Reality: Lessons Learned from User Research
Perception is Reality: Lessons Learned from User ResearchPerception is Reality: Lessons Learned from User Research
Perception is Reality: Lessons Learned from User Research
 
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...
 
Starting out with MongoDB
Starting out with MongoDBStarting out with MongoDB
Starting out with MongoDB
 
The Process of Communication, A Practical Guide for Project Managers
The Process of Communication, A Practical Guide for Project ManagersThe Process of Communication, A Practical Guide for Project Managers
The Process of Communication, A Practical Guide for Project Managers
 
Tania Schlatter – Visual Usability
Tania Schlatter – Visual UsabilityTania Schlatter – Visual Usability
Tania Schlatter – Visual Usability
 
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...Demystifying UX – A toolkit approach to better, cheaper & faster experience d...
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...
 
Every Screen is a Touchscreen
Every Screen is a TouchscreenEvery Screen is a Touchscreen
Every Screen is a Touchscreen
 
Open Scholar
Open ScholarOpen Scholar
Open Scholar
 
Jumpstart Your Web App
Jumpstart Your Web AppJumpstart Your Web App
Jumpstart Your Web App
 
Draw More, Talk Less
Draw More, Talk LessDraw More, Talk Less
Draw More, Talk Less
 
Mat Marquis - JQuery Mobile
Mat Marquis - JQuery MobileMat Marquis - JQuery Mobile
Mat Marquis - JQuery Mobile
 
Curating the Open Web with Zeega
Curating the Open Web with ZeegaCurating the Open Web with Zeega
Curating the Open Web with Zeega
 
Django in the Office: Get Your Admin for Nothing and Your SQL for Free
Django in the Office: Get Your Admin for Nothing and Your SQL for FreeDjango in the Office: Get Your Admin for Nothing and Your SQL for Free
Django in the Office: Get Your Admin for Nothing and Your SQL for Free
 
Accessibility by Mat Marquis
Accessibility by Mat MarquisAccessibility by Mat Marquis
Accessibility by Mat Marquis
 
The Technical Side of Harvard.edu Redesign
The Technical Side of Harvard.edu RedesignThe Technical Side of Harvard.edu Redesign
The Technical Side of Harvard.edu Redesign
 
Reboot: Developing a Drupal Solution for Harvard.edu
Reboot: Developing a Drupal Solution for Harvard.eduReboot: Developing a Drupal Solution for Harvard.edu
Reboot: Developing a Drupal Solution for Harvard.edu
 
Analytics - Most Engagement Sample
Analytics - Most Engagement SampleAnalytics - Most Engagement Sample
Analytics - Most Engagement Sample
 
Web Analytics: Creating reports that people will read
Web Analytics: Creating reports that people will readWeb Analytics: Creating reports that people will read
Web Analytics: Creating reports that people will read
 

Recently uploaded

The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfAmirYakdi
 
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...Suhani Kapoor
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...BarusRa
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptxVanshNarang19
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiSuhani Kapoor
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdftbatkhuu1
 
Petrosains Drama Competition (PSDC).pptx
Petrosains Drama Competition (PSDC).pptxPetrosains Drama Competition (PSDC).pptx
Petrosains Drama Competition (PSDC).pptxIgnatiusAbrahamBalin
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
 
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵anilsa9823
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️soniya singh
 
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...Suhani Kapoor
 
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Yantram Animation Studio Corporation
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Roomdivyansh0kumar0
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceanilsa9823
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130Suhani Kapoor
 
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Delhi Call girls
 

Recently uploaded (20)

B. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdfB. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdf
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
 
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptx
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdf
 
Petrosains Drama Competition (PSDC).pptx
Petrosains Drama Competition (PSDC).pptxPetrosains Drama Competition (PSDC).pptx
Petrosains Drama Competition (PSDC).pptx
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
 
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
 
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
 
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
 
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
 
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
 
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
 
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
 

Mobile Themes, QR Codes, and ShortURLs for News Sites

  • 1. Mobile Themes, QR codes, and shortURLs Chris Traganos Harvard Public Affairs & Communications 5/12/10
  • 2. Overview • The Harvard Gazette is Harvard's official newspaper, published in print and online. • Writers, photographers, and editors create the online version which has fresh content delivered daily. • Editorial workflow is used for both creating print and online content.
  • 3. Online • Harvard Gazette is powered by Wordpress • Wordpress is an open source content management system with a solid admin interface (aka the "dashboard") and a workflow crucial for a news site. • Online, the theme is using straight php functions and minimal amount of plugins. The site lives straight on the WP core and auto-updates
  • 4. Deciding to build theme • Could use functions from regular site with minor alterations like the homepage featured stories rotator. • Mobile site from scratch would have minimal overhead and could use wp-core functions for speed considerations. • Launching a web based solution mean we could introduce new features over time without needing app stores on the various mobile devices. • Can tailor fit to our site through custom theme using mobile detection in the WP plugins directory (wp-mobile.php by Crowd Favorite)
  • 5. Gazette SymbianOS Mobile iPad 8% 2% Windows 1% Users Android 9% Blackberry 11% iPhone 70%
  • 6. Design stage • Create sketch & photoshop mockup • Create style.css, index_static.php and article_static.php for design comp. • Sample home and sample story are the basis for the theme and having a familiarity to the full site on a desktop. • Build out Wordpress theme for mobile devices.
  • 7. Building mobile theme • To build a new theme for wordpress, all is required to begin: style.css and index.php • Once the page is built and visual & design is approved - replace static content with Wordpress style.css index.php functions: get_header() Example get_footer()   <title> get_featured_posts()    Building  on  Tradition  |  Harvard  Gazette  Online </title> wp_title() etc <title>    <?php  wp_title('|',  true,  'right');  ?>      <?php  bloginfo('name');  ?> • Each template page draws from </title> the master design to a degree
  • 8. header.php <?php /**  *  @package  WordPress  *  @subpackage  GZ_mobile  */ ?> style.css <html>        <head>                <title><?php  wp_title('|',  true,  'right');  bloginfo('name');  ?> </title>     <link  rel="stylesheet"  href="<?php  bloginfo ('stylesheet_directory');  ?>/css/style.css"  />              <link  rel="shortcut  icon"  href="<?php  bloginfo ('stylesheet_directory');  ?>/images/favicon.ico"  type="image/x-­‐icon"  />              <link  rel="apple-­‐touch-­‐icon-­‐precomposed"  href="<?php  bloginfo ('stylesheet_directory');  ?>/images/apple-­‐touch-­‐icon-­‐precomposed.png"  />        
  • 9. header.php continued            <meta  name="viewport"  content="user-­‐scalable=no,   width=device-­‐width,  minimum-­‐scale=1.0,  maximum-­‐scale=1.0"  />            <script  type="text/javascript"  charset="utf-­‐8">              addEventListener('load',  function()  {              setTimeout(hideAddressBar,  0);              },  false);              function  hideAddressBar()  {              window.scrollTo(0,  1);              }            </script>      </head> http://snipplr.com/view/8784/hide-iphone-address-bar-once-page-is-loaded/
  • 10. header.php continued   <body  class="home">     <div  class="header">       <a  class="logotype"  name="top"  href=" <?php  echo  get_option('home');  ?>/"> <img  src="<?php  bloginfo('stylesheet_directory');  ?>/ images/gazette_logotype.png"  alt="Harvard  Gazette"   height="27"  width="211"  /> </a>     </div><!-­‐-­‐  exit  header  -­‐-­‐>     <div  class="masthead">       <p> <?php  echo  date("l  n/j/y");  ?>  <span  class="conditions"> <?php  gz_display_weather();  ?></span> <a  href="#search"  class="search">Search</a> </p>     </div><!-­‐-­‐  exit  mastmav  -­‐-­‐>
  • 11. footer.php <?php /**  *  @package  WordPress  *  @subpackage  GZ_mobile  */ ?> <div  class="categories"  id="nav"> <ul>          <?php  wp_list_categories ('orderby=id&include=4,11,3,10,9&title_li=');   ?> </ul>     </div><!-­‐-­‐  exit  categories  -­‐-­‐>
  • 12. footer.php continued   <div  class="search">                    <a  name="search"></a>       <form  role="search"  method="get"  id="searchform"  action="<? php  echo  get_option('home')  ?>/"  >       <fieldset>         <label  for="search-­‐gazette-­‐input">Search</label>         <p  class="input-­‐button">         <input  type="text"  value=" <?php  esc_attr(apply_filters('the_search_query',   get_search_query()));  ?>"  name="s"  id="search-­‐gazette-­‐ input"  />         <input  type="submit"  value="Go"   id="search-­‐gazette-­‐submit"  />         </p>       </fieldset>       </form>   </div><!-­‐-­‐exit  search-­‐-­‐>
  • 13. footer.php continued <div  class="footer">  <div  id="copyright"><p>&#169;   <?php  echo  date("Y",time());  ?>  The  President  and  Fellows  of  Harvard   College.</p>   <ul>     <li><a  href="#top">Top</a>  <span  class="divider">/</span></li>     <li><a  href="<?php  echo  get_permalink(PRIVACYHPAC_PAGE_ID);  ? >">Privacy</a>  </li>     <li><a  href="http://www.trademark.harvard.edu/ trademark_protection/notice.php"  >Trademark</a>  </li>     <li><a  href="<?php  echo  get_permalink(CONTACT_PAGE_ID);  ? >">Contact  us</a>  </li>     <li><a  href="<?php  echo  get_permalink(NEWS_HOME_PAGE_ID);  ? >">HPAC</a></li>   </ul> </div><!-­‐-­‐  exit  copyright  -­‐-­‐> </div><!-­‐-­‐  exit  footer  -­‐-­‐>   <?php  if(function_exists('cfmobi_mobile_exit'))  {       cfmobi_mobile_exit();}    ?>   </body>   </html>
  • 15. QR Codes • A QR Code is a 2D bar code created by Denso-Wave Co. in 1994. • Designed for quick response scanning on assembly lines, QR codes have played a role in mobile tagging • Contains up to 7089 characters in a single QR • Can accept multiple formats (URLs, Geo data, SMS, vCards, and more) source: http://en.wikipedia.org/wiki/QR_Code
  • 16. QR Codes • The ability to link printed materials and online content has opened new possibilities for traditional publications to expand their reach online. • Quote: "This year, 89% of new mobile phones shipped to the U.S. will have cameras" • Numerous sites allow users to generator QR codes on the fly. source: http://bit.ly/bpEEEj
  • 17. QR Codes in the Gazette • The Harvard Gazette began incorporating QR codes into the print newspaper in April 2010. • Readers who are curious and want to access additional features online scan the QR code with their smartphone.
  • 18. QR & Mobile sites Important to note that QR codes are best used in conjunction with mobile friendly sites. Having a QR code access a fast-loading site enhances the users experience with the print and web.
  • 20. shortURLs • By default, Wordpress follows an ID based URL structure: http://news.harvard.edu/gazette/?p=33273 • Wordpress allows for flexible and custom URL patterns: /story/%year%/%monthnum%/%postname%/ would translate to: http://news.harvard.edu/gazette/story/2009/12/web-­‐wizardry/ • Great for search engines and easy to decipher
  • 21. Building • Since the editors are dealing with story ID’s in the dashboard, they see the stories in shorthand form. Additional consideration was the QR scan better with less characters. • Prototyped and launched a 3 character shortURL for the Harvard Gazette: http://hvd.gs • The editors could share links quickly with the short hand equivalent: http://hvd.gs/33273 • Advantage was that if title of story every changed, these URLs would still be intact.
  • 22. How-to • Accomplished this by purchasing the domain and using a simple htaccess rule for redirecting. • In root html directory, created an htaccess rule: RedirectMatch  permanent  ^/$  http://news.harvard.edu/gazette/ RewriteEngine  On RewriteRule  ^([0-­‐9]+)$  http://news.harvard.edu/gazette/?p=$1   [QSA,R=301] • This allows for parameters to be passed (?src=QR&pg=3)
  • 23. Resources http://codex.wordpress.org/Theme_Development http://carringtontheme.com/2009/03/carrington-mobile-10/ Detecting Mobile devices: http://detectmobilebrowsers.mobi/ Development for the New Mobile Web: http://www.slideshare.net/harvardwww/development-for-the-new- mobile-web Mobile Strategy: http://www.jeremyjohnsononline.com/2010/04/26/the-mobile-question-lessons-in- design-and-strategy-for-your-mobile-experience/#more-182 PSD for Motorola Droid: http://www.officialpsds.com/Verizon-Droid-without-keypad-PSD39240.html PSD for iPhone prototyping: http://www.teehanlax.com/blog/2009/06/18/iphone-gui-psd-30/ QR write up http://bits.blogs.nytimes.com/2009/12/07/putting-a-bar-code-on-places-not-just-products/ http://qrcode.kaywa.com/