https://github.com/ubc/mw-youtubeuploader
https://github.com/ubc/mw-youtubeuploader
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ubc/mw-youtubeuploader
- Owner: ubc
- Archived: true
- Created: 2012-02-13T18:26:34.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-04-10T19:40:17.000Z (over 11 years ago)
- Last Synced: 2025-03-24T18:49:45.278Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 789 KB
- Stars: 4
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
INSTALLATION
1. Change the $wgYTU_User, $wgYTU_Password, and $wgYTU_APIKey in YouTubeUploader.php.
2. Add to LocalSettings.php
require_once('extensions/YouTubeUploader/YouTubeUploader.php');
3. Create this table in database:
CREATE TABLE `ytu_log` (
`ytu_id` VARCHAR(256) NOT NULL PRIMARY KEY,
`ytu_user` INT,
`ytu_timestamp` CHAR(14),
`ytu_title` text,
`ytu_link` text
);
4. The file 'includes/categories.cat' needs to be writeable by the Apache user. This file has YouTube category information in it and serves as a fallback in case we can't get the category information directly from YouTube.
DEPENDENCIES
Requires the SimpleXML parser, this should be built in to most PHP distributions. On CentOS, need to install the package 'php-xml'.