The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Smalltalk Twittering

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Smalltalk Twittering Posted: Mar 19, 2007 3:31 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Smalltalk Twittering
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

I may be skeptical about Twitter, but it does have a lot of buzz at the moment. So - I've created a small domain model that can create objects from the XML status file that Twitter generates. If you want to try it out, load Twitter from the Public Store, and then try this:


client := HttpClient new.
contents := (client get: 'http://twitter.com/statuses/public_timeline.xml') contents.
parser := XML.XMLParser new.
parser validate: false.
xml := parser parse: contents readStream
^Twitter.Constructor from: xml.

That's all it does right now - if you inspect the result, you'll get a collection of Status objects (each with a user). Michael and I intend to build a UI for it (the goal being a small notification application). If you're interested in helping out, go ahead and load that and have a look.

Technorati Tags: ,

Read: Smalltalk Twittering

Topic: Smalltalk Daily 3/16/07: Menu State Previous Topic   Next Topic Topic: It's Bubble 2.0

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use