Skip to content

4np/NPOKitResources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

NPOKit Extra Resources

This repository contains a curated list of additional resources for programs broadcasted by the Dutch Public Broadcaster (NPO).

Contributing

In order to contribute new resources, fork this repository and add the addition resource(s) to the JSON document. When done, make sure to validate the updated JSON document before submitting a pull request.

Format

A recource consist of a program mid (which you can lookup here), its name and a description of that resource. Currently only youtube channels are users are supported.

An example of a YouTube channel resource

Zondag met Lubach has a URL in the following format:

https://www.youtube.com/channel/UCdH_8mNJ9vzpHwMNwlz88Zw

The Channel Identifier for this YouTube channel is UCdH_8mNJ9vzpHwMNwlz88Zw, which you can use to add a new element to the JSON file:

{
	 "mid": "VPWON_1250334",
     "name": "Zondag met Lubach",
     "youtube_channel": "UCdH_8mNJ9vzpHwMNwlz88Zw"
}

Finding the right channel identifier

The channel identifier looks like a random string. Whenever you see something readable it generally is not the channel identifier.

Sometimes the channel identifier is conveniently in the URL, but more often it is not. Sometimes you will see it when you subscribe to a channel, but the best way is to view the source of the channel page and search for an entry like this:

<link rel="alternate" type="application/rss+xml" title="RSS" href="https://www.youtube.com/feeds/videos.xml?channel_id=UC6gpEAIMMzVQZU4G86G7wVQ">

In this case the channel identifier is UC6gpEAIMMzVQZU4G86G7wVQ (De Wereld Draait Door).

Testing the channel identifier

When you have found the channel identifier, test if it works by opening the following url and replacing channel_identifier with the found identifier:

https://www.youtube.com/channel/channel_identifier

An example of a YouTube playlist resource

   {
     "mid": "VPWON_1260826",
     "name": "Freek in het wild",
     "youtube_playlist": "PLe5xp19huiuEt6_2KCl7KTULnPTWL8uGp"
   }

About

Extra Media Resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published