Youtube

Introduction

YouTube is a social media site focused on video sharing.

A YouTube gathering template is included as part for Funnelback's Social media collections support to allow content from YouTube to be gathered and then presented within Funnelback search results.

Please note that your usage of Funnelback to gather content from YouTube must comply with YouTube's terms of service.

Gathering template

YouTube's gathering template script will require you to supply an API key. Funnelback provides support for gathering individual playlists and playlists on a channel. To gather the videos uploaded on a channel using a legacy YouTube user name, we would create the following YouTube query object.

new UsernameUploadsChannelQuery("funnelback");

To gather the videos on the 'Uploads' playlists for a list (up to 50) channel ids, we would create the following object.

new UploadsChannelQuery(List<String> channelIDs);

To gather the videos on the 'Likes' playlists for a list (up to 50) channel ids, we would create the following object.

new LikesChannelQuery(List<String> channelIDs);

To gather a videos for a list of playlists we would create the following object.

new PlayListQuery(List<String> playListIDs);

Metadata mappings

The YouTube gathering template includes a number of YouTube specific metadata mappings, including channel title, title, likes and the URL of a video thumbnail image. See the $SEARCH_HOME/share/custom_collection_templates/xml.cfg.youtube file for a complete list.

Limits

Please note that YouTube applies limits to the volume of content which can be retrieved from their APIs, and so in the case of large channels Funnelback may be unable to gather all historical content.

See also

top