-
Notifications
You must be signed in to change notification settings - Fork 0
Manage Youtube videos
Martin Hinshelwood nkdAgility.com edited this page Nov 20, 2024
·
10 revisions
We synchronise all our YouTube videos to a local folder to publish and link them from our site. At a later date, these posts are updated with enhanced marketing content.
Below is an example of a synced post:
---
title: Ep 007 - Running a Live Virtual Classroom
date: 2020-05-02T16:34:05Z
videoId: _bjNHN4PI9s
url: /resources/videos/ep-007-running-a-live-virtual-classroom
canonicalUrl: https://www.youtube.com/watch?v=_bjNHN4PI9s
preview: https://i.ytimg.com/vi/_bjNHN4PI9s/maxresdefault.jpg
duration: 1496
isShort: false
sitemap:
filename: sitemap.xml
priority: 0.4
---
{{< youtube _bjNHN4PI9s >}}
# Ep 007 - Running a Live Virtual Classroom
It's important that students in Live Virtual Classrooms are already familiar with the technology used by instructors. We've had success with Microsoft Teams and Mural. This video demonstrates how to connect to both and make the most of the class.
[Watch on YouTube](https://www.youtube.com/watch?v=_bjNHN4PI9s)
When a post is updated with new content, the following changes are made:
- Title: Updated to the new marketing title for SEO and branding.
- Canonical URL: Removed to establish the site as the original source.
-
Aliases: Add the current
slug
as/resources/videos/{{slug}}
to prevent 404 errors. -
Slug: Updated to match the new
title
or removed to dynamically generate it from thetitle
. -
Sitemap Priority: Increased to
0.6
for SEO optimisation. - Content: Rewritten to include new, engaging copy.
Note:
- If
slug
is missing, updateurl
to/resources/videos/:slug
and derive the slug from the title. - Be mindful of adding appropriate
aliases
when changing titles.
Automated Updates: Sitemap and other metadata, like the last modified
date, are automatically refreshed based on Git activity.
Example Updated Post:
---
title: 'Training: A Bridge to Knowledge and Growth'
date: 2024-09-18
resourceTypes: video
layout: video
videoId: _2ZH7vbKu7Y
url: /resources/videos/:slug
slug: training-a-bridge-to-knowledge-and-growth
preview: https://i.ytimg.com/vi/_2ZH7vbKu7Y/maxresdefault.jpg
duration: 412
isShort: false
aliases:
- /resources/videos/3-key-elements-for-an-agile-leader-to-consider-if-the-team-are-incompetent
- /resources/training-a-bridge-to-knowledge-and-growth
- /resources/videos/_2ZH7vbKu7Y
sitemap:
filename: sitemap.xml
priority: 0.6
---
{{< youtube _2ZH7vbKu7Y >}}
In any organisation, the skills and knowledge of a team can determine its success or failure. But what happens when a team is identified as deficient? This video explores how to address these gaps through training and continuous learning before resorting to drastic measures.
Each video's folder includes the following:
-
index.md
: Contains the Markdown and front matter. -
data.json
: Cached YouTube API data to minimise API calls. -
transcript.*.srt
: Transcripts for use in AI tools or other content generation.
-
wordpress.custom.yaml
: Original WordPress post in YAML format. -
wordpress.custom.md.import
: Markdown version of the WordPress post.
These legacy files are retained for reference but not actively used.
- Sync with
main
. - Create a new branch:
update-youtube-[date]
. - Ensure
$env:google_apiKey
is configured. - Run
.powershell\syncNKDAgilityTV.ps1
. - Commit changes using
opencommit
and push to GitHub. - Create a PR on GitHub.
- Preview changes on Preview Site.
- (Optional) Create a new release.
- Sync with
main
. - Create a new branch:
update-marketing-[date]
. - Update the video’s
index.md
with the latest marketing copy, following the steps outlined in the "Updated Markdown and Front Matter" section. - Commit and push changes.
- Preview updates on the site and validate changes.