Bra*_*Guy 4 https http yahoo-pipes
是否可以在Yahoo Pipes的URLBuilder中使用HTTPS:资源?
我使用了HTTP:很容易,但当我将其更改为HTTPS时:我收到错误.
ax.*_*ax. 10
您可以通过支持https的YQL(Yahoo! Query Language) "代理"您的https网址来解决不支持https的雅虎管道问题.yahoo管道有Sources> YQL模块,您可以通过这样的YQL查询传递https网址:
select * from rss where url='https://example.com/example.rss'
Run Code Online (Sandbox Code Playgroud)
使用此查询,YQL模块将返回原始https Feed中的所有项目.
[通过HTTPS,管道和YQL ]
雅虎 管道目前不支持HTTPS.我解决这个问题的方法是在我自己的网络服务器上设置一个PHP页面,该页面将获取HTTPS提要并通过HTTP回显它.然后我指着管道.
这可以做到这一点:
<?php
$feed_contents = file_get_contents('https://example.com/feed.rss');
header('Content-Type: application/rss+xml');
echo $feed_contents;
?>
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2138 次 |
最近记录: |