Flare to MediaWiki to Flare (part 2, make an API call and a Flare TOC)

To get the wiki pages, something has to make the API calls. A program is needed. I decided to build it rather than look for one that fits. But the plan was to use preexisting libraries to access the MediaWiki API if possible. I also decided to go with a Visual Basic project for this… Continue reading Flare to MediaWiki to Flare (part 2, make an API call and a Flare TOC)

Flare to MediaWiki to Flare (part 1, getting started)

I asked for suggestions for posts on the Users of MadCap Flare on Linkedin. The first one was to see content flow freely between Flare and a wiki. I’m not promising anything. But the suggestion is very good and it is worth a try. I saw some posts on MadCap Software Forums about this. It… Continue reading Flare to MediaWiki to Flare (part 1, getting started)

Regular Expressions and Flare Markup (Danger)

Danger ahead… This post does is not a recommendation to use regular expressions for automation which involves XML and XHTML parsing. Unless you are watching the action or verifying the results later, there are dangers to using regular expressions to parse XML and XHTML. This is discussed extensively on developer forum websites. Computer science curricula which… Continue reading Regular Expressions and Flare Markup (Danger)

Use Linq to XML with Flare Files (part 1)

Linq to XML is a library for XML manipulation for use with Microsoft’s Visual Basic and Visual C#. Linq to XML offers extensive functionality at the cost of limiting development to a .NET context. Microsoft posts information about Linq to XML here: http://msdn.microsoft.com/en-us/library/bb387098 The Visual Basic manifestation of the System.XML.Linq interface is particularly interesting because… Continue reading Use Linq to XML with Flare Files (part 1)

Flare and Schemas (part 1)

XSD is a schema language for XML. The World Wide Web Consortium (W3C) published XML Schema Part 1: Structures Second Edition and XML Schema Part 2: Datatypes Second Edition as recommendations in 2004. W3C XML Schema Definition Language (XSD) 1.1 Part 1: Structures and W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes were… Continue reading Flare and Schemas (part 1)

Use XQuery with Flare Files

XQuery is another XML query language. XQuery uses XPath expressions, so XPath 2.0 is included with XQuery 1.0. The World Wide Web Consortium (W3C) published XQuery 1.0: An XML Query Language as recommendation in 2007 and edited to XQuery 1.0: An XML Query Language (Second Edition) in 2010. The W3C recommendation is posted at: http://www.w3.org/TR/xquery/… Continue reading Use XQuery with Flare Files

Use XPath with Flare Files

XPath is a node query language for XML. The World Wide Web Consortium (W3C) published XML Path Language (XPath) Version 1.0 as recommendation in 1999. XML Path Language (XPath) 2.0 was recommended in 2007 and edited to XML Path Language (XPath) 2.0 (Second Edition) in 2010. The W3C recommendations are posted at: http://www.w3.org/TR/xpath/ http://www.w3.org/TR/xpath20/ To… Continue reading Use XPath with Flare Files

Flare Topics (part 1)

Topics in a Flare project are XML files. Here is the markup for a basic topic file in a Flare project: <?xml version=”1.0″ encoding=”utf-8″?> <html xmlns:MadCap=”http://www.madcapsoftware.com/Schemas/MadCap.xsd”> <head> <link href=”Resources/Stylesheets/FlareAutomationBookStyles.css” rel=”stylesheet” type=”text/css” /> </head> <body> <h1>Topic Title</h1> <p>Delete this text and replace it with your own content.</p> </body> </html> The first line is called the XML… Continue reading Flare Topics (part 1)