苹果maccms标签大全之视频搜索参数详解
搜索页面参数详解:
searchtype:搜索内容vodsearch视频搜索,artsearch文章搜索 , 默认为 视频搜索。
搜索方式一: 参数 keyword,keytype 组合使用
keytype可等于 拼音:pinyin,主演:starring,导演:directed,地区:area,语言:language,上映时间:year,首字母letter, 默认为名称
例如:search.php?keyword=火影 搜索名称为火影的数据
search.php?keyword=刘德华&keytype=starring 搜索主演为刘德华的数据
搜索方式二:数据名称:keyword,数据ID列表:ids,拼音:letter, 主演:starring, 导演: directed, 地区:area, 语言:language, 上映时间:year,首字母:letter, 分类:type
例如:
search.php?keyword=火影 搜索名称为火影的数据
search.php?ids=123,567搜索数据id为 123和567的数据,可以多条,逗号分割
search.php?starring=刘德华 搜索主演为刘德华的数据
search.php?letter=A搜索首字母为A的数据
search.php?type=1&keyword=海贼 搜素分类ID为1下属的名称为海贼的数据
共有排序参数: 排列顺序order, 按哪个字段排序by
order=desc 倒序,asc正序
by=id 数据ID,总人气hits,当天人气dayhits,本周人气weekhits,本月人气monthhits,添加时间addtime,推荐值level,顶数据good,踩数据bad,评分总数score,评分总人数scorecount
search.php?keyword=火影&order=desc&by=hits 搜索名称为火影的数据按照 总人气倒序排列