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!
Cross referencing external files
-
kelly_hochanadel
- Propeller Head
- Posts: 43
- Joined: Mon Sep 23, 2013 3:36 pm
Re: Cross referencing external files
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.
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.
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
Thanks, Lisa!