XML Guru?

Status
Please reply by conversation.

AcWxRadar

SatelliteGuys Pro
Original poster
Apr 26, 2006
4,575
4
40 miles NW of Omaha. Omaha?
I would like to try a project using an XML generator (for my AZBox) but I am having no luck yet. There appears to be some compatibility issues, at the very least.

I posted here in the main FTA area, as my question is more akin to working with XML files and generators then the AZBox itself.

Is there an XML Guru in the house?

What are the differences in the online satellite XML generators? i.e. the encoding type... iso-8859-1 vs utf-8? etc. Any other specifics you can muster would be excellent.

Below are my AZBox specific troubles for reference:

If I visit the site SatBeams.com and go to Downloads, I can select specific regions of the globe to download the satellite data information in XML format.
The XML listing appears as shown below (just a snap shot of a portion of the list).

<?xml version="1.0" encoding="utf-8" ?>
- <!-- SatBeams - Home
-->
- <satellites>
- <sat name="AMC 8 (139W) C" flags="1" position="-1390">
<transponder frequency="4056000" symbol_rate="13250000" polarization="0" fec_inner="3" system="0" modulation="0" />
</sat>
- <sat name="AMC 7 (137W) C" flags="1" position="-1370">
<transponder frequency="3760000" symbol_rate="25195000" polarization="0" fec_inner="3" system="0" modulation="0" />
<transponder frequency="4060000" symbol_rate="26665000" polarization="1" fec_inner="3" system="0" modulation="0" />
<transponder frequency="4100000" symbol_rate="6500000" polarization="1" fec_inner="3" system="0" modulation="0" />
<transponder frequency="4199000" symbol_rate="29127000" polarization="0" fec_inner="0" system="1" modulation="0" />


If I attempt to use AZBoxEdit v 0.9.2880a to “import from satellites.xml” I receive an error:

Run Time Error ‘5’
Invalid Procedure Call or Argument

Then, when I click on OK, the editor program closes.

Is there a method to convert this XML file (version 1.0, encoding utf-8) to an acceptable format or to the antenna_list.dat and DVBS.dat files for use with the AZBox through AZBoxEdit v 0.9.2880a?


Please note, when I attempt this with the online satellites.xml generator (eu) as opposed to “SatBeams”, the list appears as indicated below. Note the encoding is iso-8859-1. When I try the same procedure as in my previous post using this XML file, absolutely nothing happens. It just sits there with a blank stare. No errors, just no response.


<?xml version="1.0" encoding="iso-8859-1" ?>
- <!--

file generated on tuesday, 25th of january 2011, 18:01:35 [GMT]
by online satellites.xml generator @ satellites.xml generator / transponder .ini generator
please let us know if you find any inconsistencies in this file
-->
- <satellites>
- <sat name="NSS 9 (177.0W)" flags="0" position="-1770">
<transponder frequency="3762000" symbol_rate="22000000" polarization="1" fec_inner="0" system="1" modulation="1" />
<transponder frequency="3792000" symbol_rate="2048000" polarization="1" fec_inner="2" system="1" modulation="1" />
<transponder frequency="3922000" symbol_rate="2895000" polarization="1" fec_inner="0" system="0" modulation="1" />
<transponder frequency="4104000" symbol_rate="6050000" polarization="1" fec_inner="2" system="1" modulation="1" />
<transponder frequency="4177000" symbol_rate="2960000" polarization="1" fec_inner="2" system="0" modulation="1" />
<transponder frequency="4185000" symbol_rate="6527000" polarization="1" fec_inner="1" system="0" modulation="1" />
</sat>
- <sat name="AMC 8 (139.0W)" flags="0" position="-1390">
<transponder frequency="4056000" symbol_rate="13250000" polarization="0" fec_inner="3" system="0" modulation="1" />


Any notions from those of you who have worked with XML files for your systems?

Thanks,

RADAR
 
I haven't found a good program that will edit/output a satellite.xml file so I'd love to see your project work. Only option I've found thus far is satellites.xml generator / transponder .ini generator as you noted above. Not sure this is the answer you are looking for but to manually edit my satellite.xml file I actually use the editor built into Maz3, just click on the FTP section, left mouse click on file to edit, right mouse click and select edit, file will open, make changes and then save. Other programs like Ultraedit will work but this is free.
 
Status
Please reply by conversation.

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Who Read This Thread (Total Members: 1)

Top