README.md in onebox-1.5.10 vs README.md in onebox-1.5.11

- old
+ new

@@ -70,11 +70,21 @@ url = "http://www.amazon.com/gp/product/B005T3GRNW/ref=s9_simh_gw_p147_d0_i2" preview = Onebox.preview(url) "#{preview}" == preview.to_s #=> true ``` +Development Preview Interface +============================= +The onebox gem comes with a development server for previewing the results +of your changes. You can run it by running `rake server` after checking +out the project. You can then try out URLs. + +The server doesn't reload code changes automatically (PRs accepted!) so +make sure to hit CTRL-C and restart the server to try a code change out. + + Adding Support for a new URL ============================ 1. Check if the site supports [oEmbed](http://oembed.com/) or [Open Graph](https://developers.facebook.com/docs/opengraph/). If it does, you can probably get away with just whitelisting the URL in `Onebox::Engine::WhitelistedGenericOnebox`. @@ -170,10 +180,10 @@ ========== Add this line to your application's Gemfile: gem "onebox", "~> 1.2" - + And then execute: $ bundle Or install it yourself as: