News for hackers. Stuff that matters.
Re:Ask HN: Options to Embed page/widget websites other than ... by amarcus on Thursday March 22, 2018 @09:29PM (#16654328)
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