Difference between revisions of "TubeStudio Bulk Import"

From TMM Wiki
Jump to navigationJump to search
Line 16: Line 16:
 
== CSV Import ==
 
== CSV Import ==
 
If you choose to use CSV this is the page that will display:<br><br>
 
If you choose to use CSV this is the page that will display:<br><br>
[[File:bulkimport_csv.png 858px]]
+
[[File:bulkimport_csv.png | 858px]]
  
  

Revision as of 12:33, 3 March 2010

TubeStudio


In TubeStudio it is possible to upload many videos at once. This is accomplished by using the bulk import feature. This page will help you get familiar with using this feature so that you can easily upload a large number of videos at once. To specify the list of videos that you wish to import you give TubeStudio either a CSV or XML file. If you are unfamiliar with these formats please see these articles on Wikipedia. CSV XML


How to Bulk Import Videos

To get started bulk importing videos first go the the Videos Admin.Videos admin.png
Go to the bulk importing page by clicking on the Bulk Import Videos tab. Bulkimport tab.png

Here you will have the option to choose the dump format you want to use for the bulk import.

Choose either to use CSV or XML by using the drop down at the top of the page.

Import type.png

CSV Import

If you choose to use CSV this is the page that will display:

Bulkimport csv.png


XML Import

FORMAT

<videos>
	<constants>
	  ... enter any field from <video> here to have it apply to all video entries.  If the field is also in a video, it will be overwritten by that field.
	</constants>

	<video>
		<file> URL TO FETCH VIDEO </file>
		<sample_thumb> URL TO SAMPLE THUMB </sample_thumb>
		<title> VIDEO TITLE </title>
		<description> VIDEO DESCRIPTION </description>
		<summary> VIDEO SUMMARY </summary>
		<link> SPONSOR LINK </link>
		<link_name> SPONSOR LINK NAME </link_name>
		<channels> CHANNEL 1 </channels>
		<channels> CHANNEL 2 </channels>
		<channels> CHANNEL 3 </channels>
		<tags> tag1, tag2, tag3, tag4, ... </tags>
		<unscheduled> 0 OR 1 </unscheduled>
		<priority>1 TO 100</priority>
	</video>
<videos>

EXAMPLE:

<videos>
	<constants>
		<priority>50</priority>
		<link>http://my_sponsor_site.com/</link>
		<link_name> My Sponsor Site</link_name>
		<unscheduled>1</unscheduled>
	</constants>

	<video>
		<file>http://my_sponsor_site.com/videos/video1.wmv</file>
		<sample_thumb>http://mysite.com/videos/video1.jpeg</sample_thumb>
		<title>Video 1</title>
		<description>This is my 1st video</description>
		<channels> Channel 1 </channels>
		<channels> Channel 2 </channels>
		<channels> Channel 3 </channels>
		<tags> tag1, tag2, tag3, tag4, ... </tags>
	</video>
	<video>
		<file>http://my_sponsor_site.com/videos/video2.wmv</file>
		<sample_thumb>http://mysite.com/videos/video2.jpeg</sample_thumb>
		<title>Video 1</title>
		<description>This is my 2nd video</description>
		<channels> Channel 1 </channels>
		<channels> Channel 4 </channels>
		<channels> Channel 2 </channels>
		<tags> tag9, tag2, tag3, tag1, ... </tags>
	</video>
	<video>
		<file>http://my_sponsor_site.com/videos/video3.wmv</file>
		<sample_thumb>http://mysite.com/videos/video3.jpeg</sample_thumb>
		<title>Video 3</title>
		<description>This is my 3rd video</description>
		<channels> Channel 6 </channels>
		<channels> Channel 2 </channels>
		<channels> Channel 2 </channels>
		<tags> tag1, tag2, tag17, tag4, ... </tags>
	</video>
<videos>