FAR v5 introduces support for editing MS Help 3 meta tags.
See Blog Post - http://weblog.helpware.net/?p=269
Below are screen shots of FAR HTML v5 Beta (build 698). A work in progress.
Tag Editor Window - Here you can Find and Edit various types of tags.
HTML topic files, the source of the tags, are listed in the FAR file list (main window).
Lay the FAR main window and the Tag Editor window side by side.
Tag Editor Window
> Edit Tags page > Delete Select Tags - Select one or more tags and click Delete. Tags are deleted from their files.
> Edit Tags page > Rename Select Tags - Enter the new tag and click Rename. Selected tags are renamed.
As you can see FAR offers templates for renaming.
Insert Tags - This command works on just select files (tag list not required).
More FAR smarts:
The tricky part is manipulating all those topic meta tags to form the required TOC, Index and F1 Keywords.
FAR TOC & Index Editor to the rescue.
Open the TOC & Index Editor
See the new Help 3.x Import and Export commands in the File Menu, and also in the new "Help 3" page tab.
Here is the FAR help TOC file (in .HxT file format)
Notice in the FAR main window (behind) I have listed all the HTML topic files for my project.
This is important as Import & Export must load and save Meta Tags from/top these files.
Preparation for Export
Before Exporting I've done 2 small adjustments to my .HxT TOC file.
You will be asked to select the type of H3 Meta Tag to write.
I've select a v2 TOC (which is the proposed TocInfo() tag which can exist muliple times in a HTML file)
H3 Help IDs
At this stage FAR detects Help ID meta tags are missing from my HTML files.
Help ID is a required tag (and TOC and Index are built from these tags).
I'll just click Yes to continue and let FAR fix the problem automatically.
FAR generates a unique Help ID for each document using a GUID (like Microsoft does).
Next Export finds a few more problems that I need to fix (or ignore).
Results of Export
Export takes just a few seconds.
If we view the source of the home page, we see the H3 TocInfo meta tag.
-- Format: <meta name="Microsoft.help.TocInfo" content="ParentID | TocOrder | ProductID | Version" >
Hope you've enjoyed this peak into FAR HTML v5 Beta (build 698).
Please keep an eye on my Blog or Tweets to keep up to date with all Help 3 news.