我想根据另一个推特帐户的关键字自动从一个用户帐户发出推文。例如,以下是我目前在Pipes中设置的内容:
使用Fetch Site Feed - http://twitter.com/homesincypress
Filter -允许匹配以下任意项的项…
item.title > Contains #bridgelands
item.title > Contains #bridgeland
item.title > Contains bridgeland
item.title > Contains bridgelands
Filter -阻断匹配下列任意项的项…
item.title > Matches regex - RT.*RT
通过从Pipes输出中抓取RSS输出到另一个Twitter帐户,并使用TwitterFeed用这些规则更新其他Twitter帐户。
推特看起来像这样-"HomesinCypress: bridge - lands Around the World in 80 sips。品酒及样板房参观。2006年9月8日至7日,湾泉,柏树281-543-4947。"
所以,这就是我想要弄清楚的…
我如何在管道中构建规则,其中HomesinCypress:被排除在推文之外?
按如下方式使用regex模块
项。标题(或任何它是)替换^.*?:s?
这样你就可以修改任何其他的tweeter feed,而不仅仅是一个HomesinCypress