[求助]问题从Bing API v2迁移到V5 [英] [SOLVED] Issue migrating from Bing API v2 to V5
问题描述
您好,
我正在努力将我的网站迁移到新的Bing API v5,我有一些问题。
First在新闻查询部分,我无法显示源名称,现在是提供者名称。我不知道为什么,但没有任何表现。
以及源网址名称。我可以只显示www.bing ...而不是网站的网址。
i'm working on the migration of my website to the new Bing API v5 and i have some issue.
First on the news query part, i can't display the source name, now the provider name. I don't know why but nothing shows.
And also for the source url name. I can just show www.bing... and not the url of the website.
对于视频部分,我有同样的问题来显示源网址,而不是bing网址。
For the videos part, i have the same problem to display the source url, and not the bing url.
我正在使用这种东西:
$ TMPL ['url'] = highlightKeyword($ value-> provider-> ; name);
$TMPL['url'] = highlightKeyword($value->provider->name);
https://msdn.microsoft.com/en-us/library/dn760783.aspx
如果有人可以提供帮助我是这样的。
谢谢。
问候。
If anyone can help me with that.
thanks.
Regards.
编辑:已解决
I没有使用良好的访问...
I was not using the good access...
$ TMPL ['url'] = highlightKeyword($ value-> provider [0] - > name);
$TMPL['url'] = highlightKeyword($value->provider[0]->name);
推荐答案
这是Azure Stack论坛而非Bing论坛。
This is the Azure Stack forum not the Bing forum.
请找到Bing论坛并在那里发布问题。
Please find the Bing forum and post the issue there.
谢谢
Daniel。
这篇关于[求助]问题从Bing API v2迁移到V5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!