不能让pubDate在Yahoo! Pipes中输出? [英] Can't get pubDate to output in Yahoo! Pipes?

查看:152
本文介绍了不能让pubDate在Yahoo! Pipes中输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Yahoo! Pipes中的一个RSS Feed中,我使用Date Formatter模块格式化日期,并使用格式%K,因此它们符合pubDate。在管道输出中,我的四个日期显示如下: Wed,25 Jul 2012 03:30:00 +0000 Mon,16 Jul 2012 06: 30:00 +0000 Wed,11 Jul 2012 07:00:00 +0000 Wed,27 Jun 2012 13:00:00 +0000

In one of my RSS feeds in Yahoo! Pipes, I'm formatting dates using the Date Formatter module and using the format %K so they are pubDate-compliant. In Pipe Output, my four dates appears as follows: Wed, 25 Jul 2012 03:30:00 +0000, Mon, 16 Jul 2012 06:30:00 +0000, Wed, 11 Jul 2012 07:00:00 +0000, and Wed, 27 Jun 2012 13:00:00 +0000.

但是,在RSS提要输出中,这些日期都不显示。他们格式不正确吗?为什么Yahoo! Pipes不输出这些日期?

However, in the RSS feed output, none of these dates appear. Are they formatted incorrectly? Why does Yahoo! Pipes not output these dates?

推荐答案

所以我现在意识到,我需要输出日期到 y:published 而不是 pubDate 。这似乎没有被广泛记录。甚至Googling y:published 不会返回很多结果。

Okay, so I now realize that I need to output dates to y:published rather than pubDate. This doesn't seem to be widely documented. Even Googling y:published doesn't return many results.

以下是更详细的步骤:


  1. 您有一个易于阅读的日期,如 2013年1月8日在自己的字段,例如 pubDate (名称并不重要;它仅用于步骤2 )。

  2. 将您的Feed连接到循环模块。在该模块中,放置 Date Builder 模块,并指定找到日期的字段(例如 pubDate

  3. 仍然在循环模块中,选择将结果分配给并输入 item.y:published

  1. You have an easy-to-read date such as 8 Jan 2013 in its own field, such as pubDate (name doesn't matter; it's just used in Step 2).
  2. Connect your feed to a Loop module. Inside that module, put the Date Builder module, and specify the field where the date is found (such as pubDate).
  3. Still in the Loop module, select "assign results to" and enter item.y:published.

应该在 pubDate 字段,因此应该可以在任何RSS阅读器中读取。

That should output the date in the RSS output in the pubDate field, and it should therefore be readable in any RSS reader.

这篇关于不能让pubDate在Yahoo! Pipes中输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆