Using the Open Case Studies Website

The resources and content on this website have been developed with maximum re-usability in mind. In addition to being openly licensed, the open case studies have been written and published on the UBC Wiki and are then syndicated here. This separation of the "content layer" from the "presentation layer" allows the developers of the case studies to leverage the collaborative aspects of the UBC Wiki with the styling and publishing options of a website. It also allows users to embed the case studies in their own space as well as to easily create pdfs and to potentially download and fork the case studies.

To directly access the UBC wiki-based content layer for any page, look for the source link at the bottom of every page:

Look for the source link to access the UBC Wiki for any page

The case studies found on this site can be directly embedded into your own space, such as into an LMS course shell or website. To do so:

  1. Navigate to the case study or other webpage that you would like to embed.
  2. Find the source link at the bottom of the Case Study
  3. Click on the link to access the UBC Wiki page for the case study
  4. On the left hand sidebar of the UBC Wiki, look for the Tools section and then click on the "Embed Page" link.
    The Embed Code is on the left hand side-bar of the wiki
  5. An embed code box will open. Select and copy all of the embed code
    Copy the entire embed code
  6. Paste the embed code into a text editor of the site where you would like to embed the case study.

Tip: If you are embedding the Open Case Study into a WordPress site (such as UBC Blogs or UBC CMS) you can use the Wiki Embed plug-in to give you greater options about how the embedded page will be displayed.

For users who have a UBC Campus Wide Log-ins (CWL), the UBC Wiki can be used to generate a nicely formatted PDF version of any case studies. To do so:

  1. Navigate to the case study or other webpage that you would like to embed.
  2. Find the source link at the bottom of the case study
  3. Click on the link to access the UBC Wiki page for the Case Study
  4. Log into the UBC Wiki using your campus wide login (CWL).
  5. On the left hand sidebar of the UBC Wiki, look for the print/export section.
    Click download pdf
  6. Click download as PDF
  7. Wait for the PDF to be rendered and download to your computer.

Tip: You can combine one or more UBC Wiki pages into a single PDF or EPUB file using the Wiki Book Tool.

Users who have a UBC Campus Wide Log-ins (CWL) can edit any page of the UBC Wiki directly.

Any user, including those who do not have a UBC CWL, can export the open case study pages from the UBC Wiki into editable file formats in two ways.

Chrome extension
There is an extension available for the Chrome web browser called "Save Webpage as Word Document." Install the extension, then go to the UBC Wiki page link at the bottom of each case study (see above, under "How to access the wiki content") and use the extension to download a selection of the page or the whole wiki page as a Microsoft Word document that can then be easily edited.

XML file
Any user can also download the wiki content in xml format. These xml files are editable and can then be imported into any other wiki that runs on MediaWiki. They can also be edited using basic text editors as well as transformed to other formats, such as html (please see this basic guide for transforming xml to html and other formats).

To export the the xml files from the UBC Wiki:

  1. Copy the name of the open case study you would like to export (e.g. Documentation:Open_Case_Studies/Civil_Engineering_A/Template)
  2. Go to http://wiki.ubc.ca/Special:Export
  3. Paste the page name into the large open text field.
  4. Click 'Export'
  5. Save the resulting XML to a file to your computer
  6. Open the XML file in a text editor to edit.
Paste the article titles, click export

Tip: You can export multiple UBC Wiki pages into a single file by pasting one title per line in the large open text box. You can also add all pages related to the open case study by pasting the category: Category:Open_Case_Studies into the category field and clicking "add". Delete any page titles from the resulting list that you do not want to export.

source: https://wiki.ubc.ca/Documentation:Open_Case_Studies/Guide/WebsiteGuide