madcap flare for programmersassets.madcapsoftware.com/webinar/presentation... · madcap flare...

32
MADCAP FLARE FOR PROGRAMMERS August 20, 2015 1

Upload: others

Post on 13-Jul-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

MADCAP FLARE FOR PROGRAMMERS

August 20, 2015

1

Page 2: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Thomas Tregner

2

Introductions

Page 3: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Introductions

David Owens

3

Page 4: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Why this book?

4

Page 5: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Who is this book for?

•Programmers

• “Technical” Technical Writers

•Managers

5

Page 6: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Developing with XML

6

Page 7: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

What can you manipulate programmatically?

•Flare Topic XML

•Relationship to CSS

•Standard Element Tags

•MadCap Element Tags

•Links, Cross References, and Bookmarks

•Conditions and Variables

•Snippets

•Proxies

7

Page 8: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Anatomy of a Flare Topic

8

Page 9: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

9

Page 10: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Contents of a Flare Topic

•XHTML Element Tags

•MadCap Element Tags

•Links, Cross References, Bookmarks

•Snippets

•Conditions

•Variables

•Proxies

10

Page 11: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Modifying Topics Programmatically

11

Page 12: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Example – Programmatic Find and Replace

12

Page 13: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Anatomy of a Flare TOC

13

Page 14: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

14

Page 15: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

15

Page 16: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Manipulating TOCs

16

Page 17: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Example – Appending Strings to Each Entry in a TOC

17

Page 18: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

18

Page 19: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Glossaries and Indexes

19

Page 20: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

JavaScript in Flare

20

Page 21: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Document Automation and Batch

21

Page 22: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Potential Operations for Batch Files

•Scheduling post-build processing tasks

•Scheduling parallel builds for outputs with multiple subsystem

•Automating source control actions

•Post-processing PDF output

•Copying the output or the source to an archive

•Copying a different version of a stylesheet into the output

•Copying external files into the project folder structure

•Adjusting the skin CSS beyond what is possible in the Skin Editor

22

Page 23: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Batch File Example – Run madbuild.exe

23

Page 24: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

24

Page 25: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Flare Plug-ins

25

Page 26: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Plug-in Example – Paste in Code Samples

26

Page 27: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

27

•Visual Studio Express (Community)

https://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx

• Flare for Programmers

http://tregner.com/flare-blog/

• LinkedIn Group

https://www.linkedin.com/grp/home?gid=86373

• Forums

https://forums.madcapsoftware.com/

• Resources

http://www.madcapsoftware.com/resources/

Page 28: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

28

Book Page at XML Presshttp://xmlpress.net/2015/06/18/madcap-flare-for-programmers/

Page 29: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

About XML Press

XML Press (xmlpress.net) was founded in 2008 to publish practical and concise books and ebooks for technical writers, managers, content strategists, and content marketers, anyone who supports the development and distribution of technical content.

29

Page 30: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

30

Page 31: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

31

THANK YOU FOR ATTENDING TODAY’S WEBINAR!

As a webinar attendee, receive $100 OFF our next

advanced training course. Just $499 per student!

MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based)

MadCap Flare CSS Training September 15-16, 2015 (web-based)

*Offer valid through Friday, August 28, 2015.

Note: Courses subject to change. Availability based on student registration. Contact us for the latest schedule and course availability.

Page 32: MADCAP FLARE FOR PROGRAMMERSassets.madcapsoftware.com/webinar/Presentation... · MadCap Flare Single Sourcing Training September 8-9, 2015 (web-based) MadCap Flare CSS Training September

Questions?

32