Friendfeed Truncate Author

http://pipes.yahoo.com/friendfeed-truncate-author

I use FriendFeed to feed some of my Twitter feeds. The problem is that when I do that, the Twitter feed also contains the author (my name) which is very annoying. This pipe takes the URL of a FriendFeed and truncates the usename entered from the title.

Purpose

The SML Fine Art (FriendFeed) grabs content from the following Flickr Groups pool:

It is a public FriendFeed group and anyone can post and add their content.

Screenshot: http://friendfeed.com/smlfineart-group
flickr:4026394191

SML Fine Art's Twitter feed uses TwitterFeed as a service to then post those contents (which include the group pool as well as posted FriendFeed content) onto Twitter as tweets. The problem is, when I post stuff to the group, the tweets ended up having my full name displayed as well, which is very annoying, as it looks as if I'm doing personal promotion - and also takes up way too much space for the 140 character limit:

Screenshot: http://twitter.com/smlfineart
flickr:4027156030

This Yahoo Pipe is created specifically to solve that issue.

Source

flickr:4027120802

Register user inputs

Two User Input modules for the FriendFeed URL and name to truncate.

Constructs the RSS feed URL used for processing

The URL Builder takes the FriendFeedURL and construct the atom feed used for the Fetch Feed module.

Split and process

Use the Split module to split the feed into two halves:

  1. Filter module: permit items which item.title's contains the username
  2. Filter module: block items which item.title's contains the username

Truncate username

Use the Regex module and remove all the text from the beginning til the first instance of : from the item's title using non-greedy search.

^.+?\:

Join, sort and output

Use the Union module to join the two feeds, then Sort by item's pubDate and Output!

Pipes on SML Wiki

Flickr Social
http://pipes.yahoo.com/seeminglee/flickrsocial Flickr Social is a Yahoo Pipe created by See-ming Lee to deal with his frustration on having to get onto Flickr everyday to track his friends' comments...

Meta Search Alerts
http://pipes.yahoo.com/seeminglee/metasearchalerts FoldUnfold Table of Contents Purpose Source Mechanism Tips Change Log Meta Search Alerts in action Here's the pipe in action logging activities...

Search Engine Masturbation
FoldUnfold Table of Contents Related blog posts Pipes on SML Wiki Originally published on 2007-09-13 as SML Pro Blog: Yahoo Pipes: Search Engine Masturbation Thanks to Alex Rainert's generous...

SML Pipes
SML Pipes = See-ming Lee + Yahoo Pipes http://pipes.yahoo.com/seeminglee FoldUnfold Table of Contents Recently posted pipes Pipes on SML Wiki Recently posted pipes Pipes on SML Wiki

SML Thank You
http://pipes.yahoo.com/seeminglee/smlthankyou The geeky way of recording and remembering kindness and generosity from other people. FoldUnfold Table of Contents Screenshots The pipe Sample output...

Twitter Mentions (Yahoo Pipes)
There are many Twitter tools now that allow you to access multiple Twitter accounts at once but there is no tool available that I know of that give you an at-a-glance overview of Twitter RT mentions...

Yahoo Pipes
Yahoo Pipes is a Yahoo product which allow programmers and non-programmers alike to manipulate data sources to generate RSS feeds. It's very useful tool. http://pipes.yahoo.com Pipes on SML Wiki

Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License