This post originated from an RSS feed registered with Ruby Buzz
by James Britt.
Original Post: RubyConf 2005 FaceBook Page
Feed Title: James Britt: Ruby Development
Feed URL: http://feeds.feedburner.com/JamesBritt-Home
Feed Description: James Britt: Playing with better toys
If you are going to RubyConf 2005, and want to make your visage known to others so that they may recognize you, there's a page started by Francis Hwang on the Ruby Garden wiki for posting pix.
For my entry, I just couldn't decide what picture to use, so I wrote a Ruby script to redirect to a random image:
#!/usr/local/bin/ruby
def redirect( new_page)
print "Location:#{new_page}\n\n"
end
The link-making code for the wiki page will magically turn an image URL into an img element, but my script ends with the .rb extension. No problem; I just appended a vestigial query string to the URL: