Cross referencing external files

This forum is for all Flare issues not related to any of the other categories.
Post Reply
kelly_hochanadel
Propeller Head
Posts: 43
Joined: Mon Sep 23, 2013 3:36 pm

Cross referencing external files

Post by kelly_hochanadel »

We're entertaining the idea of creating a centralized repository of our code samples, since our API takes requests and responses in XML, instead of having the tech writer come in and change code samples every time something updates. Is there a way in Flare to embed the contents of an external XML file in the body of a topic?

Thanks, y'all!
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Cross referencing external files

Post by LTinker68 »

You could try inserting an embed tag -- see http://www.w3schools.com/tags/tag_embed.asp for more info. You can't do that via Flare's GUI, but you can manually enter it in the page code. Just make sure whatever source content you're embedding is somewhat secured; you wouldn't want to pull in something from the Internet at-large that you have no control over.

Also, I've never particularly tried embedding an XML page, but the browsers don't seem to treat XML files the same, or at least they didn't seem to when I've tried opening an XML file before. I think IE displayed the contents of the XML file but it seems like Firefox didn't. Not entirely sure about that, though.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
kelly_hochanadel
Propeller Head
Posts: 43
Joined: Mon Sep 23, 2013 3:36 pm

Re: Cross referencing external files

Post by kelly_hochanadel »

Thanks, Lisa!
Post Reply