Support for ASP calls in HTML?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
EFRoselli
Jr. Propeller Head
Posts: 5
Joined: Wed Mar 23, 2016 4:31 am

Support for ASP calls in HTML?

Post by EFRoselli »

Hello,

At my new job our use of Flare is limited by the fact that we have not found a way to make it work correctly with JavaScript calls embedded in our html pages.

We are not able to open our pages in Flare. When we try, we get a messages that the page is not valid XML. When we opt to convert it to XML with the Flare tool, the page comes out all broken, with paragraphs in reverse order and a general lot of mess.

The JavaScript calls causing this are two lines at the top of our documents that integrate them into our web site, like:

<% block('title', "Sample Title") -%>
<% block('description', "This page discusses the formats supported by this software.") -%>

Flare also coughs on the way cross-references are made with the JavaScript calls:
<p>The following standard image formats are supposed by the Image Analysis APIs, including <a href="<%=config.base%>/developer/apis/api1">First API</a>, <a href="<%=config.base%>/developer/apis/api2">Second API</a> and <a href="<%=config.base%>/developer/apis/api3">Third API</a>.</p>

So the upshot is we can't use Flare to edit and manage the documentation, only to compose new drafts, which is a shame.

Does anyone know a way round this problem (other than re-writing all the documentation, which is unlikely to happen)?

Thanks,
EFR
Last edited by EFRoselli on Tue Jun 21, 2016 3:51 am, edited 1 time in total.
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Support for JavaScript calls in HTML?

Post by NorthEast »

I'm no expert, but that doesn't look like Javascript - it looks like ASP.

If it is ASP, then you might get a better response if you change the post title to refer to ASP.
EFRoselli
Jr. Propeller Head
Posts: 5
Joined: Wed Mar 23, 2016 4:31 am

Re: Support for ASP calls in HTML?

Post by EFRoselli »

Thanks, I have done that now.

EFR
Post Reply