If I use the HTML 5 web help target and also want to use Mobile target, how do I publish these on the web server so that the correct output format applies?
In other words, if users browse the web help on their mobile phones, I want the Mobile target to apply, or else the "regular" HTML 5 target to apply.
Possible to use several output targets?
Re: Possible to use several output targets?
That's something you can either set up on the server or you can modify the default.htm topic for both outputs after they're built to include the necessary code. I've never had to do it myself, but there's JavaScript or other code out there that will see what browser or OS you're using and redirect you to a different site if you're on a mobile device. If you don't want to have to modify the default.htm files after building, then you'd create a landing page on the web server that had the necessary code to redirect. So you'd tell your users that they can find the help at http://help.yourcompany.com. At that location, there is a default.htm or index.htm page that you created that has the necessary code. If they're on a non-mobile OS, then it redirects to, say, http://help.yourcompany.com/html5/. If they're on a mobile device, it would redirect to http://help.yourcompany.com/mobile/.
I'd recommend the server option myself, because 1) you might forget to add the code to the output and then there's no redirect, and 2) faster response probably to have the server do it so not a noticeable delay to the end user.
I'd recommend the server option myself, because 1) you might forget to add the code to the output and then there's no redirect, and 2) faster response probably to have the server do it so not a noticeable delay to the end user.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Re: Possible to use several output targets?
Thank you LThinker68 for a quick reply I think my choice will be the latter, and redirect the visitors as you suggested through the default.htm page.