Metadata

跳转到: 导航, 搜索
第8行: 第8行:
 
<pre>
 
<pre>
 
 
”annotations”: [
+
"annotations": [
{“movie”: {
+
{"movie": {
“title”: “Wall Street”,
+
"title": "Wall Street",
“url”: “http://video.sina.com.cn/m/gsd_61145667.html”,
+
"url": "http://video.sina.com.cn/m/gsd_61145667.html",
“text”: “Wall Street: Money Never Sleeps”}}],
+
"text": "Wall Street: Money Never Sleeps"}}],
 
 
 
</pre>
 
</pre>

2010年10月29日 (五) 14:01的版本

带元数据的微博

元数据包括事件、人物、地点等,它可以被其他的软件、搜索引擎检测到,并提取出相应的信息,把这些信息以其他形式重复使用或组合,做出各种应用。

当你创建了一条微博时,你可以在这条微博上添加一个或多个元数据。这些数据是关于这条微博的结构化信息。元数据的内容由你来决定。但元数据的结构和语法需要遵循一定的标准。

示例:

…
"annotations": [
{"movie": {
	"title": "Wall Street",
	"url": "http://video.sina.com.cn/m/gsd_61145667.html",
	"text": "Wall Street: Money Never Sleeps"}}],
…

微博元数据的限制

元数据长度不超过512个字符。

仅支持用户以json 数组格式提交的元数据。