改完後會產生嵌入連結,雖然檔案是不公開可以嵌入連結可以允許外部引用!!
他有透過 php and javascript 的方式轉換 src 影片來源,所以 javascript 要開!!
然後程式碼要改一點點!!!才可以在不公開的模式下有嵌入的功能。
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- 主機: localhost
-- 建立日期: Nov 10, 2009, 10:44 AM
-- 伺服器版本: 5.0.51
-- PHP 版本: 5.2.6-1+lenny3
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- 資料庫: `ostube`
--
-- --------------------------------------------------------
--
-- 資料表格式: `ost_categories2language`
--
CREATE TABLE IF NOT EXISTS `ost_categories2language` (
`id` int(11) NOT NULL auto_increment,
`category_id` int(11) NOT NULL,
`category_name` varchar(40) NOT NULL,
`category_desc` text,
`category_language` varchar(40) NOT NULL default 'german',
PRIMARY KEY (`id`),
KEY `category_id` (`category_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ;
--
-- 列出以下資料庫的數據: `ost_categories2language`
--
INSERT INTO `ost_categories2language` (`id`, `category_id`, `category_name`, `category_desc`, `category_language`) VALUES
(1, 1, 'Animation', NULL, 'german'),
(2, 2, 'Crazy', NULL, 'german'),
(3, 3, 'Veranstaltungen', NULL, 'german'),
(4, 4, 'Filme', NULL, 'german'),
(5, 5, 'Lernen', NULL, 'german'),
(6, 6, 'Mode', NULL, 'german'),
(7, 7, 'Neues', NULL, 'german'),
(8, 8, 'Reise', NULL, 'german'),
(9, 9, 'Sport', NULL, 'german'),
(10, 10, 'Tiere', NULL, 'german'),
(11, 11, 'Unterhaltung', NULL, 'german'),
(12, 12, 'Wissenschaft', NULL, 'german'),
(13, 1, 'Animation', NULL, 'english'),
(14, 2, 'Crazy', NULL, 'english'),
(15, 3, 'Events', NULL, 'english'),
(16, 4, 'Movies', NULL, 'english'),
(17, 5, 'Education', NULL, 'english'),
(18, 6, 'Fashion', NULL, 'english'),
(19, 7, 'News', NULL, 'english'),
(20, 8, 'Travel', NULL, 'english'),
(21, 9, 'Sports', NULL, 'english'),
(22, 10, 'Animals', NULL, 'english'),
(23, 11, 'Fun', NULL, 'english'),
(24, 12, 'Science', NULL, 'english'),
(25, 1, 'Animation', NULL, 'zh_TW'),
(26, 2, 'Crazy', NULL, 'zh_TW'),
(27, 3, 'Events', NULL, 'zh_TW'),
(28, 4, 'Movies', NULL, 'zh_TW'),
(29, 5, 'Education', NULL, 'zh_TW'),
(30, 6, 'Fashion', NULL, 'zh_TW'),
(31, 7, 'News', NULL, 'zh_TW'),
(32, 8, 'Travel', NULL, 'zh_TW'),
(33, 9, 'Sports', NULL, 'zh_TW'),
(34, 10, 'Animals', NULL, 'zh_TW'),
(35, 11, 'Fun', NULL, 'zh_TW'),
(36, 12, 'Science', NULL, 'zh_TW');
SYNOPSIS
tar [ - ] A --catenate --concatenate | c --create | d --diff --compare | --delete | r --append | t --list | u --update | x --extract --get [ options ] pathname [
pathname ... ]
--exclude=PATTERN
exclude files matching PATTERN
tar -czvf ../ostube_20091109.tar.gz --exclude=media --exclude=pma ./