Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Embedding as an image #8
Design and implement the ability to embed datasets or even search results in the form of an image, performing the output rendering server side. An SVG is probably the easier format, with a library like SVG.js or Python's svgwrite. This will make more sense in a dedicated project if we cannot reuse the code here.
A sketch of three possible views (full size/ popup mode, badge, sparkline) has been made at https://wireframe.cc/d7Ipo6
Justification: several potential users have been blocked from implementing this widget by CMS restrictions. Plus, it is clear that for some sites the external scripts - even when CDN'ed - pose a potential performance or security risk. And IFRAMEs are less desirable for accessibility reasons.