I'd like to create an "About" topic with each of my help systems that gives the date is was compiled and some version number that gets incremented at each compile (or that at least is unique to the compile).
Is there a built-in way of doing this in Flare? If the version number part isn't built-in, I'd settle for just the date. (The help systems are deployed to several servers, and this would give a way of verifying that the same version is on each server.
Thanks,
- Willie
Capturing compile version # and date
-
williamgwilliams
- Propeller Head
- Posts: 72
- Joined: Sun May 03, 2009 12:45 pm
Re: Capturing compile version # and date
You can easily insert the date; select Insert > Variable, then select System and LongDate / ShortDate.
You can set up a variable for your version number, which you could manually increment for each build; but I'm not sure how you'd increment it automatically.
You can set up a variable for your version number, which you could manually increment for each build; but I'm not sure how you'd increment it automatically.
-
williamgwilliams
- Propeller Head
- Posts: 72
- Joined: Sun May 03, 2009 12:45 pm
Re: Capturing compile version # and date
Thanks very much, Dave.
-
TheGreatAndPowerfulOz
- Sr. Propeller Head
- Posts: 131
- Joined: Mon Apr 24, 2006 12:52 pm
- Location: Glen Mills, PA
Re: Capturing compile version # and date
I know this is an old post, but maybe someone's still keeping an eye on it.
I use the following code in an "about.htm" page for my project. It works great, and it's completely hands-off (i.e., no manual updates required)!
The result looks like the following (I cause the "about.htm" page to pop up using Shadowbox, and I've dressed it up a bit with the icon):
Hope this helps someone!
I use the following code in an "about.htm" page for my project. It works great, and it's completely hands-off (i.e., no manual updates required)!
Code: Select all
<p>My great online Help system</p>
<p style="margin-top: 2.00em;">Build date / time:</p>
<p>
<MadCap:variable name="System.ShortDate" />
<br />
<MadCap:variable name="System.LongTime" />
</p>Hope this helps someone!
You do not have the required permissions to view the files attached to this post.
Austin Wright
Flare 2022 r3 (18.2.8431.26678) :: TopNav HTML5 / PDF output
Flare 2022 r3 (18.2.8431.26678) :: TopNav HTML5 / PDF output