Hangar catalog: Difference between revisions
m (+-cat: Aircraft → Aircraft enhancement) |
(→Wiki articles: +-link: FlightGear hangars → FlightGear hangars#Third party sites, so that it point to directly to section with some hangars that have an catalog.xml file) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Package Management}} | |||
The default '''hangar catalog''', <code>catalog.xml</code>, is used by the in-sim Aircraft Center to list all the aircraft of the [[FGAddon|official FGAddon FlightGear hangar]]. [[Flightgear hangars#Third party sites|3rd party hangars]] can also provide a catalog URL via their own <code>catalog.xml</code> file. | The default '''hangar catalog''', <code>catalog.xml</code>, is used by the in-sim Aircraft Center to list all the aircraft of the [[FGAddon|official FGAddon FlightGear hangar]]. [[Flightgear hangars#Third party sites|3rd party hangars]] can also provide a catalog URL via their own <code>catalog.xml</code> file. | ||
Line 14: | Line 15: | ||
* [[Aircraft Center]] | * [[Aircraft Center]] | ||
* [[Catalog metadata]] | * [[Catalog metadata]] | ||
* [[FlightGear hangars]] | * [[FlightGear hangars#Third party sites]] - List of third-party hangars, of which some have an <code>catalog.xml</code> file. | ||
=== Mailing list threads === | === Mailing list threads === | ||
Line 25: | Line 26: | ||
* http://fgfs.goneabitbursar.com/official/catalog.xml | * http://fgfs.goneabitbursar.com/official/catalog.xml | ||
[[Category:Aircraft enhancement]] | [[Category:Aircraft enhancement]] | ||
[[Category:FlightGear]] | [[Category:FlightGear]] |
Latest revision as of 12:00, 10 October 2020
Package management |
---|
Background |
Implementation |
Front Ends
|
Related efforts |
The default hangar catalog, catalog.xml
, is used by the in-sim Aircraft Center to list all the aircraft of the official FGAddon FlightGear hangar. 3rd party hangars can also provide a catalog URL via their own catalog.xml
file.
Catalog generation
The catalog.xml
file can be generated using the update-catalog.py Python script. Alongside the script is the fgaddon-catalog/
directory, which is the configuration files used to generate the catalog for the FGAddon official hangar. To generate the FGAddon catalog, as an example, type:
./update-catalog.py fgaddon-catalog
The idea is to create a subdirectory tree for each catalog. This subdirectory can have any name, and it contains the config and administrative files for maintaining the catalog. The config file inside the catalog directory will need to be adjusted for each new hangar. The script builds the content locally which then needs to be uploaded to an appropriate place on a server.
See also
Wiki articles
- Aircraft Center
- Catalog metadata
- FlightGear hangars#Third party sites - List of third-party hangars, of which some have an
catalog.xml
file.
Mailing list threads
- [Flightgear-devel] Testing changes to update_catalog.py (November 2016)
Source code
- flightgear/fgmeta/next/catalog - update_calalog script, templates, etc.