[commits] [Wiki] created: Doc/Dev/HelpH5

Michael Slusarz slusarz at horde.org
Mon Oct 22 19:00:40 UTC 2012


slusarz  Mon, 22 Oct 2012 13:00:40 -0600

Created page: http://wiki.horde.org/Doc/Dev/HelpH5

+ Help File Format

[[toc]]

This document is intended to help developers create/edit an  
application's help file.

++ Help File Location

The help file is located in an application's locale directory at this  
location:

<code>
locale/xx_XX/help.xml
</code>

Where xx_XX is the locale (country and language code), e.g. en_GB or es_ES.

The master help file is in English and is located at:

<code>
locale/en/help.xml
</code>

++ Help File Translation

See ((Doc/Dev/TranslationH4)).

++ Help File Format

The help file has the following format:

<code lang="xml">
<?xml version='1.0'?>
<help>
   <entry id="[id]">
     <title>Title</title>
     [Entry content (see below)]
   </entry>

   ...

   <view id="[view]">
     <entry>
       ...
     </entry>
     ...
   </view>
</help>
</code>

Help structure tags are as follows:

||~ Tag ||~ Description ||
|| help || Defines the help data. All other tags must live under this tag. ||
|| entry || Defines a help entry. The 'id' attribute is a unique (by  
application) identifier to this entry. Entries living directly under  
<help> are shown in all views. ||
|| title || The title of the entry. Displayed in the help topics tree  
to allow a user to quickly browse for the entry. ||
|| view || Defines entries only shown in this view. Children are  
<entry> elements. The 'id' attribute identifies the view in which to  
show these entries (currently: {{basic}} and {{dynamic}}). ||



More information about the commits mailing list