12 Sep 2007, 4:48pm
Cayri
by Dan Schultz


Embedding Cayri on Your Website

Lately I’ve been getting emails from people asking me if they can embed Cayri on their virtual airline’s website. So I think it’s about time to post a small tutorial on how to do this. The simplest way to do it is by using an IFRAME tag with HTML. Just stick the following code in any HTML page, and Cayri will show up on your website:

1
<iframe src="http://www.cayri.org/?network=vatsim" frameborder="0" height="500" width="700"></iframe>

If you would like to show IVAO traffic instead of VATSIM traffic, you’ll need to replace ?network=vatsim with ?network=ivao in the src attribute.

Cools stuff. Just embedded it into my site. Keep em coming !

hello!
nice job on this map, i’m in a process of creating a VA and i would like to know if it is possible to show only the aircrafts of my VA by default on the map, and how it is done.
thanks
Valter

What a nice piece of software. I love it. However, I would love to be able to display out own network data as opposed to Vatsim and Ivao. We use a similar protocol with the whazzup interface.

Is it possible to just show our own data and not have a choice for others like Vatsim. I would really like to know if it can be done at all.
Regards
John

@Valter: You can’t do it yet, but it’s not hard for me to add that functionality in. Hopefully this summer, I’ll be able to devote some more time to Cayri.

@John: Very interesting feature request :-). I’m not sure how easy this would be, since the most recent data for IVAO and VATSIM are stored in a database. However, what are you wanting to display on the map? Is it just aircraft from your VA, or is it ATC too?

Hi, thanks for prompt response.
I wouild like to display all players connected to our server (aircraft and ATC’s) At the moment we use servinfo as the reporter, which accesses our whazzup.txt file which is updated from our database. The problem with servinfo is that its not an “on site” program as each member has to install it on his PC.
You may know that Vatsim and Ivao do use Servinfo as well, but I must admit I would prefer a site based interactive display. I believe it could be done with google maps but I would not know where to start. Thanks anyway.
John

Hi nice job I would like to add our web site it is joomla how can I do.Thanks.

Nedim: I’ve never used Joomla, so it’s hard for me to say how to do this. However, I’m sure there’s a way to insert your own HTML code in Joomla. You’ll need to look at their documentation on how to do this. Once you find out how, just insert the code above.

Purely beautiful!!! I would also benefit from a callsign “limit”. maybe it could be put in the url for the iFrame, so the src would read, http://www.cayri.org/?network=vatsim&limit=CALLSIGN HERE

Then in program add (something to the lines of) if(isset(limit)) ONLY DISPLAY FLIGHTS CONTAINING limit VALUE

Thats how I would do it (But I am a noob :-) )

None the less, Beautiful!

Hi there!

Excelent work!
I would like to know if it’s allready possible to view only our VA Callsign.

Thanks,

Luís

Hi Luis, at the moment that’s not yet possible. But trust me, it’s on the top of my list! I get at least one request for that feature everyday :-)

Hi Dan, I have just installed this amazing app in my VA website (TAME Virtual - Ecuador) but it looks like there is an error on the code, because it is showing your we bpage instaed of showing the map.

Thanks for this grate VATSIM map.

Bye!

http://www.cayri.org/?network=vatsim , no load . New link ? Best regard

*name

*e-mail

web site

leave a comment