What’s the Difference Between an HTML5 Email and a Unicorn?

email icon

One is a mythological creature and the other one has a horn and dances on rainbows in the sky.

Chances are, you’d love to have a rich way to engage with your friends and customers in the comfort of their email client. I would, too. Unfortunately, there are many obstacles to accomplishing this, and no great solutions.

Why Can’t I Do That in an Email?

I get this question often from people who are interested in using in5 to convert their InDesign layout to an HTML email. Unfortunately, there’s no good way to convert a layout from a design application into an HTML email with a high level of fidelity. There are tons of different email clients and most of them don’t support many of things that we’ve taken for granted on the web for many years. For instance, the following items are limitations in most email clients:

  • No JavaScript (which rules out any interactivity—on the flip side, this is a good security feature within an email client)
  • Minimal CSS support, including no absolute positioning (like the positioning used in InDesign or Photoshop)
  • No header and no ability to include external files (so CSS all has to be placed in inline style tags)
  • No font embedding, which limits you to web safe fonts
  • No Audio, Video, or Plugins
  • No form elements

There are also more comprehensive lists of supported and unsupported features from MailChimp and Campaign Monitor.

What to Do Instead

Here are a few ways to approach the problem (granted, none of them scratch every itch).

Note that the new SimpleHTML export will export text, tables, images, and hyperlinks that can be easily copied into an email, but it will not copy the InDesign layout.

Link to a landing page

Generally, it’s best to keep emails (and their design elements) simple.

Why?

Deliverability. You don’t want your emails to get marked as spam and be ignored.

Also, many readers will have images turned off by default, so they may miss your design entirely.

If you entice your reader with some simple text and get them out to a web page, anything is possible. There’s no limit to the type of content that you can put on the web.

Your landing page can include video and interactivity (and all that good stuff listed above that’s impossible in an email).

And it’s pretty simple to link out to other parts of your site. Here’s a video where I create a landing page from InDesign and link it to other pages.

Check out the in5 customer showcase for examples of sites & landing pages created with InDesign & in5.

A single image

This image may or may not link to a richer site. Perhaps it’s a preview of the site itself, like a poster image on a YouTube video that is visible before you click to play the video.

If you want to include some motion to create engagement, consider using an animated GIF.

Pros: Simple to produce, can be visually rich, can use any fonts inside the image.

Cons: Many email clients might hide the image (make sure to use ALT text), no actual text in the email, can only include a single link.

Attach a PDF

This may be the best option for some longer messages that require a complex magazine-like or catalog layout.

Pros: Great layout capabilities in the PDF.

Cons: Forces the user to open something, doesn’t track if the document has been opened (like a link would when clicked), may be filtered as spam.

A table of images

The is the old school method of HTML layout (before CSS improved). You can still accomplish this using the slice tools in Photoshop and Illustrator. You can also use a table to combine text and images.

Pros: Can have multiple links, can include actual text, layout is preserved.

Cons: Layout may be inflexible, images will be hidden by some email clients by default.

Use a template provided by an email marketing vendor

This is probably the best solution for most people. It won’t allow you to work outside the bounds of your target delivery system (as InDesign or Photoshop would), and you can still use a WYSIWYG visual editor. Chances are good that you can find a decent template with an email marketing service (like MailChimp, AWeber, Constant Contact, or similar). This option deals with the reality of the situation. Your email is a bit like a resume, you want people to notice it, but it’s possible to overdo it and look unprofessional. A template keeps you in the “professional arena” and relies on your content to set your email apart from the other messages in your reader’s inbox.

Pros: Easy to use, likely to work in all major email clients, some templates are even responsive.

Cons: May seem less unique, cannot be created in your favorite design applications.

Hand code the email

You can always code the email yourself, as long as you know what you’re doing. If you’re interested in hand-coding or having a more flexible and innovative email, I highly recommend Chris Converse’s Responsive Email course.

Pros: More control, responsiveness (if desired).

Cons: A lot of work.

Final Thoughts

When in doubt, just keep it simple. The goal of most marketing emails is to get your reader somewhere else (like a website where they could buy your product). In that case, focus on communicating why it would be a benefit to the reader to click your link. And then, the sky is the limit on their interactive experience (once they’re out of their email client).

in5 2.3 Adds Lazy Loading Images for Faster Load Times and Convert Selections to Web Overlays for DPS

Convert Selection to a Web Overlay

This feature lets DPS users take advantage of the wonderful Animation and Timing Panels in InDesign.

Credit for this feature goes to Keith Gilbert who came up with a way to use content exported by in5 to include native InDesign animations in DPS projects. Keith wrote up the idea on InDesign Secrets and suggested that we automate these steps as a feature. Which is exactly what we’ve done. So, now you can simply make a selection and right-click (or use the Object menu) and choose Convert Selection to Web Overlay Using in5…. A special version of the in5 dialog will then appear, and once you’ve selected the options you’d like and clicked OK, in5 will export the content, create a Web Overlay (animation and all) inside your current document, and hide the original content in a separate layer.

Convert Selection to Web Overlay

Lazy Load Images

Lazy Load Images will only load images on the current page and neighboring pages, rather than loading all of the images in the document right away. This is a feature we’ve wanted to add for quite some time, so we’re glad that we can finally make it available!

Turning this option on can dramatically reduce the load time in the browser, especially for long documents. There’s not much of a downside to this feature, so it is turned on by default.

Bookmark Linking within “Tall” Pages

Version 2.3 also adds the ability to link to locations within pages using Bookmark Anchors. This feature came about based on a request on the Answer Exchange. To create vertical chapters in Baker Framework output, in5 supports creating taller pages that can be scrolled vertically (swiping takes the reader to the next “chapter”). We even added a script that could merge multiple pages into one tall page. Doing so, however, made it difficult to link to locations inside of the tall page. Now, you can create a Bookmark Anchor (a bookmark from within a text frame), and use a button to link to that Anchor, and clicking that button will now take the reader to the tall page and scroll to the anchor location.

Added Video Options

We’ve had a couple of requests to support the None Video Controller skin option, so we’ve added support that option, which will hide the control bar at the bottom of a video (when not in fullscreen mode). Choosing any other skin will show the full controller in the output.

We’ve also had a few requests for the Play Full Screen Video Overlay option. This option allows a video, once reached (or clicked to play), to take over the screen. This works best on a browser and device that supports this behavior.

Support for Top and Left Pull Tabs

Pull Tabs are essentially a nice hack of the Scrollable Frame Overlay. To see screenshots of pull tabs in action, check out this InDesign Secrets article where Keith Gilbert has some tips and tools for pull tabs. Pull tabs are simply scrollable areas with the scrollbar hidden and they rely on a touch device. in5 has supported tabs that start at the bottom or right side of the screen for quite some time because they simply required scrolling functionality, but tabs at the top and left were essentially inverted, so the browser didn’t realize that scrolling was desired. Even though there was overset content in the frame, it was in the wrong direction. So we’ve added some code in the output to recognize this and to trick the browser into scrolling normally. Hopefully this will be helpful for fans of pull tabs.

Download the update

You can update your current version or test a trial version of in5 by visiting the download page.

Other fixes in version 2.3

Here’s a list of other items that we’ve updated for the latest version:

  • Updated Add to Home Screen graphics for iOS 8.
  • Fixed tap start on Image Sequences.
  • Fixed error in non-English versions of InDesign caused by none swatch.
  • Fixed syntax for transform origin in webkit.
  • Fixed error with ampersands in video paths.
  • Fixed errors that may occur when scrollable frames exist inside of other scrollable frames.
  • Fixed in5 footer position on Baker and LSPS output options.
  • Fixed error related to Custom Rasterization and update in5 to support new settings in CC 2014.
  • Fixed nested text frames that are marked as scrolling frames but do not have scrolling content.

Split Text Extension for InDesign

This extension is useful if you’d like to break apart text in order to quickly create buttons, animated sequences, or simply separate blocks of text that can be individually positioned.

Before and After using Split Text

This extension can split text into separate text frames by:

  • Paragraphs
  • Columns
  • Words
  • Characters (new to v1.1)
  • Lines
  • Manual Line Breaks
  • Text Styling (new to v1.1)
  • Tabs
  • Custom Text
  • or even Custom Grep Expressions

Split Text automatically remembers the last settings used and can be undone in a single step.

Download

Sign-up for our newsletter and receive this premium extension for free.

Looking for the reverse? Check out Merge TextFrames.

How to Create Mobile Apps as a Non-Developer

So you want to create a mobile app. Who doesn’t these days, right? But you’re not a hardcore programmer, and maybe your budget won’t allow you to hire one.

So how do you create an app for one or more of these platforms?

  • iOS
  • Android
  • Windows Phone

Each one of these operating systems uses a different programming language, and each one is reasonably complex.

Is There Some Universal Language I Can Use?

Short answer: yes. It’s HTML, the language of the web.

HTML can easily be packaged into a mobile app for many platforms. One way to package HTML into an app is using the PhoneGap code library.

PhoneGap Build

PhoneGap Buildbot

If the idea of a “code library” sends shivers down your spine, fret not, because there is a web service called PhoneGap Build. PhoneGap Build has a friendly user interface and does most of the work on the server translating your content into apps, so you don’t have worry about “compiling” or other such developer activities. And, it’s affordable!

Getting Started

Keith Gilbert has a video course on Ajar Academy to get you started.

Check out the entire Create a Mobile App with in5 & PhoneGap Build course to see how to turn an Adobe InDesign layout into a mobile app without coding.

The Best Part of Using HTML: You Don’t Have to Know HTML

You don’t have to know how to code HTML (or JavaScript, or CSS) to create HTML content. You can use a visual tool like Adobe Dreamweaver or Adobe InDesign in conjunction with our InDesign to HTML5 exporter.

Bonus Tip

If you’re looking for a way create an app for an Amazon Kindle Fire, you don’t even need PhoneGap Build. You can submit your HTML content directly to Amazon and they’ll do the packaging for you.

in5 v2.2 – HD Images, Better Buttons, HPUB Packaging, Scrolling Frames Unleashed

Version 2.2 of in5 (InDesign to HTML5) is now available. This update is chalked full of fixes and new features. Here’s rundown of some of the features.

High Definition Images

There are 2 new Image Quality settings available:

  • High Definition
  • High Definition – Text Frames Only

These options allow you to export items at 144 ppi (essentially twice “normal” resolution). This is particularly useful if you’re targeting retina displays or you want your content to be crisp when zoomed in upon.

Better Buttons

in5 has supported InDesign buttons since its very early days. However, many buttons have drop shadow or glow effects applied, usually to the roll over state. When in5 queried InDesign to get the button dimensions, InDesign did not include the size of any outer glow or drop shadow in those calculations. So, the resulting button was often cropped a bit. No more!

Better Button Rendering

in5 now traverses the objects within a button checking for effects that will alter the button’s size. The result is that buttons with outer effects now display as expected, with no need for any workarounds.

Automatic Packaging for Baker Framework and Liquid State

in5 now automatically packages files when exporting for the Baker Framework (.hpub file extension) or the Liquid State Publishing System (.zip extension).

Baker Framework

The HPUB file can be posted directly to a server and used with Newsstand issues. The HPUB file is automatically created when you select Baker Framework (HPUB) as the Output format in the in5 dialog, and the file is saved to the same directory as the book folder.

liquid-state-200

A ZIP package is now also automatically created when you select Liquid State Publishing System as the Output format. This package can then be uploaded directly into a Liquid State project.

Scrolling Frames Unleashed

Scrolling Frames previously supported text, images, and buttons. Scrolling Frames can now support all types of content, including other Overlays like Slideshows!

Animation Triggered by Object States

We didn’t even realize it, but InDesign had an On State Load event to trigger animation within Multi-State Objects. A savvy user on the in5 Answer Exchange tipped us off to the feature, which allows animation to play when a specific Object State is visible. It’s very useful and it’s now supported by in5!

Ready to try out the new features?

Get the latest version of in5 now >>