<div dir="ltr">Hello,<br>As discussed on #asterisk-dev, I have added support for <note> and <warning> tags, making a trivial task to add more tags of this type.<br>I call this tags "special_tags", they are of the form (and can be found where a <para> tag can be found):<br>
<tagname><para></para>...</tagname> <br> having as many <para> elements as we want. And when printing this tags we setup in the code the color and how to print it like:<br><br><b>tagname: </b>note<b><br>
init tag: <note></b>NOTE<b>:</note><br>end tag: </b>NULL<br><br>where <note> </note> inside inittag are specified for the colorization mechanism with a color assigned to this tag.<br><br>I have also uploaded appdocsxml.dtd defining the XML schema accepted by the parsing mechanism in the 'doc' directory of the source tree. The XML can be validated using this DTD against the core-en_US.xml already being generated and installed (by default) in /var/lib/asterisk.<br>
<br>Please test this branch and give us feedback to continue development and get this merged into trunk asap! :-)<br><br>Thanks!<br><br>Eliel C. Sardaņons<br>LU1ALY<br><br><div class="gmail_quote">On Wed, Sep 17, 2008 at 6:02 PM, Michiel van Baak <span dir="ltr"><<a href="mailto:michiel@vanbaak.info">michiel@vanbaak.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
<br>
In a previous mail I asked for feedback on our proposal for an XML<br>
format to document applications and functions inside asterisk.<br>
That post gave us a lot of feedback and good ideas.<br>
<br>
bbryant, eliel and me used all this to make this actually happen.<br>
<br>
So here's the state of things as it is now:<br>
The format is pretty matured thanks the feedback from jsmith and<br>
lmadsen.<br>
eliel did a huge job in coding the parsing (with help from bbryant and<br>
me) of the xml format we came up with.<br>
jsmith and me converted some applications and functions into the new<br>
format.<br>
Testing has been done by the persons already mentioned, and some others.<br>
<br>
So, here we are. We have the code in a branch and it's working great (at<br>
least we think)<br>
Now we need feedback from the rest of you !<br>
<br>
So if you have a spare hour please checkout the branch, compile,<br>
install, and run 'core show application <someapp>' and look what<br>
happens.<br>
<br>
The applications that are converted are:<br>
ADSIProg<br>
AlarmReceiver<br>
AMD<br>
Authenticate<br>
NoCDR<br>
ChanIsAvail<br>
ChannelRedirect<br>
Dial<br>
RetryDial<br>
Echo<br>
SendFAX<br>
ReceiveFAX<br>
JACK<br>
MorseCode<br>
Page<br>
SendDTMF<br>
<br>
The functions thate are converted:<br>
SHELL<br>
<br>
Once you have compiled and installed the branch you can find the xml<br>
file in doc/core-en_US.xml<br>
<br>
Please provide us feedback so we can bring this to an asterisk near you<br>
in the near future !<br>
<br>
Branch:<br>
team/group/appdocsxml<br>
<br>
svn command to checkout:<br>
svn co <a href="http://svn.digium.com/svn/asterisk/team/appdocsxml" target="_blank">http://svn.digium.com/svn/asterisk/team/appdocsxml</a><br>
<br>
Thank you.<br>
<br>
--<br>
<br>
Michiel van Baak<br>
michiel@vanbaak.eu<br>
<a href="http://michiel.vanbaak.eu" target="_blank">http://michiel.vanbaak.eu</a><br>
GnuPG key: <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD" target="_blank">http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD</a><br>
<br>
"Why is it drug addicts and computer aficionados are both called users?"<br>
<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Eliel Sardaņons<br>
</div>