Tagalus RSS Feeds added

March 24th, 2009

Tagalus RSS FeedLast night, Tagalus got updated with a feature that disappeared for a while during our PHP-to-#RoR migration.  There are now RSS feeds available for the whole site (a feed that has the most recent tags) and a feed for each tag.  The feeds for individual tags has all of the definitions associated with that tag.  As Tagalus gets more popular and more tags have multiple definitions associated with them, this can be a useful tool to see if others have been adding information to a tag you’ve set up or are interested in.

Is there more information you would like to see in the feeds?  Other types of feeds (feeds for comments are coming soon..)?  Leave a comment or email tagalus [AT] gmail

Tagalus Writeups

March 20th, 2009

Tagalus in ReadWriteWeb

I’d like to give a big thanks to both ReadWriteWeb and ProgrammableWeb for their writeups today.  The press has drawn many new visitors, defining tons of new tags.  The more community involvment there is, the better a resource Tagalus becomes and this a a great step in that direction.

Next goal: have Twitter clients start to use the API for inline interaction with Tagalus.  TweetDeck, Tweetie, are you listening?

Search Improved - Full text searching now available

March 20th, 2009

Tagalus Full Text SearchUntil recently, the search box on the Tagalus front page only allowed you to search within Tags and not their defintions.  So, a search for “twitter” would return #twittercrush, but not #twavatar.

A couple of days ago, the search was upgraded so that it now searches through definitions as well (using Xapian for those interested in such things).  As you can see from the image above, this means that searching for “twitter” returns not only tags with “twitter” in the tag itself, but also if it is mentioned in the definition.  This is true for not only the Ajax suggestion box (pictured), but also on the search results page that appears if you click the search button without choosing one of the suggested results.

This will soon be reflected in the API as well, which will have a variety of search options.

Teaser: this is paving the way for some very cool collaboration ideas that are being discussed right now - hopefully more info coming soon.

Tagalus Widget

March 10th, 2009

Tagalus widget exampleRight on the heels of the announcement of our API, we’re announcing one of the first applications of it: the Tagalus Widget.

The Tagalus Widget provides a way for other web-apps to leverage the power of Tagalus by letting users view and set tag definitions without leaving the page.  In the pictured example (from Combotweet), a user has clicked on the Tagalus icon next to the tag .  When they click, a box pops up displaying the definition of the tag.  Also, if the user has entered an API key (or the site has set one for the user), they are allowed to create their own definition and submit it to Tagalus.

Because of cookie restrictions, the user has to set their API key for each site, but if they check “Remember your API key,” the key will be stored so that they don’t have to enter it each time that come back to the site.

Adding the widget to your site

Adding the widget to your site is relatively easy.  There are three required files:

- jQuery (http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js)

- Tagalus Widget CSS (http://tagal.us/stylesheets/tagalus_widget.css)

- Tagalus API Interface script (http://tagal.us/javascripts/tagalus_api_interface.js)

To add the functionality to this blog (running a modified version of the default theme), here’s the code that I put in the <head> section of the document:


<script src="http://tagal.us/javascripts/tagalus_api_interface.js" type="text/javascript"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<link href="http://tagal.us/stylesheets/tagalus_widget.css" media="screen, projection" rel="stylesheet" type="text/css"/>

<script type="text/javascript">
jQuery(document).ready(function() {
TagalusAPI.load_widget();
TagalusAPI.add_buttons_to_elements("a[rel='tag']")
});
</script>

The code is fairly self-explanitory, with the exception of the last bit.  First, it imports the three required files (<script> and <link> elements).  Then, it uses jQuery’s docment.ready to determine when the page is ready, and proceeds to load the widget.  The next call is where the magic is: TagalusAPI.add_buttons_to_elements.  This is the function that puts the clickable Tagalus icons next to tags in your page (note that the link still clicks through to its original destination) - if you would like to just have the link open up the widget and forgoe the icon, use TagalusAPI.bind_to_links(selector).  The argument that you feed it is a jQuery selector.  So, if you wanted it on every link of the page, you would call TagalusAPI.add_buttons_to_elements(”a”).  For every link of class ‘tagalus_link’, you would call TagalusAPI.add_buttons_to_elements(”a.tagalus_tag”).  In this case, we’re looking for all of the links that have “tag” in their ‘rel’ element - something that all pages that use the Tag microformat would use.  Read more about jQuery selectors here.

We hope to have a Wordpress plugin automating this functionality soon for your blogs.  But, keep in mind this is not limited to blogs - it is already in use on Combotweet, which is a Twitter client, for example.  It could also be used on photo viewers, video pages, or whatever you want.

Tagalus API Announced

March 10th, 2009

Until now, Tagalus has allowed two methods to interact with the service - via the website, and via Twitter.  This gave users a fair amount of flexibility in how they interact with the service, depending on their needs.

Today, we’re announcing a new way to interact with Tagalus: an API.

As of now (version 0001), the API allows for most of the functionality that the website offers, including creating tags, definitions, and comments, and of course fetching them as well.  What isn’t available is anything related to creating or editing users, for obvious security reasons.

In regards to authentication and security, all methods relating to fetching data are available without authentication.  Methods that create data require that the client app provide an API key.  API keys are provided to each user - you can find your key by going to the User Details page on Tagalus (you have to be logged in, obviously).  API keys should be kept secret, but in the event that one becomes insecure, a new key can be generated on that same key.  Be forewarned that this will make the old API key invalid.  This will be the authentication method of choice for the time being - it is possible that it will be deprecated in favor of OAuth in the future, but it seems unnecessary at this point.

API limits will not be throttled for the time being, but we reserve the right to adjust that in the future.

Also, the API will be published and modified in versions.  As to not break applications when changes are made to the protocols, client apps will be able to specify which API version they would like to use.  At a certain age, old versions of the API may be deprecated, but the goal is to have at least the current version, plus the revision or two before it available all the time.

To read more about the API and learn how to use it, visit the Tagalus API Documentation

Data Transparency

March 3rd, 2009

There was a request recently for the Tagalus database to be downloadable.  In the interest of data transparency, we’ve added that feature.

In the footer of each page on Tagalus, there is a link called “Download DB,” which points to a tarball that includes all tags, definitions, and comments on Tagalus.  Note: the link may change locations on the page/site at some point, but the URL (http://tagal.us/backup_db) will stay intact.  User id numbers are referenced, so analysis can be done, but for privacy reasons, no other user data is included.

The database file is not completely real-time - it is created by a backup process that runs twice a day, so downloading the DB each time you add a new tag isn’t effective right now, since it won’t be reflected in the tarball until the next backup process runs.

Also, to combat abuse, you must be logged in (using an OpenID or Twitter user name) in order to download the database.  Users will be blocked if they attempt to abuse the service.

Enjoy!

Tagalus Tag Sprint

February 27th, 2009

Okay folks, in the last week, a couple of people have launched sites with similar functionality to the Tagalus website.  As far as I can tell, none have the dual capability of Twitter integration (@tagalus) and the web interface.  Also, none of them have the ability to vote on crowdsourced definitions - something I think is valuable to making sure a definition is reliable, accurate, and timely.

But, with the launch of the new sites, Tagalus needs to gain some traction and authority!  So, I’m proposing the first #tagsprint!

Here’s the deal - I’m asking you guys to define as many #hashtags as possible - yours, other peoples, tags you’ve seen, tags you’ve used, tags you’ve never used, tags you think should exist - it’s up to you!  Also, if you like the service, perhaps consider tweeting about it and pointing your followers toward the site?

Remember, you can either use the website (http://tagal.us) OR tweet: “@tagalus define #___ as ____” to add definitions via Twitter (secret hint: you don’t need to even use the “@” sign - you can just say “tagalus define ___ as ___” and @tagalus will still find it - that way, your followers that don’t follow @tagalus will still see your definitions!)

In return, leave a comment here, on #tagsprint, or tweet @tagalus with feature requests, and I promise to code as many of them as I can as quickly as I can.

Also, on the suggestion of @verso, I’ll try to come up with a prize for the person who defines the most tags - no promises yet, but I’ll try to come up with something.

Lastly, PDX people, I’m especially counting on you for this!  This is a PDX-grown project, which I know you all like to support Silicon Forest projects, right?

New syntax option

February 20th, 2009

Tagalus Syntax

In the past, to get responses from @tagalus on Twitter, you had to use the Twitter ‘reply’ syntax, by having the first word of your tweet be “@tagalus.”  Because of the way Twitter handles replies, most users would not see your tag/definition unless they were following @tagalus as well.  This cuts down on the amount of unwanted data that users have to skim through while reading tweets (ex: your friend @Joe is tweeting to his old elementary school buddy @Tim.  You don’t know @Tim, so Twitter assumes you don’t want to read their conversation unless you tell it to do so).

However, if you’re using Tagalus, maybe you want your friends to see your definitions.  Maybe you want them to go and comment on your definition, write their own, etc.  So, we’ve added a new syntax option: instead of having to say “@tagalus define…..” you can just say “tagalus define….”  This way, everyone following you sees the tweet, since it’s not an @reply to @tagalus.  The @tagalus bot will still be able to sift through and find your tweets and will respond as usual with an @reply to your user name.

Hint: Don’t forget you can substitute “def” for “define” to save characters!

Tagalus featured on the Silicon Florist

February 19th, 2009

Tagalus on the Silicon Florist

Thanks to Rick Turoczy for his fabulous writeup of Tagalus in his Portland/NW-tech blog the Silicon Florist

Tagalus supports Twitter login with OAuth

February 14th, 2009

Tagalus, Twitter, and OAuth

Login to Tagalus with Twitter and OAuth

If you’re feeling brave, you can try logging into Tagalus with your Twitter name via OAuth.  It’s a Beta feature on both the Tagalus end and the Twitter end, but the results are going to be very exciting as the details get ironed out.  OAuth lets a user verify their credentials (username and password) on only the site that owns the user name (in this case Twitter), meaning you don’t have to trust your password with third-party sites anymore.  Good news for everyone.