Hacker News new | ask | show | jobs
by amarcus 3007 days ago
We do it via a one-line javascript snippet.

eg: <script src="//example.com/blah/widget.js?id=xxxxxx"></script>

widget.js is a server side script that creates the widget and echo's it out. Many ways of doing this and the easiest is a bunch of document.write()'s for the html