Experimental project
This is a sandbox project, which contains experimental code for developer use only.
YouTube Provider
Summary
YouTube Provider is an implementation of the Providers module. It takes a YouTube user's username, makes an API call to get that user's uploads, and creates nodes for each uploaded video returned from the API call.
Installation
- Download and enable the Providers module.
- Enable this module.
- Extract youtube_video_content_type.rar into your modules directory and enable it.
Usage
- Navigate to Structure > Providers (/admin/structure/providers/)
- Click 'add' in the YouTube Provider row
- Create the new provider.
Title: The title of the provider.
Username: The username of the YouTube user whose uploads you want to import.
Max Results: The maximum number of items to return with each API call.
Start Index: The position in the user's upload history to begin importing items.
Content Type: The content type to use when creating nodes. Select 'YouTube Video', which is the content type created in step 3 of installation.
Node Author: The user who will be shown as the node author. - Click 'Save'. This will save the provider and redirect you to that provider's page (/provider/pid)
- You can click the 'Update' tab to import new items. A success message will display how many videos were creates and updated. Updates will also run with cron, and messages will be stored in the watchdog table.
Project information
- Project categories: Content editing experience
- Created by jtrost on , updated