Try our conversational search powered by Generative AI!

Allan Thraen
Sep 13, 2011
  7041
(2 votes)

New Open Source MobilePack, version 0.9 Beta!

imageOver the summer – and intensively over the last couple of weeks a small team of volunteers (myself, @jacobkhan, @frederikvig) have been hard at work taking MobilePack to the next level! We’ve put together what we feel is a pretty solid, fully-featured v. 0.9 Beta of it. Some might even feel it deserves the “stable” stamp, but since the project is 100% dependent on jQuery Mobile, we don’t feel we can call it stable until jQuery Mobile is.

For those of you new to MobilePack, read the introductory blog post here, some of the marketing material here,  or even better – this CMSWire review.

In short, MobilePack is an easy way to make a fully-featured, personalized,  mobile web site/app based on EPiServer CMS 6 R2, that can easily repurpose content from your regular web site, redirect mobile traffic, and at the same time offer advanced mobile functionality as well as intuitive touch-based navigation. It can be used both out-of-the-box, or customized to give it your personal touch and specific functionality.

It’s released as open-source, so it’s free and easy for anyone to use – as long as you have an EPiServer CMS 6 R2 to run it on. Several organizations are already live with mobile apps on MobilePack – if you have made one, we’d love to hear from you – either on the MobilePack Codeplex site – through email – or as a comment to this blog post!


 

What’s new!

Ok – enough marketing talk. Let’s have a look at what’s new in this beta:

  • We’ve split up MobilePack into two projects. One project: MobilePack.Core is the essential plugins and extensions to EPiServer CMS to make it easy to work with mobile web sites. This include stuff like preview functionality, redirection, configuration, image resizing and criteria you can use to personalize the experience for different mobile devices. The other project a mobile sample site based on jQuery Mobile, with a lot of functionality – it comes with full source code and is easy to install, use and use as a base for your mobile web site. On the EPiServer NuGet feed you can get each package independently of each other – however the sample site has a dependency on the core. The EPiServer Module you can find on the codeplex site contains both the core and sample site.
  • Google Maps for Mobile included in the sample site to show stuff like “nearest store locations”. You simply add a “Location Viewer” page type and below that pages with the individual locations to show on the map.
    image
  • Image Gallery, based on Photoswipe, to easily share all your images with the mobile population. Again, it’s just a page type you use to add it to your mobile site – and it’ll automatically show the images you have in your page-folder (or on another specified location).
    imageimage
  • Server-side image resizing. We’ve included server-side image resizing code that dynamically will change the size of the images. As a fallback we also still have the client-side resizing as before. Note, however that we still recommend that you keep images for mobile use stored in sizes that makes sense for mobile use.
  • Fully configurable device list – both the devices you use to personalize for, but also the devices you would like to preview on, can now be set in web.config.
    <mobilepack disablepreview="false" previewpagetypes="[MobilePack]">
      <devices>
        <device name="Android Device" useragent="Android"/>
        <device name="Apple Device" useragent="Apple"/>
        <device name="Apple iPhone" useragent="iPhone"/>
        <device name="Apple iPad" useragent="iPad" />
        <device name="Apple iPod" useragent="iPod" />
        <device name="BlackBerry" useragent="BlackBerry" />
        <device name="Internet Explorer browser" useragent="MSIE" />
        <device name="Safari browser" useragent="Safari" />
        <device name="Chrome browser" useragent="Chrome" />
        <device name="Webkit browsers" useragent="Webkit" />
      </devices>
      <preview>
        <device name="Low Res (640x480)" style="mobilepack-phone-h" />
        <device name="iPhone Vertical" style="mobilepack-iphone-v" image="images/iphonev.png" />
        <device name="iPhone Horizontal" style="mobilepack-iphone-h" image="images/iphoneh.png" />
        <device name="iPad Vertical" style="mobilepack-ipad-v" image="images/ipadv.png" />
        <device name="iPad Horizontal" style="mobilepack-ipad-h" image="images/ipadh.png" />
        <device name="Android Vertical" style="mobilepack-htc-v" image="images/htcv.png" />
        <device name="Android Horizontal" style="mobilepack-htc-h" image="images/htch.png" />
        <device name="Blackberry" style="mobilepack-blackberry-v" image="images/blackberryv.png" />
      </preview>
    </mobilepack>
  • New dynamic content: Animation Link and Collapsible Content. To nice UI features supported in jQuery Mobile is made easy to use in any content for the editors.
    image
  • Enhanced Preview functionality. It’s been made to work in IE as well, just as we’ve added device images around the rendered content to increase the realism effect for editors. Note, however that the preview is still no a real emulator – but just a limited screen resolution to give editors a better impression of how their content will look.
    image
  • Possibility to set start page image, and icons for iPhone on the mobile site.
  • Going from the mobile site, back to the normal site, will now set a cookie that persists the choice – even if the visitor navigates further around the normal site.
  • jQuery Mobile has of course been updated to the latest ‘Beta 3’ release.
  • A lot of bugfixes and refactoring

 

Installation:

  • In visual studio, from the EPiServer NuGet Feed (remember to manually import the pagetypes from ‘/Setup’ afterwards)
  • By downloading the EPiServer Module from Codeplex and using EPiServer Deployment Center (‘Install Module’)
  • By fetching the source code directly from codeplex and compiling it yourself.
Sep 13, 2011

Comments

Eric
Eric Sep 13, 2011 09:00 PM

Awsome! i will actually start to build a mobilesite tomorrow with this package for a customer.. glad to here you fixed some issues and addad new features :)

Sep 13, 2011 11:36 PM

Very nice. Looking forward to installing this ASAP!

Fredrik Josefsson
Fredrik Josefsson Sep 14, 2011 11:53 AM

Interesting stuff, will try to check it out.

Elena Gonzalez
Elena Gonzalez Sep 14, 2011 05:29 PM

This is great news for our US partners and customers. Great work!!!

Sep 15, 2011 11:09 PM

Installed and liking the results. :)

Hampus Persson
Hampus Persson Sep 27, 2011 05:22 PM

Just tried to install this but I have got the previous Alpha version. So, for other people who have similar situation, the following actions should be carried out in order:

Remove the mobile re-direction
Delete mobile home pages and the sub pages
Empty the recycle bin
Delete the mobile visitor group
Delete the mobile page types
Remove mobile-related files in bin, lang, modules and setup
Install the new version and import data

Please login to comment.
Latest blogs
Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog

Azure AI Language – Abstractive Summarisation in Optimizely CMS

In this article, I show how the abstraction summarisation feature provided by the Azure AI Language platform, can be used within Optimizely CMS to...

Anil Patel | Apr 18, 2024 | Syndicated blog

Fix your Search & Navigation (Find) indexing job, please

Once upon a time, a colleague asked me to look into a customer database with weird spikes in database log usage. (You might start to wonder why I a...

Quan Mai | Apr 17, 2024 | Syndicated blog

The A/A Test: What You Need to Know

Sure, we all know what an A/B test can do. But what is an A/A test? How is it different? With an A/B test, we know that we can take a webpage (our...

Lindsey Rogers | Apr 15, 2024

.Net Core Timezone ID's Windows vs Linux

Hey all, First post here and I would like to talk about Timezone ID's and How Windows and Linux systems use different IDs. We currently run a .NET...

sheider | Apr 15, 2024