What is a onebox?


(Arpit Jalan) #1

One very cool feature Discourse has is “oneboxing”. If you include a link to your favourite site, it will try to create a usable snippet for you automatically.

For example: paste the link http://en.wikipedia.org/wiki/Ruby_on_Rails on a line by itself and you will see a nice onebox from Wikipedia


Some samples:

http://en.wikipedia.org/wiki/Ruby_on_Rails

https://www.amazon.com/Amazon-Echo-Dot-Portable-Bluetooth-Speaker-with-Alexa-Black/dp/B01DFKC2SO

https://twitter.com/discourse/status/950513694701531136

http://stackoverflow.com/questions/25427024/what-is-the-used-for-in-ruby

https://github.com/discourse/discourse/pull/2561

https://github.com/rack/rack/blob/master/lib/rack/etag.rb

https://www.theverge.com/2017/10/31/16579748/apple-iphone-x-review

https://www.youtube.com/watch?v=ZrZISyPucMg

https://vimeo.com/97765630

http://techcrunch.com/2013/02/05/jeff-atwood-launches-discourse

https://discourse.codinghorror.com/t/because-reading-is-fundamental/2793

https://stackoverflow.blog/2018/01/11/brutal-lifecycle-javascript-frameworks

https://itunes.apple.com/us/app/duke-nukem-manhattan-project/id663811684?mt=8

https://soundcloud.com/generalelectric/drop-science

https://imgur.com/gallery/rBjJq


[quote] & <blockquote> aren't parsing a URL in a citation as per BBCode & HTML
When a Wiki Post is edited then have problems maintaining the correct width on mobile devices
Rich link previews with Onebox
(Robert McIntosh) #2

content added to updated topic: Rich link previews with Onebox