Embedding external sites using other methods
Using screenshot service
If the webpage does not have any interaction or is otherwise a simple series of static pages we would suggest taking screenshots of the pages and using the SCREENSHOT
data source type.
tip
Using this method has the advantage to showcase external pages even on low-end or weak devices, or devices that can not use our traditional HTML based displayer, such as eInk devices.
- In
Settings
>Data sources
>External data sources
select theSCREENSHOT
type - Set the
Name
of the data source - Set the
Refresh frequency
. TheRefresh Frequency
is the frequency on how often the data source will try to refresh itself
Please note
Refresh Frequency
is not the same as the Wait time
of the screenshot in the Screenshot
section
- Fill out the parameters of the
Screenshot(s)
URL
from which the screenshot will be created- The generated image's
width
andheight
Wait time (ms)
where the service will wait for the amount of time specified to take the screenshotHeaders
is an optional field referring to HTML headers
Please note
You can have multiple screenshots even from different sites in one data source.
- When the service runs it will create screenshot(s) of the page(s) and it will give back a JSON list of the created images' path and a status of the creation process.
{
"screenshots": [
{
"imagePath": "https://beta.wallboard.info/api/storage/screenshots/cf064d75072b4c89af76532a645d1098.jpg",
"status": "SUCCESS"
},
{
"imagePath": "https://beta.wallboard.info/api/storage/screenshots/eefdef65ef6a44d5816fa549c277b00f.jpg",
"status": "SUCCESS"
}
]
}
- It can be referenced via the data source picker of a widget. We will include the databinding of Image widget as an example
Using pdf widget
If the webpage does not have any interaction or is otherwise a simple series of static pages there is also the option to download the pages as pdf.
- In most browsers if you press
CTRL+P
this will bring up thePrint modal
of the browser
- You can then save this pdf and upload it into our
File manager
- You can utilize PDF widget or Gallery widget with PDF settings to show the file inside content