본문 바로가기

개발도구/PHP,ASP,JSP,SCRIPT

[rss feed] vimeo rss feed

vimeo developers / simple API 을 찾아 보았다.
http://vimeo.com/api/docs/simple-api

making the URL

http://vimeo.com/api/v2/username/request.output

username
Either the shortcut URL or ID of the user, an email address will NOT work.
request
The data you want. The different request types are listed below.
output
Specify the output type. We currently offer JSONPHP, and XML formats.
 
requests you can make


위의 형식대로 주소를 맞춰 보니.
http://vimeo.com/api/v2/onnuripoint5/videos.xml

이렇게 하면 되며, 아래와 같이 xml 형식의 RSS feed 가 나오게 된다.  

<videos>
<video>
<id>29699793</id>
<title>Sep.25.2011 Sermon</title>
<description>
2011년 9월25일 설교<br /> <br /> 하나님의 가족이 된 나<br /> (에베소서 2장 11-22절)<br /> <br /> 
</description>
<url>http://vimeo.com/29699793</url>
<upload_date>2011-09-27 21:11:26</upload_date>
<thumbnail_small>http://b.vimeocdn.com/ts/199/093/199093879_100.jpg</thumbnail_small>
<thumbnail_medium>http://b.vimeocdn.com/ts/199/093/199093879_200.jpg</thumbnail_medium>
<thumbnail_large>http://b.vimeocdn.com/ts/199/093/199093879_640.jpg</thumbnail_large>
<user_name>Clive Lee</user_name>
<user_url>http://vimeo.com/onnuripoint5</user_url>
<user_portrait_small>http://a.vimeocdn.com/portraits/defaults/d.30.jpg</user_portrait_small>
<user_portrait_medium>http://a.vimeocdn.com/portraits/defaults/d.75.jpg</user_portrait_medium>
<user_portrait_large>http://a.vimeocdn.com/portraits/defaults/d.100.jpg</user_portrait_large>
<user_portrait_huge>http://a.vimeocdn.com/portraits/defaults/d.300.jpg</user_portrait_huge>
<stats_number_of_likes>0</stats_number_of_likes>
<stats_number_of_plays>18</stats_number_of_plays>
<stats_number_of_comments>0</stats_number_of_comments>
<duration>1723</duration>
<width>640</width>
<height>360</height>
<tags>
God, Jesus, Christ, christian, church, onnuri, point5
</tags>
<embed_privacy>anywhere</embed_privacy>
</video>

다양한 API을 제공하니, 입맛에 따라 사용하세요~