为 iPhone 应用程序缓存 Yahoo Pipes

发布于 2024-12-25 18:48:34 字数 555 浏览 0 评论 0原文

您好,我一直在 Yahoo! 中创建 RSS 提要!在我正在构建的 iPhone 应用程序中使用的管道。我的管道工作正常并且包含正确的信息,我只有一个问题。每当 Yahoo Pipes 需要刷新数据时,因为我的 iPhone 应用程序正在访问 feed URL,它需要大约 30 秒来更新 feed,这对于 iPhone 应用程序来说是一个非常长的更新等待时间。

我一直在寻找一种方法,在我的 iPhone 应用程序和雅虎管道之间建立一个中间人。这样它就可以每隔几分钟查询一次雅虎管道。这样,雅虎管道的任何缓慢加载都不会产生影响,因为中间人将始终至少拥有来自雅虎管道的最新缓存,以便 iPhone 应用程序快速下载。那么 30 秒的等待时间只会影响中间人,并使任何更新速度变慢,但不会减慢 iPhone 应用程序的速度。

我尝试了 Feed Burner,但它并没有完全按照我想要的方式工作,而且我也希望能够存储用于存储 RSS Feed 的 JSON。我想知道是否有人知道我没有想到的任何简单的解决方案。几天来我一直在尝试寻找一种方法,但我无法完全为我想做的事情想出正确的搜索词。任何帮助或正确方向的指出将不胜感激,或者至少对要搜索的内容有一些指导会很棒。谢谢!

Hi I have been creating RSS feeds in Yahoo! pipes to use in an iPhone application that I am building. I have the pipe working fine and containing the right information, I only have one problem. Every time that Yahoo pipes needs to refresh it's data because my iPhone app is accessing the feed URL, it takes about 30 seconds for it to update the feed and that is a very long waiting time in an iPhone app for an update.

I have been searching for a way to basically have a middle man between my iPhone app and yahoo pipes. So that it can query yahoo pipes once every few minutes. This way any slow loading by yahoo pipes won't matter because the middle man will always have at least the latest cache from yahoo pipes stored for the iPhone app to quickly download. Then the 30 second wait time will only affect the middle man and make any updates to that slower but it won't slow down the iPhone app.

I tried feed burner but that didn't quite work how I wanted and I would also ideally like the JSON for the RSS feed to be stored. I was wondering if anyone knows of any simple solutions that I haven't thought of. I have been trying for days to search for a way but I can't quite come up with the right search terms for what I want to do. Any help or points in the right direction would be much appreciated, or at least some guidance on things to search for would be great. Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小霸王臭丫头 2025-01-01 18:48:34

听起来您正在寻找提要缓存服务。您可以尝试这些人

如果这不起作用,您始终可以编写一个快速网络应用程序,每小时左右下载一次提要,然后提供缓存版本。我相信如果您需要主机,亚马逊仍然会向新用户提供免费的微型 EC2 实例。

It sounds like you're looking for a feed caching service. You can try these guys.

If that doesn't work out you can always write a quick web app that downloads your feed every hour or so and then serves the cached version. I believe amazon is still giving out free micro ec2 instances to new users if you need a host.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文