acikeczanevarmi.com

Put the on-duty pharmacy list on your site

Free for news sites, universities, municipalities and directories. Pick a region below and paste the snippet into your page. The list is refreshed automatically every day from the Cyprus Turkish Pharmacists Association’s published roster; there is nothing for you to maintain.

Accent colour#1550a8

The snippet

<iframe id="eczane-widget-kktc" src="https://acikeczanevarmi.com/embed/kktc"
        title="KKTC nöbetçi eczaneler"
        style="width:100%;height:420px;border:0"></iframe>
<p><a href="https://acikeczanevarmi.com">Kaynak: acikeczanevarmi.com</a></p>

Paste this where you want the list to appear: inside the article body, in a sidebar, or on your own on-duty page. In WordPress use a “Custom HTML” block; in other systems any HTML/code field will do. Paste both lines together; the credit line belongs right under the frame.

Turn on if the widget sits low on the page; leave it off when it is visible on the first screen, or the list arrives late.

Preview

If you want the height to adjust itself

The widget takes up as much room as its contents. A fixed height works fine, but add these lines to your page once and every widget sizes itself. With several on one page, each takes only its own height:

<script>
addEventListener('message',function(e){
  if(e.origin!=='https://acikeczanevarmi.com'||!e.data||!e.data.acikeczanevarmi)return;
  var f=null,all=document.getElementsByTagName('iframe');
  for(var i=0;i<all.length;i++)if(all[i].contentWindowe.source){fall[i];break}
  if(!f)fdocument.getElementById('eczane-widget');
  if(f)f.style.heighte.data.height+'px';
});
</script>

Why is the credit line part of the snippet?

It is the one thing we ask: keep the credit link under the frame visible on your page. The widget is free, and in return we would like your readers to be able to reach the full list and the map. The link goes to the page for the region you chose. Keeping the credit link is a condition of use.

Performance

The widget’s HTML is about 5–7 KB compressed (depending on the region; measured 2 Sep 2026). Alongside it come roughly 105 KB of compressed scripts; they load async, are cached by the browser, and are fetched once for all the widgets on a page. No web font, no cookie, no third-party request.

Everything runs inside the iframe. Its scripts do not block your page’s JavaScript, its DOM parsing or its main thread; even if the widget is slow, your page does not wait for it. If it sits low on the page, the “load when scrolled into view” option above defers the request entirely.

What happens in a data outage?

The list is fetched regularly from the Cyprus Turkish Pharmacists Association (KTEB) and stored on our side. If KTEB cannot be reached, the widget keeps showing the last confirmed list and stamps it with “Son güncelleme: DD.MM.YYYY HH:MM” (last update). Stale data is never shown silently: no stamp means the list is current; a stamp tells your reader when it was last confirmed.

The same stamp appears when the last sync is more than 12 hours old or the day’s list has not arrived yet. If our own server does not respond, the iframe shows a one-line “could not load” note; your page gets no error, no empty box and no broken layout.

Details specific to Northern Cyprus

  • On-call indication: some pharmacies are open until a set hour, after which the pharmacist is reachable by phone (KTEB publishes this as “On-Call”). The widget shows both the opening hours and the on-call window as KTEB prints them, so a reader knows to call rather than walk to a closed door.
  • Summer and winter hours: duty hours change with the season, and KTEB publishes each day’s hours separately. The widget assumes no fixed hours; it shows whatever that day’s roster says, so nothing on your side changes at the seasonal switch.
  • Sub-regions: KTEB splits Mesarya into “Üst Mesarya” and “Alt Mesarya”. Both having a pharmacy on duty the same night is rare, so the widget folds them into one “Mesarya” list. The duty day rolls over at 08:00; after midnight the previous day’s list is still shown, because that duty runs until then.

Terms

  • Free, and it will stay free. No adverts, no cookies, no tracking of your visitors.
  • The data comes from the Cyprus Turkish Pharmacists Association’s official roster. We do not produce it; we pass it on as published.
  • The credit link must stay visible on the page.
  • If something breaks, or you want a different look, write to us from the contact page — we usually reply within a few days.