| Truffle Media Networks Show Series | ![]() | ![]() | |
![]() | ![]() | ![]() |
Capturing base Twitter discussions
Submitted by Truffle Media N... on January 1, 2010 - 7:46am.
Tag terms:
These are some of the steps Truffle uses to semi automatically capture Twitter discussions like #Agchat. They are not perfect and do require some understanding some information technology. Ideally this would have a simple interface where you supply the Twitter search term and magically returned is the HTML for your web page...
This whole post is mainly the technical / manual steps. What is missing is the editorial process steps and discussed in later post.
FYI, These steps rely on your having Ruby plus Hpricot (install and info) to interpret the support files.
Grab the tweets in a big batch- Grab twitter conversation and process with command line ruby tool GetFromTwitter.rb.
-
Use command line example
ruby GetFromTwitter.rb 2009-12-29 2009-12-31 "agchat" "Agchat test" > agchat.html
command link items are: start date, end date, quoted search hash tag without hash sign, quoted text that will be at top of page; note end date is not used right now but is needed in command line - Post output to website as a standalone page, like http://www.trufflemedia.com/twitter/Agchat20081229Frame.html .
- Extract links with http://www.iwebtool.com/link_extractor using stand alone web page link from above.
- Copy data into Excel and sort with functions to find twitter participants and useful links.
- OrganizeChatQuestions.rb has code to scan and pull question response tweets from the twitter conversation captured (above).
-
Use command line example
ruby OrganizeChatQuestions.rb "question 1" 1 "http://website.com/agchat.html" > agchatq1.html
command link items are: quoted text that will be at top of page, question number, quoted url of twitter discussion to capture - Push question files to server as web pages.
- Using questions web pages generated above, organize questions using Delicious; grab questions in reverse order (last one first). Tag links with agchat, date, and q (ex agchat, 20091026, q)
Reference links
- Organize ref links in Delicious, order not important
- Tag links with agchat, date, and link (ex agchat, 20091026, link)
- Use Delicious tags and pull RSS feed into your website
- Edit html of transcript and reduce to just enough to have info you want.
| Attachment | Size |
|---|---|
| GetFromTwitter.rb | 3.86 KB |
| OrganizeChatQuestions.rb | 2.92 KB |
Looking for Relevant Ag Media?
Truffle Library
Latest Posts
- DairyCast update for March 9, 2010, What Impact Does Nutrition Have on Reproduction?
- SwineCast Update For March 4, 2010, Truth Of Animal Antibiotic Use?
- BeefCast Update for March 4, 2010, Increasing your AI pregnancy rate in cows
- Truffle Media Update for March 3, 2010, Agriculture Discussions You Need to Know About
- CropVillage update for February 26, 2010, Farmers Answer Consummers' Food Questions
- PoultryCast update for Februray 25, 2010, Review of Pew Commission on Industrial Farm Animal Production
- DairyCast update for February 24, 2010, Increasing Your AI Pregnancy Rate in Cows
- AMC 0039 - Joanna Schroeder utilizes the web to capture and share stories in agriculture
- BeefCast update for February 18, 2010, Steve Foglesong is Optimistic New President of National Cattlemen's Beef Association
- SwineCast update for February 18, 2010, Answering Your Neighbors And Legislators Following CBS' Antibiotic Ag Use Story






Post new comment