<div dir="auto">Nice work, Hessu!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 24, 2019, 16:46 Heikki Hannikainen <<a href="mailto:hessu@hes.iki.fi">hessu@hes.iki.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
<br>
I'm sorry, Bob, but that is not an useful XML format. Each element would <br>
have to be enclosed in tags, something like this (not a pretty-printed <br>
version, sorry):<br>
<br>
<a href="https://raw.githubusercontent.com/hessu/aprs-deviceid/master/generated/tocalls.xml" rel="noreferrer noreferrer" target="_blank">https://raw.githubusercontent.com/hessu/aprs-deviceid/master/generated/tocalls.xml</a><br>
<br>
This has probably been forgotten about, but I've formatted tocalls.txt <br>
contents (along with mic-e type code data) to YAML which is <br>
machine-readable *and* nicer to edit by hand than XML:<br>
<br>
<a href="https://github.com/hessu/aprs-deviceid/blob/master/tocalls.yaml" rel="noreferrer noreferrer" target="_blank">https://github.com/hessu/aprs-deviceid/blob/master/tocalls.yaml</a><br>
<a href="https://github.com/hessu/aprs-deviceid" rel="noreferrer noreferrer" target="_blank">https://github.com/hessu/aprs-deviceid</a><br>
<br>
and also provided a converter script which converts that to both XML *and* <br>
JSON which is a bit more popular than XML in most developer circles these <br>
days. It also validates that the files are parseable.<br>
<br>
<a href="https://github.com/hessu/aprs-deviceid/tree/master/generated" rel="noreferrer noreferrer" target="_blank">https://github.com/hessu/aprs-deviceid/tree/master/generated</a><br>
<br>
This is what <a href="http://aprs.fi" rel="noreferrer noreferrer" target="_blank">aprs.fi</a> (and probably some other apps) are using now as a <br>
machine-readable format.<br>
<br>
<br>
On Wed, 24 Jul 2019, Robert Bruninga wrote:<br>
<br>
> Paul Dufresne VE3OTB has urged me to convert the TOCALLS.TXT file to<br>
> something readable in XML so that APRS developers can automatically read<br>
> the file. It does not have all the header stuff, but should work?<br>
><br>
> <a href="http://aprs.org/aprs11/tocalls.txt" rel="noreferrer noreferrer" target="_blank">http://aprs.org/aprs11/tocalls.txt</a><br>
><br>
> He noticed that APRS.fi is working from an old tocalls file.<br>
> He figures he is not the only one that would benefit.<br>
> And I think Lynn has had similar frustrations.<br>
><br>
> Bob<br>
><br>
> _______________________________________________<br>
> aprssig mailing list<br>
> <a href="mailto:aprssig@lists.tapr.org" target="_blank" rel="noreferrer">aprssig@lists.tapr.org</a><br>
> <a href="http://lists.tapr.org/mailman/listinfo/aprssig_lists.tapr.org" rel="noreferrer noreferrer" target="_blank">http://lists.tapr.org/mailman/listinfo/aprssig_lists.tapr.org</a><br>
><br>
<br>
- Hessu<br>
<br>
<br>
_______________________________________________<br>
aprssig mailing list<br>
<a href="mailto:aprssig@lists.tapr.org" target="_blank" rel="noreferrer">aprssig@lists.tapr.org</a><br>
<a href="http://lists.tapr.org/mailman/listinfo/aprssig_lists.tapr.org" rel="noreferrer noreferrer" target="_blank">http://lists.tapr.org/mailman/listinfo/aprssig_lists.tapr.org</a><br>
</blockquote></div>