Course Element "External Page"
Profile
| Name | External page |
|---|---|
| Icon | |
| Available since | New edition with release 18 |
| Functional group | Other |
| Purpose | Display external web content within an OpenOlat course and integration in the course navigation |
| Assessable | no |
| Specialty / Note | Administrators switch the course element on in the system administration. frentix does not recommend its use. |
With the course element "External page" you show a web page in your course and add it to the course navigation. You enter the address in the configuration in the tab "Page content". Three displays are available:
- "Embedded (source hidden)"
- "Embedded (source visible)"
- "New browser window (source visible)"
For pages that require authentication and whose source is hidden, you can activate "Page password controlled" and enter the required access data.
Typical use cases are pages containing database queries, for example a literature research tool or online exercises from the web. The course element embeds external pages via the protocols HTTP and HTTPS.
frentix recommends keeping domains separate
The course element "External Page" displays content of a foreign domain inside your OpenOlat domain. Based on modern security considerations, frentix recommends not to mix different domains and therefore advises against the use of this course element.
A domain is the internet address under which a page is delivered: your OpenOlat instance runs under its own address, the embedded page under a different one.
This course element does not use a separate address for content (content domain), even if one is set up: it displays the foreign page directly or via the main address of your OpenOlat instance.
Instead, refer to the page with the Link list. Administrators switch the course element "External page" on in the system administration: Administration > Modules > External page. More about this in the administration manual under Module External page.
Tab "Page content" configuration
In the tab "Page content" you define which page the course element shows and how it presents the page to your participants.
URL
In the mandatory field "URL" you indicate the web page on which the desired external content can be found, in the format https://www.server.com/page.html.
Configure display
For the display, you choose one of three options:
-
Embedded (source hidden): OpenOlat calls up the external page and displays it in a so-called «iframe» in the course window. The external page's Internet address is not visible to participants. For the page to be displayed completely this way, the embedded HTML pages may only address resources such as images, videos or links with relative paths such as "images/photo.png". Content behind absolute paths such as "https://..." or behind paths that start with a slash, such as "/public", is loaded by the participants' browser directly from the external page; its address becomes visible in the process.
When you save, OpenOlat calls the address as a test. If OpenOlat cannot reach the page, the message "Unreachable URL" appears at the "URL" field. The cause is either a page that does not respond, or an address in the local network that the "SSRF mitigation" protection of the system administration rejects. If the protection only rejects the address when the page is called up in the course, the course element shows only "Error" instead of the page. An address from the local network can only be allowed through an exception in the server configuration, see Security. -
Embedded (source visible): The participants' browser calls up the external page directly and also displays it in an «iframe». Whoever looks at the source code of the OpenOlat page finds the external page's Internet address in it. OpenOlat does not call the address when you save.
-
New browser window (source visible): The course element displays a button that opens the external page in a new browser window. OpenOlat does not call the address when you save.
Embedded frames («iframe») resemble single browser windows, however, they are part of the initial window's HTML page.
Advantage of using an «iframe»: you can show any content in OpenOlat (e.g. complex web pages in nested frames, mathML etc.).
Disadvantage of using an «iframe»: your content might appear along with its own scroll bar.
Choose the variant by display and risk
The three variants do not only differ in how the page is displayed. With "Embedded (source hidden)" OpenOlat calls up the page. The external page only receives data about your participants if administrators have allowed the sharing of user data. In that case OpenOlat transmits username, email, first name, last name and IP address of the person who calls up the page. With the other two variants the participants' browser connects directly to the external page, which receives the participants' IP address in the process. Weigh display and risk against each other and test the display options one after the other until the linked page is displayed as desired.
Page password controlled
This option is only available with the display "Embedded (source hidden)". It suits pages whose web server requires a login via the browser when the page is called up (basic authentication). If you switch the option on, the fields "Username" and "Password" appear. OpenOlat logs in to the web server of the external page with this access data on every call. The access data applies to all participants jointly. It is stored unencrypted in the configuration of the course element and is therefore contained in every course copy and every course export. Do not enter personal access data here.
Further information
Mentioned on this page
Content domain >
Course Element "Link list" >
Module External page >
Security >
Further reading
Course Element "HTML page" >
Course Element "LTI Page" >