在Yahoo Pipes中使用HTTPS资源?

时间:2009-02-10 05:47:35

标签: http https yahoo-pipes

可以在Yahoo Pipes的URLBuilder中使用HTTPS:资源吗?

我使用了HTTP:很容易,但是当我将其更改为HTTPS时:我收到错误。

3 个答案:

答案 0 :(得分:10)

您可以通过YQL (Yahoo! Query Language)“代理”您的https网址来解决不支持https的雅虎管道问题,这会支持https。雅虎管有源和> YQL模块,您可以使用YQL查询传递https网址:

select * from rss where url='https://example.com/example.rss'

使用此查询,YQL模块将返回原始https Feed中的所有项目。

[via HTTPS, Pipes and YQL]

答案 1 :(得分:7)

你目前被困住了。截至2009年9月2日,Yahoo Pipes does not support https

有可能设置自己的代理服务器为您提取SSL并通过http重新提供内容,但这不是我曾尝试过的。

答案 2 :(得分:6)

雅虎!管道目前不支持HTTPS。我解决这个问题的方法是在我自己的网络服务器上设置一个PHP页面,该页面将获取HTTPS提要并通过HTTP回显它。然后我把管道对准了。

这可以胜任:

<?php
    $feed_contents = file_get_contents('https://example.com/feed.rss');
    header('Content-Type: application/rss+xml');
    echo $feed_contents;
?>
相关问题