Israel Railways Gadget Options.xml

Configuration File

The gadget uses several resources and sends requests to the Web Service (through the proxy server). So, we decided to organize and concentrate all such information in an only file.
This allows us to transport the gadget from host to another, and also when the gadget will pass to Israel Railways for future updates and maintenance it will allow them to update it dynamically without making changes in the source code.

The file's name is Options.xml and it has the following structure:

<?xml version="1.0" encoding="windows-1255" ?>
<Options>
<StationsUrl>url of the proxy that points to the GetStations WS</StationsUrl>
<ScheduleUrl>url of the proxy that points to the GetLuz WS</ScheduleUrl>
<RSSUrl>url of the RSS Feeds of Israel Railways</RSSUrl>
<Pictures>
<Url>url where the pictures reside</Url>
<Handicap>filename</Handicap>
<ParkingPay>filename</ParkingPay>
<ParkingFree>filename</ParkingFree>
<Interchange>filename(arrows)</Interchange>
<PriceChange>filename.gif</PriceChange>
<TripsLoading>filename.gif</TripsLoading>
<Background>filename - background of the search tab</Background>
<DatePicker>filename</DatePicker>
</Pictures>
<StationNames> can you may put the stations which names you want to change
<Station>
<StationId>the id of the stations</StationId>
<StationName>the corrected name of the station</StationName>
</Station>

<Station>
<StationId>the id of the stations</StationId>
<StationName>the corrected name of the station</StationName>
</Station>
</StationNames>
</Options>

Back to Development Details

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License