Join David Blatner for an in-depth discussion in this video Export to the web with Publish Online, part of InDesign CC 2018 Essential Training.
- [Instructor] In the last movie, we looked at how you can export an interactive PDF from InDesign, a digital document with elements like buttons and links, so you might be asking, "Okay, so that's great, "but how do we get that on a website, "not just as a PDF but as actual, real HTML "that people can see in a browser?" Well, Adobe's Publish Online technology is their attempt at doing just that. You can export any InDesign file to Publish Online and it appears on the web along with any interactivity you put in it, including hyperlinks, buttons, animations, videos, slide shows, even embedded HTML widgets like Google Maps.
And best of all, it's really easy to do. For example, I have version two of our interactive brochure document open from the Exercise Files folder and I want to put this on the web. But first, let's add just a little bit of animation. I'm going to jump to the third page by pressing shift + PgDn a couple of times. Now, I'm going to select this text frame and I'm going to apply some animation to it. To do that, I need the Animation panel and I can find it by going to the Window menu choosing Interactive, and then Animation.
Now this panel looks tricky at first but it's actually super simple. The first step is to click this little menu down here labeled Preset. Then just choose any one of these built-in animations. I'm going to choose Fly in from Top. Then down here in the Duration field, you simply tell it how long you want it to take. Let's say two seconds. That's it. Now this menu up here, Events, is what triggers, that is, what starts the animation. And you can see that it's currently set to On Page Load, so the animation will happen as soon as we turn to this page.
Let's do another one. I'll select this object, come over to my Preset pop-up menu and I'll say this one should fly in from left, and it should also take two seconds. Now I can't play the animation on my InDesign page but InDesign has a cool feature that can show me what it will look like when I export it. I'll open that by going to the Window menu, choosing Interactive, and then choosing EPUB Interactivity Preview. When you open the panel, InDesign literally exports the current page to a local temporary HTML file and then it opens it up in the panel.
And that can take a few seconds depending on the complexity of the page. It's kind of tiny right now, so let's make this panel larger. I'll move it over and then drag the lower right corner. Now, I'm going to make it play again by Option-clicking or Alt-clicking on the Play button in the lower left corner. There we go. There's the animations. Isn't that cool? Okay, now let's add a video. I'll close this panel, and also the Animation panel, and I'm going to go to the next page by pressing Shift + Page Down.
Adding video is really easy to do. You import it just like any other graphic. I'll go to the File menu, choose Place, then in the Links folder from the Exercise Files folder, I'm going to scroll down and choose this testimonial movie. It's the one that ends with .mp4. I'll click Open and it loads it onto my place cursor. So now, just like any other graphic, I can click this empty frame to put the movie into it. Now once again, we can't see the video on the page, so let's export this and see how it looks.
All I need to do is click this Publish Online button in the Application bar or I can go to the File menu and then choose Publish Online. The first time you try this, it's going to ask you to try it now, so I'll click Try it now and then it opens my Publish Online dialog box. Now, there are a few things you need to know about Publish Online. First, this is an Adobe Creative Cloud service and the files are all hosted on Adobe servers. That means you cannot export HTML and put it on your own server.
If you need that, I have a suggestion which I'll give you in just a minute. Second, there's only one type of interactivity that it doesn't support yet, and that's form fields. I hope they add that in the future. But first, here, all I need to do is give this a name and I'm going to tell it that it's a new file. That's what Publish New Document is. And if I want, I could add a description down here. I also need to tell it if I want to export each page individually or spreads as single pages. Okay, let's just jump in and click Publish.
When you do that, you'll see that InDesign starts to export the file and upload it to the Publish Online server. Now, the longer the document and the more complicated your design, the longer this will take of course. So for example, the fact that we have a video file in here will slow this down quite a bit. Okay, it's done. So now, you can copy the URL from this field here or share this via social media or just click View Document to open it in your web browser. There you go. It looks just like our InDesign page, including the fonts, the layout, and best of all, the interactivity.
For example, I'll click my go to next page button and you see it works. There's my animation too. These images have been set up as rollovers and you can see they work. Let's go to the next page and you can see our video. I'll try clicking Play. Perfect. Publish Online is probably the easiest and fastest way to get your documents on the web. But wait, there's more. I'm going to go back to InDesign and this dialog box is still open, so I'll close that.
And now, let's say I'm going to make some change, like I'll go back to my first page and I'm going to put some exclamation points at the end of this text. Now you can upload this again to Publish Online by clicking the Publish Online button. But this time, instead of publishing a new document, you want to choose Update Existing Document. And then choose the document that you want to update from this pop-up menu here. That way, it will replace the original and the URL that you gave everyone will still be good. I'm not going to do it right now, so I'll just click Cancel.
I do want to point out however that here in the File menu, you can jump right to Recently Published documents or you can choose Publish Online Dashboard, which will show you all the files you've uploaded and even gives you some basic analytics about your documents, like how many times they've been viewed. So, Publish Online is cool but like I said, it won't give you raw HTML that you can put on your own website or put into an app or something like that. If you need that, then you should check out a third-party tool called in5 from Ajar Productions.
It's pretty amazing. But in the meantime, I definitely encourage you to try out Publish Online. It is so easy and intuitive that you'd be crazy not to use it.
- Creating a new layout
- Inserting pages
- Adding text
- Inserting graphics
- Applying color and transparency
- Drawing and editing frames and paths
- Formatting objects
- Formatting text
- Creating styles for uniform formatting
- Building tables
- Adding links and interactivity
- Printing and exporting InDesign documents