Exercise: Getting Content Into Scalar
- Working with Media covers how to import content from external sources
- Working with Content covers creating pages and setting a default layout for them
Exercise
- In the Scalar dashboard window (click to open), select the "My Sandbox" book you created in the Create a Book exercise.
- Using the Working With Media chapter of the Scalar 2 User's Guide, import the following items by searching for their titles:|
- From the internet Archive: Sounds in the Whakarewarewa Redwood Forest
- From YouTube: Rainforests 101 | National Geographic
- From another source on the Internet (a URL) -- copy and paste this link: https://upload.wikimedia.org/wikipedia/commons/3/3f/Boreal_Forest_and_Lake.jpg
- Go to the Creative Commons search tool (click the link to open it in a new window) and perform a search for "forest."
- Select any image that looks appealing to you, and click on it to bring up its information page
- Right-click on the image and save it to your device. Make note of the filename and download location.
- In the Information tab on the right of the Creative Commons page for the image, click on the link under "Source" and make note of the URL (web address) for the file.
- In the Reuse tab on the right of the same page, select the "Plain Text" option to get information on the source of the photo and the copyright licence. Copy this information (or write it down in detail) so that you can use it later.
- Using the Importing Your Own Media page from the Scalar 2 User's Guide, upload your saved image from Step 3 into your book:
- For the Title, you may use the original image name or provide your own descriptive title.
- Select the Metadata button. The default field set should be "Featured fields." Select the checkbox next to dcterms:source.
- Select the Field set drop down and choose Dublin Core. in the list that appears, select the checkboxes next to creator and license. Then click the Add fields button. You will be returned to the media import screen, where you will see that the selected fields now appear in the Metadata area.
- Here is where you will use the data you copied from the Creative Commons search tool:
- set dcterms:source to the URL/link to the file, e.g. https://www.flickr.com/photos/7914242@N07/7145632899
- set dcterms:creator to the name of the photographer/image creator, e.g. Wim Vandenbussche
- set dcterms:license to the Creative Commons license text, e.g. https://creativecommons.org/licenses/by-nc-sa/2.0/
- Click the Choose File button and select the image you downloaded from the Creative Commons search tool. Then click Upload.
- Using the Working with Content chapter of the Scalar 2 Users' Guide, create a page with the following properties:
- Title: Forest media
- Content: Some interesting forests from the Internet
- Layout: Image Header. Note that the description here says the page will be styled with a 'key image' as the header.
- Select the Styling tab, and choose Key Image. Select the drop-down menu and choose the forest picture you uploaded in Step 4.
- Click Save and view. Your new page will appear, with your downloaded image as a header.
Congratulations! You've now imported several pieces of media, including a file that you uploaded directly and populated with appropriate metadata. You've also created a simple page that uses one of your media items as a header.