Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-gardener committed Nov 26, 2024
1 parent eb8b175 commit 48611ca
Show file tree
Hide file tree
Showing 29 changed files with 1,725 additions and 1,546 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ WORKDIR /app

# build ruby deps
COPY docs/Gemfile docs/Gemfile.lock /app/
RUN bundle update --bundler \
&& bundle install
RUN bundle install

COPY docs /app

Expand Down
6 changes: 4 additions & 2 deletions docs/Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
source 'https://rubygems.org'

gem "jekyll", "~> 4.3"
gem "just-the-docs", "~> 0.8"
gem "jekyll", "~> 4.3.4"
gem "just-the-docs", "~> 0.8.2"
# temp: see https://github.com/just-the-docs/just-the-docs/issues/1541
gem "sass-embedded", "1.78.0"
52 changes: 27 additions & 25 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
bigdecimal (3.1.8)
colorator (1.1.0)
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.4)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.16.3)
ffi (1.17.0)
forwardable-extended (2.6.0)
google-protobuf (3.25.3)
google-protobuf (4.28.3)
bigdecimal
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.4)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
jekyll (4.3.4)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
Expand All @@ -39,13 +42,13 @@ GEM
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
just-the-docs (0.8.1)
just-the-docs (0.8.2)
jekyll (>= 3.8.5)
jekyll-include-cache
jekyll-seo-tag (>= 2.0)
rake (>= 12.3.1)
kramdown (2.4.0)
rexml
kramdown (2.5.1)
rexml (>= 3.3.9)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
Expand All @@ -55,30 +58,29 @@ GEM
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.4)
rake (13.1.0)
public_suffix (6.0.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.2.8)
strscan (>= 3.0.9)
rouge (4.2.0)
rexml (3.3.9)
rouge (4.5.1)
safe_yaml (1.0.5)
sass-embedded (1.71.1)
google-protobuf (~> 3.25)
rake (>= 13.0.0)
strscan (3.1.0)
sass-embedded (1.78.0)
google-protobuf (~> 4.27)
rake (>= 13)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.1)
unicode-display_width (2.6.0)
webrick (1.9.0)

PLATFORMS
ruby

DEPENDENCIES
jekyll (~> 4.3)
just-the-docs (~> 0.8)
jekyll (~> 4.3.4)
just-the-docs (~> 0.8.2)
sass-embedded (= 1.78.0)

BUNDLED WITH
2.5.3
2.5.22
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Amplify Docs
# AMP Docs

Documentation for the Amplify Podcast Network preservation tool
Documentation for the Amp Podcast Network preservation tool


> The SSHRC-funded Amplify Podcast Network encourages collaboration and experimentation via the medium of scholarly podcasting, with a focus on podcasts committed to anti-racism, feminist social justice, and community-building. We’re committed to supporting the creation of new scholarly podcasts, while also building the infrastructure that will support them, from new peer review processes to digital preservation tools to open access guides to making your own podcast. <br/><br/>Amplify represents scholarship that contributes to collective, public knowledge, born of research across the many disciplines and interdisciplines that constitute humanities and social sciences research. Our podcasts explicitly or implicitly engage with the question of what constitutes scholarship by pushing at boundaries, whether they are formal, methodological, theoretical, or otherwise.
Expand All @@ -12,7 +12,7 @@ Documentation for the Amplify Podcast Network preservation tool

## Run tbls

From the docs folder (with amplify running)
From the docs folder (with AMP running)

docker run --rm -v $PWD:/work -w /work --network host ghcr.io/k1low/tbls doc --rm-dist

Expand Down
15 changes: 9 additions & 6 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Amplify
description: Documentation for the Amplify project
title: AMP
description: Documentation for the AMP project
theme: just-the-docs
url: https://amplify.lib.sfu.ca/docs
favicon_ico: "https://i0.wp.com/amplifypodcastnetwork.ca/wp-content/uploads/2022/03/cropped-amplify-final-social-options-2-sm.png?fit=32%2C32&ssl=1"
color_scheme: amplify
url: https://amp.dhil.lib.sfu.ca/docs
favicon_ico: "/assets/images/favicon.ico"
color_scheme: amp
baseurl: /docs
exclude:
- tbls_templates
Expand All @@ -20,4 +20,7 @@ callouts:
title: Note
color: purple
opacity: 0.2
nav_external_links: []
nav_external_links: []
# temp: see https://github.com/just-the-docs/just-the-docs/issues/1541
sass:
quiet_deps: true
File renamed without changes.
Binary file added docs/assets/images/favicon.ico
Binary file not shown.
7 changes: 0 additions & 7 deletions docs/exporting.md

This file was deleted.

178 changes: 178 additions & 0 deletions docs/exports.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
---
layout: default
title: Exports
nav_order: 4
---

# AMP Exports

{: .note }
> See the [How do I Export a podcast](../how_do_I/podcast_export.html) page for steps to take to generate the AMP podcast exports.
The AMP tool can generate a zip file for several different Metadata formats for achieving and preserving podcast metadata.

## Islandora (SFU specific)

{: .warning }
> The Islandora export currently contains fields specific to [Simon Fraser University's Summit](https://summit.sfu.ca/). Additional development is required to support a generic Islandora installation or a customized institution's Islandora. Leave questions or requests on the [github repository](https://github.com/sfu-dhil/amplify/issues).
After you have generated your AMP export, you must prepare to send it to the SFU Summit team.

1. Upload the `zip` file into [Sharepoint/OneDrive](https://1sfu-my.sharepoint.com/)
2. Prepare the share link for the `zip` file
- Left click on the file and select __Copy Link__
- Select the __Settings__ button and the _People in Simon Fraser University (1sfu)_ option
- Click __Apply__
- The share link is now in your Clipboard. Store it for later.
3. Email SFU Summit [[email protected]](mailto:[email protected]) or use the [contact us form](https://summit.sfu.ca/contact). Make sure to include:
- A brief description of the Podcast
- The Sharepoint link to the `zip` file
- Mention that the files are generated by the AMP tool and compatible with Islandora Workbench

{: .warning }
> The [Summit deposit form](https://www.lib.sfu.ca/help/publish/summit-deposit-form) does not work for AMP Podcast metadata. It must be ingested by the Summit team using [Islandora Workbench](https://mjordan.github.io/islandora_workbench_docs/).

### Islandora Export File Structure

The `zip` file contains a `yaml` [Islandora Workbench](https://mjordan.github.io/islandora_workbench_docs/) [configuration file](https://mjordan.github.io/islandora_workbench_docs/configuration/) named something similar to `amp_podcast_XX_config.yaml`. This file contains basic metadata for the entire podcast and should only be edited by the Summit team.

{: .note }
> The config file is missing authentication details for uploading the metadata into Islandora. This must be added by the Summit team before ingesting the files.
The `zip` file also contains a directory named something similar to `amp_podcast_XX_input_files`. This directory will contain a `csv` file called `metadata.csv` with holds all the metadata for the podcast, season, episodes, and files. The folder also has sub-directories called `transcript`, `image`, `audio` containing files of each respective category.

Example:
```
My Podcast - islandora.zip
│ amp_podcast_1_config.yaml
└───amp_podcast_1_input_files
│ metadata.csv
└───transcript
│ │ episode_1_transcript.pdf
│ │ episode_2_transcript.txt
│ │ ...
└───image
│ │ podcast_image.png
│ │ episode_1_image.jpg
│ │ ...
└───audio
│ episode_1_audio.mp3
│ episode_2_audio.mp3
│ ...
```

## MODS

{: .warning }
> MODS exports are currently untested. Reach out to us on github if you have any issues [github repository](https://github.com/sfu-dhil/amplify/issues).
The [MODS](http://www.loc.gov/standards/mods/) (Metadata Object Description Schema) schema is a more generic metadata solution that should work in a variety of digital preservation tools. It would be best to check with the team managing your institution's digital preservation tool to see if they support importing MODS files and how to best provide them with the data.

### MODS Export File Structure

The root directory contains the podcast metadata (`MODS.xml`) and sub-directories for each season. Each season sub-directory contains it's metadata (`MODS.xml`) and sub-directories for each episode. Each episode sub-directory contains it's metadata (`MODS.xml`).

In addition each podcast, season, and episode directory has a sub-directory for each of it's images (and a thumbnail `TN.<EXTENSION>` for the first image if it has any). Episodes also contain subdirectories for each audio and transcript file.

Each image, transcript, and audio sub-directory contains its metadata (`MODS.xml`) and the binary file (`OBJ.<EXTENSION>`).


Example:
```
My Podcast - mods.zip
│ MODS.xml
| TN.png
└───img_0
| | MODS.xml
| │ OBJ.png
|
└───img_1
| | ...
|
└───S1
| | MODS.xml
| │ TN.png
| |
| └───img_0
| | | MODS.xml
| | │ OBJ.png
| |
| └───img_1
| | | ...
| |
| └───S1E1
| | | MODS.xml
| | │ TN.png
| | |
| | └───img_0
| | | | MODS.xml
| | | │ OBJ.png
| | |
| | └───img_1
| | | | ...
| | |
| | └───transcript
| | | | MODS.xml
| | | │ OBJ.pdf
| | |
| | └───transcript_1
| | | | ...
| | |
| | └───audio
| | | | MODS.xml
| | | │ OBJ.pdf
| | |
| | └───audio_1
| | | ...
| |
| └───S1E2
| | ...
|
└───S2
| ...
```

## BePress

{: .important }
Steps to import in BePress are still a work in progress. It requires [Batch uploading](https://digitalcommons.elsevier.com/managing-submissions-publishing/batch-upload-export-and-revise) the files and then editing the excel with the uploaded file urls (ex: upload `podcast_files.zip`, then edit `podcast_files_metadata.csv`, then batch upload `podcast_files_metadata.csv`).

{: .warning }
> BePress exports are currently untested. Reach out to us on github if you have any issues [github repository](https://github.com/sfu-dhil/amplify/issues). The BePress import process is not smooth and requires several additional steps by the team importing that data for it to work.
### BePress Export File Structure

- `podcast_metadata.csv` contains the metadata for the podcast
- `podcast_files_metadata.csv` contains the metadata for the podcast images. `podcast_files.zip` is the actual podcast image files
- `podcast_seasons_metadata.csv` contains the metadata for all the podcast seasons.
- `<Season Slug>_files_metadata.csv` contains the metadata for the season images. `<Season Slug>_files_metadata.csv` is the actual season image files
- `<Season Slug>_episodes_metadata.csv` contains the metadata for all the episodes in a given season.
- `<Episode Slug>_files_metadata.csv` contains the metadata for the episode images, transcript, and audio. `<Episode Slug>_files_metadata.csv` is the actual episode images, transcript, and audio files

Example:
```
My Podcast - bepress.zip
│ podcast_metadata.csv
| podcast_files_metadata.csv
| podcast_files.zip
| podcast_seasons_metadata.csv
| S1_files_metadata.csv
| S1_files.zip
| S1_episodes_metadata.csv
| S1E1_files_metadata.csv
| S1E1_files.zip
| S1E2_files_metadata.csv
| S1E2_files.zip
| ...
| SX_files_metadata.csv
| SX_files.zip
| SX_episodes_metadata.csv
| SXEY_files_metadata.csv
| SXEY_files.zip
```
18 changes: 9 additions & 9 deletions docs/how_do_I/episode_edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ nav_order: 7

1. From the podcast page, scroll down to the list of seasons
1. Select the season containing the episode you would like to edit by clicking season's title
1. Find the episode in the list and click the __Edit__ button on the right of the row
1. Find the episode in the list and click the __Edit Episode__ button on the right of the row
1. Scroll down, or use the Table of Contents menu on the right side to navigate to desired field
1. Click the textbox for the field to make changes or click __(+) Audio__, __(+) Image__, or __(+) Transcript__ buttons to upload a new image, audio, or transcript pdf file
1. Scroll to the bottom of the page and click __Update__
1. Click the textbox for the field to make changes or click __(+) Add New Audio__, __(+) Add New Image__, or __(+) Add New Transcript__ buttons to upload a new image, audio, or transcript pdf file
1. Scroll to the bottom of the page and click __Save__

## From the season page

1. Find the episode in the list and click the __Edit__ button on the right of the row
1. Find the episode in the list and click the __Edit Episode__ button on the right of the row
1. Scroll down, or use the Table of Contents menu on the right side to navigate to desired field
1. Click the textbox for the field to make changes or click __(+) Audio__, __(+) Image__, or __(+) Transcript__ buttons to upload a new image, audio, or transcript pdf file
1. Scroll to the bottom of the page and click __Update__
1. Click the textbox for the field to make changes or click __(+) Add New Audio__, __(+) Add New Image__, or __(+) Add New Transcript__ buttons to upload a new image, audio, or transcript pdf file
1. Scroll to the bottom of the page and click __Save__

## From the episode page

1. From the episode page, click the __Edit__ button in the top right corner
1. From the episode page, click the __Edit Episode__ button in the top right corner
1. Scroll down, or use the Table of Contents menu on the right side to navigate to desired field
1. Click the textbox for the field to make changes or click __(+) Audio__, __(+) Image__, or __(+) Transcript__ buttons to upload a new image, audio, or transcript pdf file
1. Scroll to the bottom of the page and click __Update__
1. Click the textbox for the field to make changes or click __(+) Add New Audio__, __(+) Add New Image__, or __(+) Add New Transcript__ buttons to upload a new image, audio, or transcript pdf file
1. Scroll to the bottom of the page and click __Save__
Binary file modified docs/how_do_I/images/homepage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/how_do_I/images/homepage_original.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/how_do_I/images/podcast.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/how_do_I/images/podcast_original.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 48611ca

Please sign in to comment.