Uploading a large video catalog

Makhloufi Alexandre -

How can I upload/migrate a large video catalog on my dailymotion account?

Contact to the content manager of your dailymotion account. If you don't have assigned one, go to http://www.dailymotion.com/en/feedback/uploadmethod and select 'Others' on the type of the upload field writting on the comment box 'Support to upload a large catalog on my dailymotion account' and one of the content manager it will drop you an email to the email address provided.

Once you are in contact with a content manager you could provide us one of the following source feed:

- MRSS
- XML
- CSV


MRSS

We are using a standard specification according to W3C (World Wide Web Consortium) which it's available on our wiki page (MRSS Importer Specifications)

Example of a basic mrss feed:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dm="http://www.dailymotion.com/dmrss/">
        <channel>
                <title><![CDATA[Universal Pictures]]></title>
                <link>http://www.universalpictures.com/</link>
                <description><![CDATA[Universal Pictures is an American motion picture studio]]></description>
        <lastBuildDate>Wed, 10 Jul 2013 11:00:00 -0400</lastBuildDate>
                <item>
                        <title><![CDATA[Back to the Future]]></title>
                        <description><![CDATA[Back to the Future is a 1985 American science fiction film...]]></description>
                        <media:category scheme="urn:dm:channel">shortfilms</media:category>
                        <guid isPermaLink="false">12345_back_to_the_future</guid>
                        <media:content url="http://www.example.com/video/12345_back_to_the_future.mp4" width="1280" height="720" bitrate="3317" filesize="1326739508" duration="6960" type="video/quicktime" lang="en" />
                        <media:keywords><![CDATA[DeLorean, Time Machine, Back to the Future]]></media:keywords>
                </item>
        </channel>
</rss>

Be aware that we request the following metadatas as mandatory:

Dailymotion namespace defined as xmlns:dm="http://www.dailymotion.com/dmrss/"

- Title and description of the video

- Category of the video (List of categories)

GUID of the video (An unique key for each video)

- Url of the video (Defined within the metadata media:content)


We define the dailymotion namespace in order to allow you to configure all the parameters of the video on your dailymotion account (List of parameters).

About the title and description. They must be wrapped into the CDATA tag which means that the content inside is general character data rather than non-character data. Pretty much doing that we know that process know that it’s just the copy of the video.

The category must be one which we provide (See the list of categories above).

GUID: This must to be an unique key set by the partner, why? because if after the ingestion they want to modify let’s say the thumbnail or the description of a bunch of videos. We will use the guid to update it. It’s must to be up to 64 characters which is enough to create so many different combinations.

Content (url of the video) - Source of the video itself.

XML

Providing a xml specifying the mandatory fields (title, description, category, guid and the source url of the video).

We will require to have a map of these items defining for instance what metadatas are you using on your xml file to match our mandatory fields

CSV

Prepare your CSV file

- Download the excel template here

- Start to fill in the metadatas on line 6 and column B. The first rows are examples on how to fill in the document. Please leave them as they are.

- In the description, there should be no HTML language, only text.

- Create 1 excel per account. If your partner has multiple accounts.

WARNING: be very careful when you fill in the columns F and G:

column F - GUID: this is a unique and persistent identifier of the video provided by the partner. There must be no space in the GUID and it should not contain more than 64 characters.

column G - source URL: this is the link to the videos. the URL on the CSV file must correspond very precisely to the URL of the file on the server. For instance, if the file is on a FTP with access login and password, the URL must contain this information.  There must be no space in the URL. 

Once the excel is fully filled-in, you need to convert it to CSV using UTF-8 encoding. If you don't use UTF-8, it won't work.

How to encode in UTF-8? if your version of excel doesn't give the option, you should save your file in excel format and then open it in either Google doc or OpenOffice where they give you the option to encode in UTF-8.

 

Have more questions? Submit a request

Comments

Powered by Zendesk