xml Miva - mvt:致电SLI搜索
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml Miva - mvt:致电SLI搜索相关的知识,希望对你有一定的参考价值。
<mvt:assign name="g.url" value="'http://search.sli-search.com/search'" />
<mvt:assign name="g.v" value="s.dyn_time_t" />
<mvt:assign name="g.w" value="'*'" />
<mvt:assign name="g.af" value="'cat1:gifts'" />
<mvt:assign name="g.ts" value="'json-full'" />
<mvt:item name="ry_toolbelt" param="benchmark|sli_json_call|START" />
<mvt:assign name="g.sli:json" value="''" />
<mvt:call action="g.url" method="'GET'" fields="'w,af,ts'">
<mvt:assign name="g.sli:json" value="g.sli:json $ s.callvalue" />
</mvt:call>
<mvt:item name="ry_toolbelt" param="benchmark|sli_json_call|END" />
<mvt:item name="ry_toolbelt" param="benchmark|sli_json_call|SHOW" />
<h2>JSON</h2>
<mvt:assign name="l.result" value="miva_json_decode( g.sli:json, g.sli:json_parsed )" />
<mvt:eval expr="decodeattribute(glosub(miva_array_serialize(g.sli:json_parsed), ',', '<br>'))" />
<mvt:comment>
<!--
<h2>XML</h2>
<mvt:assign name="g.sli:xml" value="''" />
<mvt:assign name="g.ts" value="'xml-full'" />
<mvt:item name="ry_toolbelt" param="benchmark|sli_xml_call|START" />
<mvt:call action="g.url" method="'GET'" fields="'w,af,ts'">
<mvt:assign name="g.sli:xml" value="g.sli:xml $ s.callvalue" />
</mvt:call>
<mvt:item name="ry_toolbelt" param="benchmark|sli_xml_call|END" />
<mvt:item name="ry_toolbelt" param="benchmark|sli_xml_call|SHOW" />
<mvt:assign name="l.parse" value="xml_parse_var( g.sli:xml, g.sli:xml_parsed )" />
<mvt:eval expr="decodeattribute(glosub(miva_array_serialize(g.sli:xml_parsed), ',', '<br>'))" />
-->
</mvt:comment>
以上是关于xml Miva - mvt:致电SLI搜索的主要内容,如果未能解决你的问题,请参考以下文章
xml Miva - mvt:调用基本授权标题
xml Miva - mvt:调用SOAP请求
xml Miva - mvt:做Sitemap
xml Miva - 价格组查询与mvt:做
xml Miva - 使用mvt:do生成RMA
xml Miva - mvt:按图像类型代码加载图像