這裏是你可以做一個辦法 - 用3個模塊交換標題和描述字段:
- 獲取傳遞:拉RSS提要。我使用Yahoo Finance feed作爲示例。
- 重命名:請item.title的副本newDesc,並item.description作爲newTitle的
- 創建RSS:設置標題newTitle的描述newDesc,其他爲默認值
我創建了一個樣本管你可以查看和複製:http://pipes.yahoo.com/pipes/pipe.info?_id=ffc846056c71a4dd3df7b01d16fdd613
下面是從原來的Yahoo Finance RSS feed樣本:
<item>
<title>Samsung Posts $7.4B Profit as Handsets Mask Weak Chip Sales</title>
<link>http://us.rd.yahoo.com/finance/news/rss/story/SIG=149kpevtc/*http%3A//us.rd.yahoo.com/finance/news/topfinstories/SIG=126hhlj6u/*http%3A//finance.yahoo.com/news/samsung-posts-7-4-bln-234859667.html?l=1</link>
<description>Samsung Electronics Co., the world's top technology firm by revenue, reported record quarterly profit of $7.4 billion on Friday, with strong sales of its Galaxy range of phones masking sharply lower memory chip sales.</description>
<guid isPermaLink="false">yahoo_finance/1866191516</guid>
<pubDate>Fri, 26 Oct 12 00:55:44 GMT</pubDate>
</item>
...和h ERE是從樣品管輸出相應的,標題爲&描述交換:
<item>
<title>Samsung Electronics Co., the world's top technology firm by revenue, reported record quarterly profit of $7.4 billion on Friday, with strong sales of its Galaxy range of phones masking sharply lower memory chip sales.</title>
<link>http://us.rd.yahoo.com/finance/news/rss/story/SIG=149kpevtc/*http%3A//us.rd.yahoo.com/finance/news/topfinstories/SIG=126hhlj6u/*http%3A//finance.yahoo.com/news/samsung-posts-7-4-bln-234859667.html?l=1</link>
<description>Samsung Posts $7.4B Profit as Handsets Mask Weak Chip Sales</description>
<guid isPermaLink="false">yahoo_finance/1866191516</guid>
<pubDate>Sat, 30 Mar 1918 19:36:14 +0000</pubDate>
</item>
注:在我的樣本上述事情發生的pubdate的。我認爲這可能是雅虎管道緩存問題,將在下次管道運行時清除。