Country Flags and Codes Plugin

About

This is a Helper Plugin with a Country.XML file, Flags and Country Codes, can be used to lookup of country name and flags to access content on internet.
The country.xml can be used in plugins where the location need to be set for the end user.
I used the FIPS-104 code when generation the links to the CIA World Factbook. The CountryName was used for the links to the Anthems music.
If you need a specific country xml file, I can help in generating one from an Excel sheet that I use for generating XML files.

Plugin usage

Press enter on a flag and a web browser will be launched to the CIA World Factbook.
Select Anthem, then flag and the national anthem for that country might be played.

Download and install

This plugin supports Mayhem3 and Blue skin. Run Batch-Installer.exe to install the plugin.
Download:Plugin.Country.zip (12 downloads)

Usage for internet lookup

It is only your fantasy that limits the usage of the XML file.

  • EPG links
  • RSS feeds for News plugin
  • WebCam links for WebCam plugin
  • Radio links
  • TV links
  • PodCast links

XML Format

This is a sample of a node in the XML file.
<Country>

    <Type>Web</Type>
    <CountryName>United Kingdom</CountryName>
    <LocalName>United Kingdom</LocalName>
    <Target>"http://www.navyband.navy.mil/anthems/ANTHEMS/United Kingdom.mp3" </Target>
    <HomeURL>https://www.cia.gov/library/publications/the-world-factbook/geos/uk.html </HomeURL>
    <LargeFlag>United Kingdom.png</LargeFlag>
    <SmallFlag>GB.gif</SmallFlag>
    <FIPS104>UK</FIPS104>
    <ISO3166-2>GB</ISO3166-2>
    <ISO3166-3>GBR</ISO3166-3>
    <Win-3>GBR</Win-3>
    <ISO3166-number>826</ISO3166-number>
    <CountryCode>uk</CountryCode>

</Country>

Sample of small flags with size 32x32


Page last modified on September 10, 2009, at 08:59 PM