public
Description: Read an RSS feed (even HTTPS with authentication) and rebroadcast it to a Twitter account.
Clone URL: git://github.com/trak3r/rss2twitter.git
Search Repo:
Created a test jig for shorturl services and changed to the shortest.
trak3r (author)
Tue Apr 29 19:00:45 -0700 2008
commit  48eef21d8beec7ff101790ea83422f6a612b688b
tree    4a80d8b070e8596cc5ebfe460efb0fe7a260f7ef
parent  c2cd9599af48800317205643175055282d25780e
...
22
23
24
25
 
26
27
28
...
22
23
24
 
25
26
27
28
0
@@ -22,7 +22,7 @@
0
   end
0
 
0
   def short_url
0
- @cached_short_url ||= ShortURL.shorten(self.link, :tinyurl)
0
+ @cached_short_url ||= ShortURL.shorten(self.link, :metamark)
0
   end
0
   
0
   def optimized_title
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
0
@@ -1 +1,34 @@
0
+#!/bin/ruby
0
+
0
+require 'rubygems'
0
+require 'shorturl'
0
+
0
+[ 'rubyurl',
0
+ 'tinyurl',
0
+ 'shorl',
0
+ 'snipurl',
0
+ 'metamark',
0
+ 'makeashorterlink',
0
+ 'skinnylink',
0
+ 'linktrim',
0
+ 'shorterlink',
0
+ 'minlink',
0
+ 'lns',
0
+ 'fyad',
0
+ 'd62',
0
+ 'shiturl',
0
+ 'littlink',
0
+ 'clipurl',
0
+ 'shortify',
0
+ 'orz',
0
+ 'moourl',
0
+ 'urltea'].each do |method|
0
+ printf "%20s: ", method
0
+ begin
0
+ printf "%s", ShortURL.shorten('http://trak3r.blogspot.com', method.to_sym)
0
+ rescue InvalidService, SocketError
0
+ printf "broken!"
0
+ end
0
+ printf "\n"
0
+end

Comments

    No one has commented yet.