Loading...
 
Skip to main content

Converting dynamic JavaScript content into static assets

One working solution is to use Browser Automation to generate static content from dynamic content. This has multiple uses such as for:

This works in Tiki21 for Diagram and is easy to deploy all over Tiki.


This is to brainstorm on how to handle images generated via JavaScript in mPDF. It is possible to generate server-side graphs from table data with JPGraph: http://mpdf1.com/manual/index.php?tid=364 However, the trend is to use JavaScript to generate fancy charts, with http://d3js.org/ offering a fantastic amount of possibilities.

Even if some things can't ultimately be done by mPDF, we should have some community solutions using other software. Having static images (ex.: png) is useful for inclusion in PDFs but also to send via email.

Examples of images to print


Running JavaScript server-side in PHP


About MathJAX support


About screen capture



Related links about the topic

alias