Insert the following code on your page, in the place where you want to have the calendar. With some blogs, or content managment systems, you may need to enable the use of HTML code in the site settings.
<script type="text/javascript" src="http://apneabase.org/rankcaljs.html"></script>
You can adjust the width of the calendar in this way:
<div style="width:350px"><script type="text/javascript" src="http://apneabase.org/rankcaljs.html"></script></div>
By default, the calendar displays with utf-8 character encoding. If some international characters in the calendar do not display correctly, you can convert the output to another charater set (should be the same one your pages use) in this way:
<div style="width:350px"> <script type="text/javascript" src="http://apneabase.org/rankcaljs.html?charset=windows-1250"></script> </div>
When you want to display competitions of only one federation, add the code in the way shown in the two examples below. Use AIDA for AIDA copetitions, FFE for FESSSM competitions, and FIPS for FIPSAS competitions.
<div style="width:350px"> <script type="text/javascript" src="http://apneabase.org/rankcaljs.html?charset=windows-1250&fede=AIDA"></script> </div>
<div style="width:350px"> <script type="text/javascript" src="http://apneabase.org/rankcaljs.html?fede=FFE"></script> </div>
And you can also specify the language of the interface - currently there are three languages available: English (EN), French (FR), and Czech (CZ). Have a look at some examples.
<div style="width:500px"> <script type="text/javascript" src="http://apneabase.org/rankcaljs.html?lang=CZ"></script> </div>
<div style="width:440px"> <script type="text/javascript" src="http://apneabase.org/rankcaljs.html?charset=iso-88591&fede=FFE&lang=FR"></script> </div>
Another possibility is using the tag IFRAME, which works also with browsers not supporting Javascript. When using IFRAME you also do not need to care about the character set, since the inserted frame will be displayed always correctly suing the UTF-8 encoding. See some examples of use below:
<iframe src="http://apneabase.org/rankcalex.html?" width="440" height="290" scrolling="no" frameborder="0" style="overflow:hidden"> <script type="text/javascript" src="http://apneabase.org/rankcaljs.html?fede=FFE"> </iframe><
Again, you can filter the output for specified federation competition in the same way as mentioned above, and define the language. And you can change the size and appearance of the iframe box by modifying the parameters within the tag. Changing the character set is not necessary when using iframe.
This opiton is reserved for developers who code their pages in languages like for example the PHP. When using the raw output, they can import and display the HTML code of the competition calendar without the need to resort neither to IFRAME nor to Javascript, which is certainly the best and most compatible solution. In PHP the function include() can be used for importing the data. The URL is as follows, and again, the output can in one of the three available languages, can be filtered by federation, or converted to another character set, in the same way as mentioned previously.
http://apneabase.org/rankcalraw.html