【问题标题】:Yahoo Pipes: Using URL Builder to customize item.link in RSS Item Builder ModuleYahoo Pipes:使用 URL Builder 自定义 RSS Item Builder 模块中的 item.link
【发布时间】:2009-08-13 18:36:47
【问题描述】:

http://pipes.yahoo.com/pipes/pipe.edit?_id=85a288a1517e615b765df9603fd604bd

我正在尝试构建棒球媒体源。我正在使用的“获取数据”输出不会吐出指向媒体的链接,尽管它确实提供了需要附加到以下 URL 的视频 ID [item.contentID]:mlb.mlb.com/media/video .jsp?content_id=

我不知道如何使用 URL Builder、String Builder、RegEx 来实现这一点,但您可以通过我在那里绘制的内容了解基本概念。

谢谢!

【问题讨论】:

    标签: pipe yahoo-pipes


    【解决方案1】:

    感谢 Pipes 留言板上的某个人,使用 RegEx 模块,我能够做到这一点。通过将它放在 Fetch Data 和 RSS Item Builder 之间,我能够替换 contentId 值。

    In [item.contentID], replace ^ with mlb.mlb.com/media/video.jsp?content_id=
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-10-05
      • 1970-01-01
      • 1970-01-01
      • 2016-07-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多