1. Technology


Ruby can be used with a variety of networking protocols to download web pages and send email. These pages will address how to use HTTP, SMTP and raw sockets to implement your own networking protocols.
  1. Rack (8)
  2. SSH (4)

5 Tips for Using Twitter With Ruby
Twitter provides programmers with an excellent API, which is why so many Twitter interfaces exist for tweeting, following updates, following friends and thread-sorting. Writing Twitter clients in Ruby is a breeze!

3 Ruby Scripts for Twitter
In the previous series, 5 Tips for Using Twitter with Ruby, we concentrated on the technical aspects of connecting to Twitter, making API calls and parsing the data returned. In this series, all of that will be handled by the excellent Twitter Gem by John Nunemaker.

How to Twitter in Ruby on Rails
The Twitter API (Application Programming Interface) in Ruby on Rails is about as simple as you can get. Twitter is a RESTful Rails application.

How to Parse Twitter XML in Ruby
Twitter API and you issue the command to query a timeline, you'll need to know how to parse it. It can be done easily enough using Hpricot.

How to Tweet From Ruby
Now that you have a handle on the Twitter API and parsing the data returned by Twitter, it's time to start tweeting!

How to Follow Someone on Twitter With Ruby
Learn how to follow Twitter updates using Twitter's openly-provided Ruby API.

How to Use the Twitter Gem for Ruby
Using the Twitter RubyGem, making API requests to Twitter is even easier than using the twitter method.

Automatically Following Followers on Twitter
Since the Twitter API makes it easy to do anything you can do on the website, writing a script to automatically follow followers is very simple.

Update Twitter From an RSS Feed
This Ruby script to update Twitter from an RSS feed is what's often referred to as a "mashup." Mashups interface one protocol to another, or one website to another. This mashup takes information from an RSS feed and posts it as updates to Twitter.

Be Notified of New Twitter Updates by IM
It's a pain to switch to a Web browser every you want to check your Twitter updates. This script solves that by sending you an instant message (IM) using the Jabber protocol when there's something new to see on Twitter.

Send Email with Ruby
How to send email with SMTP in Ruby.

Checking Your Email with Ruby
How to check your POP3 email accounts in Ruby.

Ruby net/http Documentation
Documentation for the net/http module used for communicating with web servers.

Ruby Sockets on PLEAC
Socket programming examples on PLEAC, the Programming Language Examples Alive cookbook.

Ruby net/smtp Documentation
Documentation for the net/smtp class needed to send email from Ruby.

Monitoring Networking Traffic with Ruby
Control the pcap network traffic monitor program with Ruby.

Easy Network Access with open-uri
Access any network protocol easily with open-uri.

You can opt-out at any time. Please refer to our privacy policy for contact information.

©2014 About.com. All rights reserved.