Fetching contributors…
Cannot retrieve contributors at this time
30 lines (19 sloc) 1.01 KB

Embedding widgets


If you have a site or a blog that mentions MKs name you need to add only one line to your template to get a popup with the latest oknesset data for all the MKs mentioned ona page. Just before the </body> tag at the bottom of the template add the line:

.. code-block:: html
<script type="text/javascript" src="//"></script> <script> generateMkFrameSet('article'); </script>

replace article with a text element id. To see a demo of a page using the member widget visit

To embed a single Knesset member's card, use:

<iframe width="400" height="186" scrolling="no" style="border:0" src="[member_id]/embed/"></iframe>

Replace member_id with the id of the member from the url, e.g:

You can get the embedding code for the member's page. For example visit, and click the "עמבד" button.