Wednesday, October 14, 2015

Display HTML content from a URL within OpenRefine using IFRAMES

OpenRefine has a powerful feature with its Custom Tabular Exporter.

Which can be used to fetch and preview URLs to review their HTML content in your web browser.  Handy for doing small reconciling tasks at times. :)

1. Create an empty <iframe> element with the src URL as shown (you can also add any iframe attribute options you need like width, height, etc - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe ):



 2. Choose EXPORT --> Custom Tabular Exporter and select the URL column(s) and any others you may wish to view alongside the HTML content:



3. Choose Download tab and select HTML Table and then click Preview button.  This should launch another browser tab window.




4. The HTML Table is rendered with the iframe content being fetched as shown:





1 comment: