Possible to use several output targets?

This forum is for all Flare issues related to the WebHelp Mobile target and skins
Post Reply
heal
Propeller Head
Posts: 44
Joined: Thu Oct 14, 2010 6:07 am
Location: Stockholm, Sweden
Contact:

Possible to use several output targets?

Post by heal »

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.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Possible to use several output targets?

Post by LTinker68 »

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.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
heal
Propeller Head
Posts: 44
Joined: Thu Oct 14, 2010 6:07 am
Location: Stockholm, Sweden
Contact:

Re: Possible to use several output targets?

Post by heal »

Thank you LThinker68 for a quick reply :D I think my choice will be the latter, and redirect the visitors as you suggested through the default.htm page.
Post Reply