TechLifeWeb

Exploring the digital life

Twitter to iCal

I was thinking last night that it might be interesting to take your Tweets and put them on a calendar. Kind of a life stream with calendar integration. I do crazy stuff like this because it helps me learn.

I figured since Twitter outputs to RSS I could take that and morph it into an iCal feed. As it turns out, this isn’t that hard with Yahoo! Pipes. However, it isn’t really doesn’t work all that well. The problem is that Yahoo Pipes only polls the RSS every 30 minutes or so. So if you tweet a lot things will get missed. Also, it will only hold the last 20 tweets at the time of polling. And then there is the calendar the polls iCal. I have no idea how often that happens.

So, this is just a proof of concept kind of thing. I thought since I got this bit figured out I’d release it and see if anyone else comes up with something better.

Here is how it works:

  • Go to: http://pipes.yahoo.com/techlifeweb/twitterical
  • Enter your twitter name (public accounts only, sorry) in the box provided imageand click Run Pipe
  • When the results com back, click More options and right click on Get as iCal then click “Copy Link Location” in your browser.

You now have the link to the iCal version of your Tweet. How you set this up in your calendar varies on calendar application.  Here, we’ll use Google calendar.

  • Open your Google Calendar
  • In the lower left click ‘add’ 
  • and then ‘Add by URL’
  • When the dialog box pops up, past in the iCal URL you copied in the steps above and click Add Calendar.

It will take a few seconds to a minute and they you will see your last 20 tweets in your calendar. You can change the colors if you want.

image 

So, developers out there, if you do something cool with this, please let me know.

How to Build An Information Monitor

Many people use various social services to stay in touch and to keep up with current events. One of my current favorites is Twitter. Over a year ago, Twitter turned off a service, called Track, that let you track topics. Track let you ‘follow’ a topic whether it was in your twitter stream of followers or not.

In the wake of Track, a developer created a service called TwitterSpy which let you use Google Talk to perform similar functions to that of Twitter’s Track. I’ve written about this before in my how to on setting up TwitterSpy and Google Talk.

While all this was going on, another social network called FriendFeed has joined the scene. I created an account not long after FriendFeed was brought on line and hooked it up so my tweets went from Twitter to FriendFeed but that was pretty much the end of it.

In recent weeks, limits put on the Twitter API and other discussions online have caused me to take another look a FriendFeed. I have to say, the people behind FriendFeed have done an amazing job and have created something truly unique. You just have to spend a bit of time exploring it and figure out how the pieces fit together.

In this article I am going to show you how I have used FriendFeed as the ‘glue’ to build a system to track a couple topics I am interested in, stay current with breaking news and events and also keep up with friends. While no programming is required, there are some necessary details to work through. Once this up front work is done, then adding, deleting or changing things is easy.

The main thing you will need is a FriendFeed account. It is good if you have Twitter too but it is unnecessary if all you want to do is track topics at Twitter. Actually, you don’t have to track Twitter, it is just my example. More on that later.FreindFeed Lists

Once you set up your FriendFeed account you will see lists on the left-hand column. Click ‘new list’ and call it Track (you can call it what ever you like but we’ll use Track for this tutorial).

You don’t need to add any Friends yet unless you are already following some friends on FriendFeed that you know you will want to track. Either way, you can add or remove friends later.

Now, here is were the powerful magic starts to happen. Lets say you want to track a topic people are talking about on Twitter. You could just go to Twitter Search but I have created a custom Yahoo Pipe for this purpose instead. I’ll explain why in a minute.

Go to http://pipes.yahoo.com/techlifeweb/twittersearchfeedbuilder

In this example we’ll track tweets containing the words Microsoft and Silverlight:

Instructions are at the top to help you build searches with AND OR operators. You can exclude tweets from yourself by adding your Twitter name in the second field. Click Run pipe, then click Get as RSS.

pipes1

Copy the RSS URL from your browser window. You will need this in a minute.

Ok so why the Pipe? After all, Twitter Search provides its own RSS feeds. The rub is that when you look closely at the feed generated by Twitter Search, you will see it doesn’t show you who tweeted. Here is an example of the same results as above:

search1

My Pipe figures out who tweeted and puts their twitter name at the start of the tweet. This way you can know who to respond to if you want.

Now for the next piece of magic, creating an Imaginary Friend. A cute quirky name but part of the brilliance of FriendFeed.

Go back to FriendFeed and, at the top Imagine1right of the screen, click Friends. Then click the Imaginary tab. Now click the Create Imaginary Friend button. Call it anything you like but I recommend having the name relate to what you are tracking. For this instance I would call it Silverlight_Tracker.

Now you will see your new ‘friend’. If you are creative you could create an icon for it instead of the smiley but that really isn’t necessary. Under Miscellaneous, click Custom RSS/Atom.

In the new box, paste in the RSS URL from the Yahoo pipe above.

Imagine2

Next check Display entries as messages (no link).

Click Import Custom RSS/Atom.

This will then pull in the latest results from the Pipe search.

Before you leave this screen, where it says Friend Lists under your imaginary friend’s name,  click add/edit. This will bringImagine3 up a list of all your lists. By default, your friend is in your Home feed list. You can uncheck that if you want, that is up to you. But do be sure to check the box next to Track. This lets all your friend’s posts show up in your new tracking system.

When we check the Track list we will see everything we are tracking so far. In our case now, just the Silverlight_Tracker shows up as in this screen shot:

Imagine4 

You can see that because we named it well, it gives us an idea of the subject matter of the tweet (more relevant when you add more things to track). And, because we used my Pipe, you can see who posted the tweet. Also, don’t forget, this is a search and returns all results whether you follow these people on Twitter or not.

You can use the above method for any RSS/Atom feed you may want to track. Create an imaginary friend for each one. If you are on Twitter, I recommend using the Pipe to create a track feed of your own user name. This way you don’t miss any tweets with your twitter name in the tweet. Another handy feed to track is my Ego Feed.

The Friends you track don’t have to be Imaginary.  You can track other people or services on FriendFeed itself. One of my favorites is BreakingNewsOn. Go to Friends in the upper right of FriendFeed, click the Find + Invite tab and search for BreakingNewsOn. When the results come back, subscribe to this friend then be sure to add it to the Track list.

Further, you can track someone on another service who isn’t on FriendFeed but that FriendFeed can connect directly to. This makes the service more than just an RSS reader. For example, lets say a photography buddy of yours isn’t on FriendFeed but does post her pictures on Flickr and you want to track when she puts up new photos. Follow the steps to create an imaginary friend then choose the Flickr service and enter their Flickr user name. Add this imaginary friend to the Track list and you are now tracking them.

If you want to stop tracking someone (or some topic) you can simply remove your friend from the Track list. You can also unsubscribe friends or delete imaginary ones. Its up to you and really depends on if you just want to stop tracking temporarily or more permanently.

Once you start experimenting with this method of track you will see how powerful it is. Give it a try. If you are using this in a unique way I’d love to hear about it.

But wait, there’s more! Next time, I will show you how to take this system to the next level.

Bookmarks for September 2nd 2008 through September 3rd 2008

Sites that I found interesting for September 2nd 2008 through September 3rd 2008:

  • Google trashes their own “Do No Evil” policy with Chrome – … By submitting, posting or displaying the content you give Google a perpetual, irrevocable, worldwide, royalty-free, and non-exclusive license to reproduce, adapt, modify, translate, publish, publicly perform, publicly display and distribute any Content which you submit, post or display on or through, the Services. … You confirm and warrant to Google that you have all the rights, power and authority necessary to grant the above license
  • BearhugCamp – Where Steve Gillmor will delineate the architecture of this three branch approach, including a new Laconica instance which will serve as a reference node, and a group of participating developers and users who are committed to a realistic alternative to Twitter’s current strategy.
  • Why Twitter is winning – Twitter is winning not because it has managed its success well but because its competitors have bungled the counterattack.

How to set up TwitterSpy in Google Talk

An enterprising developer has brought the Track feature back to Twitter! As I have written before, Twitter Track lets you follow keywords or subjects. This is important to grok. Tell GTalk ‘track silverlight’ and any Tweet containing the word silverlight, no matter whether it is in your twitter stream of followers or not will show up in GTalk. This is huge and lets find people talking about subjects you are interested in. Really the greatest way to find people with like interests as well as the experts on topics.

It was awesome! Then, Twitter disabled it a month or so ago for reasons they say are related to performance. Serious drag for power users and completely breaks my Ultimate Twitter Client. We got some of the features back with a 3rd party tool called Summize. Summize lets you create a search string and gives you real time results. This allows you to keep a browser tab open to Summize with your search query. Summize will then update the page to tell you there are new results. Here, for example, is how I track tweets containing my user name (either a direct @techlifewebor the word techlifeweb somewhere within the tweet) but not tweets that I post:

summize1

If I leave the results open and another result is later found, the screen will update to show:

summize2

Summize has a whole set of operators that you can string together to help you find what you are looking for. Read more: Summize Operators. On a side note, Twitter may be obtaining Summize, according to TechCrunch this afternoon.

TwitterSpy gives you a mashup of XMPP (the IM protocol that Google Talk/Chat uses) and Summize data. This lets you track query strings through your IM client rather than having to refresh a tab all the time. It also extends Summize to other devices that you can use IM on (e.g., Blackberry).

To get it set up in Google Chat (the IM feature with in GMail. This will work for Google Talk as well):

1. In Gmail, go to the chat sidebar and paste in twitterspy@jabber.org

2. In the popover that opens, click Invite to Chat

twitterspy1

3. You will get another window, click Send Invites

twitterspy2

This will generate an auto response for twitterspy and twitterspy will then become a friend that you can IM with. First thing to do is IM ‘help’ (no quotes) and you will get a list of the things you can do:

off    Disable updates.
on    Activate updates.
track    Track a topic (summize query string)
tracks    List your tracks.
untrack    Stop tracking a topic

For example, if I want to create a query like the one above, I simply IM: track techlifeweb -from:techlifeweb

So glad to have at least pseudo-track back! We’ll see what happens if a Twitter/Summize merger goes forward.

UPDATE 19JUL08: Many changes have been made to TwitterSpy. Typing help:

autopost    Enable or disable autopost
follow    Follow a user
help    Get help for commands.
lang    Set your language.
leave    Leave (stop following) a user
off    Disable updates.
on    Activate updates.
post    Post a message to twitter.
search    Perform a sample search (but do not track)
track    Track a topic (summize query string)
tracks    List your tracks.
twlogin    Set your twitter username and password (use at your own risk)
twlogout    Discard your twitter credentials
untrack    Stop tracking a topic
watch_friends    Enable or disable watching friends.
whois    Find out who a particular user is.

You can then then use twlogin to log into twitter via TwitterSpy in Gtalk. Then you can post new messages to Twitter. Only slight difference at present is you need to type the word ‘post’ before you tweet. For example: post Hello World will show up in Twitter as Hello World. The command ‘post’ does not count toward your 140 character count.

The command ‘watch_friends on’ will allow you to see all your friends tweets. This is cool but things can really fly by at times. I still prefer the Hahlo web page when I am at my computer.

Also, I meant to link to this in the original post, see Rob La Gesse’s excellent post on Twitter and Track for one of the best explanations I’ve seen to help people ‘get’ Track.

links for 2008-05-17

links for 2008-02-17