rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@apache.org
Subject svn commit: r1161117 - /incubator/rave/site/trunk/content/rave/documentation/oauth-consumer.mdtext
Date Wed, 24 Aug 2011 14:26:43 GMT
Author: jasha
Date: Wed Aug 24 14:26:43 2011
New Revision: 1161117

URL: http://svn.apache.org/viewvc?rev=1161117&view=rev
Log:
RAVE-82 Fix heading & list level

Modified:
    incubator/rave/site/trunk/content/rave/documentation/oauth-consumer.mdtext

Modified: incubator/rave/site/trunk/content/rave/documentation/oauth-consumer.mdtext
URL: http://svn.apache.org/viewvc/incubator/rave/site/trunk/content/rave/documentation/oauth-consumer.mdtext?rev=1161117&r1=1161116&r2=1161117&view=diff
==============================================================================
--- incubator/rave/site/trunk/content/rave/documentation/oauth-consumer.mdtext (original)
+++ incubator/rave/site/trunk/content/rave/documentation/oauth-consumer.mdtext Wed Aug 24
14:26:43 2011
@@ -19,15 +19,15 @@ Notice:    Licensed to the Apache Softwa
 After following the instuctions, you will be able to use Rave as an OAuth consumer. You will
add an OpenSocial Gadget
 that displays your Google Contacts, using Google as OAuth provider.
 
-# Place the gadget definition on your server
+## Place the gadget definition on your server
 Place the [example OAuth Gadget](http://gadget-doc-examples.googlecode.com/svn/trunk/opensocial-gadgets/oauth-contacts.xml)
 on your *own* public server. Make sure that the gadget is accessible without any restrictions.
 
-# Register your web application
+## Register your web application
 Follow [Google's instructions](http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html)
to register
 your domain for OAuth Authentication. You will create an OAuth consumer key and secret.
 
-# Add the OAuth consumer key and secret to the Rave database
+## Add the OAuth consumer key and secret to the Rave database
 Until there is a web interface to handle the contents of the database, execute the following
query (use your own values)
 
     INSERT INTO oauth_consumer_store(id, gadget_uri, service_name, consumer_key, consumer_secret,
key_type)
@@ -35,19 +35,19 @@ Until there is a web interface to handle
                                     'http://example.com/sampleoauth.xml', 'google',
                                     'gadgetConsumer', 'gadgetSecret', 'HMAC-SYMMETRIC');
 
-# Add your Widget to the Rave database
+## Add your Widget to the Rave database
 Within the Widget Store it is possible to add your own Widget. Self added widgets must be
published first.
 
     INSERT INTO widget (id, title, url, type, widget_status)
     VALUES(set(@widget_id_oauth, next value for widget_id_seq), 'Google Contacts',
             'http://example.com/sampleoauth.xml', 'OpenSocial', 'PUBLISHED');
 
-# Use the Widget
+## Use the Widget
  - Go to the Widget Store and add the "Google Contacts" gadget.
  - Then go back to your page.
-  - Click on the link "Personalize this gadget"
-  - If you are not logged in yet, log in with your Google account
-  - Click on the "Grant access" button
+    - Click on the link "Personalize this gadget"
+    - If you are not logged in yet, log in with your Google account
+    - Click on the "Grant access" button
 - You are being redirected back to the portal. You should now see your Google contacts
 
 ![Screenshot of Sample OAuth Gadget](/rave/images/screenshot_oauth_gadget.png)
\ No newline at end of file



Mime
View raw message