Baidu "Internet Video Open Protocol"

by leni on 2007-04-05 21:40:58

* `` — Marks the beginning and end of the entire XML file content.

* `` — Website address.

* `` — Email of the responsible person. When necessary, we will contact you through this address.

* `` — Update cycle, in minutes. Search engines will visit this page according to this cycle so that the videos on the page can appear more promptly on Baidu Video. This value is just a reference in the protocol. Baidu Video Search will refer to this value to regularly check whether the XML file you provided has changed. The method of checking changes is by sending a HEAD request to check if the Last-Modified or Content-Length of the XML file has changed, which determines whether to crawl it. Therefore, please ensure that your server can return either Last-Modified or Content-Length, and its value should change according to the changes in your XML file.

* `` — Marks the start and end of each video information. The content within the tag is single video information and does not include video topics.

* `` — Marks the operation type of video information; "add" indicates adding, and "del" indicates deletion.

* `` — Video title (can also be omitted when `op` is "del").

* `` — URL address of the page where the video plays.

* `` — URL address of the video thumbnail.

* `` — URL address of the video content.

* `` — Video classification information.

* `` — Video annotation information.

* `` — Video playback time, in seconds.

* `` — Video release time, consistent with the release time on the video playback page. Please be accurate to the minute; if your website does not record hours and minutes for release time, providing the year, month, and day is sufficient.

Recommended time format: Year-Month-Day Hour:Minute:Second

For example: 2005-11-09 10:37 | 2005/11/09 10:37:00 | 2005.11.09 10:37:00 |

2005年11月09日10时37分00秒 | Fri, 09 Nov 2005 10:37:00 GMT