6.1. Externe inhoud

With the help of the external content blocks, you can include RSS feeds, external media or GoogleApps documents etc. into a page.

6.1.1. Externe feed

External feed

Embed an external RSS or ATOM feed, e.g. to display an external blog.

Configure external feed

Configure the external feed block

  1. Block Title: If you leave the title blank, the title of the feed will be taken.
  2. Feed locatie: zet de hele URL van een geldige RSS- of ATOM-feed hier. Als de feed niet getoond wordt, probeer die dan te bekijken in een gewone feed-lezer en verzeker je ervan dat de URL juist is.
  3. Items to show: Decide how many of the latest items in the feed you wish to display. You can choose up to 20.
  4. Show feed items in full?: If you do not select this option, only a heading will be shown for each feed item, e.g. the blog heading of a post. If you select this option, the entire content of the feed item will be shown, e.g. the entire blog post or in case of a flickr RSS feed, the photo and its description.
  5. Click the Save button to accept your changes, or click the Remove button to remove this block from your page.

Notitie

If your feed is not updated automatically, please ask your site administrator to check the cron settings.

6.1.2. External video

External video

Embed an external video from:

Configure external video

Configure the external video block

  1. Block Title: Choose a title for your video.
  2. Video URL: Paste the video embed code or the URL of page where the video is located.
  3. Width and Height: Choose the width and the height for the video.
  4. Click the Save button to accept your changes, or click the Remove button to remove this block from your page.

Notitie

If you use the embed code for a video, you still have to provide the correct width and height for the video although they are already exist in the embed code. Mahara ignores these variables from the embed code.

6.1.3. Google Apps

Google Apps

Embed any of the following content available via Google (Apps):

  • Boeken
  • calenders
  • documenten, rekenbladen, presentaties
  • kaarten

You can only display the content, but not immediately edit documents, spreadsheets or presentations. You will have to be logged in to your Google (Apps) account to do so. You can use this block with a regular, personal Google account or if you have a Google Apps account via an institution, e.g. your school or university.

Notitie

If certain documents are restricted to a Google Apps domain or to specific people, a login screen is displayed.

Configure external feed

Configure the Google Apps block

  1. Block Title: Choose a title for your embedded content.
  2. Embed code or URL: Depending on what kind of content you wish to display, you either provide the embed code or the URL. Click on the help button for more information on how to embed each Google component.
  3. Height: Choose the height for the embedded content. The width is adjusted to the column width of the block automatically.
  4. Click the Save button to accept your changes, or click the Remove button to remove this block from your page.

Google document

  1. Open the Google Docs document.
  2. Click Share and then Publish to the Web (upper right-hand corner) OR if you use the new interface: Click File -> Publish to the web. You do not have to set any sharing options via the Share button in the upper right-hand corner.
  3. Click the Start publishing button.
  4. Copy the document link or embed code.
  5. Paste the link / embed code into the Embed code or URL box in the Google Apps block.

Google spreadsheet

  1. Open the Google Docs spreadsheet.
  2. Click Share and then Publish to the Web (upper right-hand corner) OR if you use the new interface: Click File -> Publish to the web. You do not have to set any sharing options via the Share button in the upper right-hand corner.
  3. Click the Start publishing button.
  4. Copy the link.
  5. Paste the link into the Embed code or URL box in the Google Apps block.

Google presentation

  1. Open the Google Docs document.
  2. Click Share and then Publish to the Web (upper right-hand corner) OR if you use the new interface: Click File -> Publish to the web. You do not have to set any sharing options via the Share button in the upper right-hand corner.
  3. Click the Start publishing button.
  4. Copy the document link or embed code and adjust any of the other settings if you wish.
  5. Paste the link / embed code into the Embed code or URL box in the Google Apps block.

Google collections

  1. In Google Docs click My collections or Collections shared with me (list on left side)
  2. Click and select the collection that you wish to embed -> click Sharing -> Settings OR if you use the new interface: Click on the arrow to the right of the collection name and then on Share -> Share. Alternatively, put a checkmark in front of the collection that you wish to share and go to the More menu item -> Share -> Share.
  3. Change the permissions to Public and save your changes.
  4. Copy the link.
  5. Paste the linke into the Embed code or URL box in the Google Apps block.

Google docs viewer

This functionality works like the preview functionality in Gmail. You can embed the file, which is directly accessible over the Internet. You just have to paste the complete URL (including the filename) on which the file is accessible to the Google Apps block.

If you use the new interface, you must publish the document first: Click File -> Publish to the web. You do not have to set any sharing options via the Share button in the upper right-hand corner.

Google Docs Viewer currently supports embedding of the following file types: PDF, TIFF, PPT, DOC, DOCX.

Notitie

The files you uploaded to Mahara are not directly accessible, so you can’t embed those files.

Google Calendar

  1. Open Google Calendar.
  2. Click on the little triangle next to the calendar that you wish to embed.
  3. Click on the calendar settings.
  4. On the Calendar details tab scroll down to Embed This Calendar.
  5. Customize the calendar appearance and then copy the embed code.
  6. Paste the embed code into the Embed code or URL box in the Google Apps block.

Google Maps

  1. Open Google Maps.
  2. Click My Maps (My Places in the new interface) link on the upper left side.
  3. Click on the name of the map that you wish to embed.
  4. Click Link (the link icon in the new interface) link on the upper right side.
  5. Customize the appearance of the map and copy the embed code.
  6. Paste the embed code into the Embed code or URL box in the Google Apps block.

Notitie

Use steps 2 and 3 only if you wish to embed your Google map. If you wish to embed any Google map, you can skip steps 2 and 3.

Google Books

  1. Open Google Books.
  2. Find the book that you wish to embed.
  3. Click on the book title.
  4. Click on Link on the upper right side.
  5. Copy the embed code of the book.
  6. Paste the embed code into the Embed code or URL box in the Google Apps block.

Notitie

The link icon only appears if you are allowed to embed this book.