Permalink
Browse files

update readme and rake for rubyforge

  • Loading branch information...
1 parent fcafff1 commit e18859e19c6089c979b3648fa018e1a9a8800eb6 Wesley Beary committed May 20, 2008
Showing with 16 additions and 14 deletions.
  1. +14 −13 README.txt
  2. +2 −1 Rakefile
View
@@ -11,19 +11,20 @@ Ruby wrapper to the Google AJAX API REST interfaces(Feeds, Language and Search).
* First, setup referer: GoogleAjax.referer = 'http://mydomain.com'
* Optionally, you can also set an api_key: GoogleAjax.api_key = 'YOUR_API_KEY'
-* Now you are set to go, so a few examples:
-* * GoogleAjax::Feed.find('ruby') # Find top 10 feeds for 'ruby'
-* * GoogleAjax::Feed.load('http://monki.geemus.com/feed/atom.xml') # Load 4 most recent entries from feed 'http://monki.geemus.com/feed/atom.xml'
-* * GoogleAjax::Feed.lookup('http://monki.geemus.com') # Find feed for 'http://monki.geemus.com'
-* * GoogleAjax::Language.detect('Ciao mondo') # Find the language of the string 'Ciao mondo'
-* * GoogleAjax::Language.translate('Hello world', 'en', 'it') # Translate 'Hello world' to italian
-* * GoogleAjax::Search.blogs('ruby') # Find top 4 blogs for 'ruby'
-* * GoogleAjax::Search.books('ruby') # Find top 4 books for 'ruby'
-* * GoogleAjax::Search.images('ruby') # Find top 4 images for 'ruby'
-* * GoogleAjax::Search.local('ruby', 48.8565, 2.3509) # Find top 4 local results for 'ruby' at latitude 48.8565, longitude 2.3509
-* * GoogleAjax::Search.news('ruby') # Find top 4 news results for 'ruby'
-* * GoogleAjax::Search.video('ruby') # Find top 4 video results for 'ruby'
-* * GoogleAjax::Search.web('Hello world') # Find top 4 web page results for 'Hello world'
+
+=== Now you are set to go, so a few examples:
+* GoogleAjax::Feed.find('ruby') # Find top 10 feeds for 'ruby'
+* GoogleAjax::Feed.load('http://monki.geemus.com/feed/atom.xml') # Load 4 most recent entries from feed 'http://monki.geemus.com/feed/atom.xml'
+* GoogleAjax::Feed.lookup('http://monki.geemus.com') # Find feed for 'http://monki.geemus.com'
+* GoogleAjax::Language.detect('Ciao mondo') # Find the language of the string 'Ciao mondo'
+* GoogleAjax::Language.translate('Hello world', 'en', 'it') # Translate 'Hello world' to italian
+* GoogleAjax::Search.blogs('ruby') # Find top 4 blogs for 'ruby'
+* GoogleAjax::Search.books('ruby') # Find top 4 books for 'ruby'
+* GoogleAjax::Search.images('ruby') # Find top 4 images for 'ruby'
+* GoogleAjax::Search.local('ruby', 48.8565, 2.3509) # Find top 4 local results for 'ruby' at latitude 48.8565, longitude 2.3509
+* GoogleAjax::Search.news('ruby') # Find top 4 news results for 'ruby'
+* GoogleAjax::Search.video('ruby') # Find top 4 video results for 'ruby'
+* GoogleAjax::Search.web('Hello world') # Find top 4 web page results for 'Hello world'
== REQUIREMENTS:
View
@@ -9,8 +9,9 @@ Hoe.new('GoogleAjax', GoogleAjax::VERSION::STRING) do |p|
p.rubyforge_name = 'googleajax'
p.developer('monki(Wesley Beary)', 'monki@geemus.com')
p.summary = 'Ruby wrapper to the Google AJAX API REST interfaces(Feeds, Language and Search).'
- p.extra_deps << ['json', '>= 1.0.0']
p.url = 'http://googleajax.rubyforge.com'
+ p.remote_rdoc_dir = ''
+ p.extra_deps << ['json', '>= 1.0.0']
end
# vim: syntax=Ruby

0 comments on commit e18859e

Please sign in to comment.