<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Sep 30, 2008 at 11:32 AM, Josiah Bryan <span dir="ltr"><<a href="mailto:jbryan@productiveconcepts.com">jbryan@productiveconcepts.com</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;">
Hey All -<br>
<br>
Per a discussion earlier, I've setup a small cron job on one of my<br>
servers that automatically updates <a href="http://voip-info.org" target="_blank">voip-info.org</a> wiki with the latest<br>
and greatest Asterisk Documentation, straight from svn (specifically,<br>
the /branches/$version/doc folder for each version.) The files are<br>
located under 'Asterisk Documentation' on <a href="http://voip-info.org" target="_blank">voip-info.org</a>:<br>
<br>
Link to the index page:<br>
<br>
<a href="http://www.voip-info.org/wiki/view/Asterisk+Documentation" target="_blank">http://www.voip-info.org/wiki/view/Asterisk+Documentation</a><br>
<br>
<br>
It currently polls the following Asterisk branches from subversion:<br>
* 1.2<br>
* 1.4<br>
* 1.6.0<br>
* 1.6.1<br>
<br>
---------------------------------------<br>
Let me know what you think. If anyone has any questions or comments,<br>
please do let me know. Oh, and many thanks to James Thompson of<br>
<a href="http://voip-info.org" target="_blank">voip-info.org</a> for his quick response to my questions about an API for<br>
updating pages. His help was invaluable.<br>
<br>
---------------------------------------<br>
Technical Specifics about the Cron Job:<br>
---------------------------------------<br>
<br>
The cron job runs daily (about 4am EST) and does an 'svn update' for<br>
each version's 'doc' folder. If there are any changes, the job uploads<br>
ONLY the 'text/plain' files in the folder to the wiki (prefixing the<br>
pages with 'Asterisk Documentation '+$version+' '+$filename, so<br>
/branches/1.6.1/doc/callfiles.txt becomes 'Asterisk Documentation 1.6.1<br>
callfiles.txt':<br>
<a href="http://www.voip-info.org/wiki/view/Asterisk+Documentation+1.6.1+callfiles.txt" target="_blank">http://www.voip-info.org/wiki/view/Asterisk+Documentation+1.6.1+callfiles.txt</a><br>
<br>
Note that right now, the files are just passed straight to the wiki and<br>
quoted in a '~pp~' block (essentially, a <pre> block) - formatting can<br>
be applied later if requested - and if presented with a reliable<br>
formatting algorithm.<br>
<br>
Let me know what you all think. Cheers!<br>
-josiah<br>
<br>
--<br>
Josiah Bryan<br>
IT Manager<br>
Productive Concepts, Inc.<br>
<a href="mailto:jbryan@productiveconcepts.com">jbryan@productiveconcepts.com</a><br>
(765) 964-6009, ext. 224<br>
<br>
</blockquote><div><br>Coolness. I will check it out. Seems like something that should have been done ages ago.<br></div></div><br>-- <br>Thanks,<br>Steve Totaro<br>1.888.777.1888<br>1.240.938.1212 (cell)<br>
</div>