We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

47

I think this is a good idea. No, these are not videos. They are gifs in a smaller format. Gifs auto-play, these are just gifs that are higher quality and slightly longer. There are no ads, no sound, and it's becoming very popular on imgur and will most likely, render the .gif format obsolete. I think we should stick with the times and allow this feature in....


29

There's not much to it. :) XKCD provides comic data in JSON that we can easily consume, it's a comic that gets quoted a bunch in chat, and at one point a developer cared enough to write-up the parser for the onebox.


27

Since this is presented better I've voted to close this post as a dupe of this. I made a suggestion there that I'll reproduce below. I would like this feature as well, but on the other hand I don't want every link to onebox. I propose something like the following: Gets oneboxed Link by itself (current behavior) https://meta.stackexchange.com/q/120285/...


23

I propose oneboxing support for the Android Market, more specifically for Android apps on the Android Market. This is the relevant part of an app URL: https://market.android.com/details?id=org.droidstack I guess the most important data is the image, title, author, price and the short description. Additionally there is the rating, version and download ...


20

Unacceptable. Fixed with high priority.


17

I like this idea, but would take it one step further. ThinkGeek has fairly complete OpenGraph metadata on it, i.e.: <meta property="og:type" content="product"/> <meta property="og:title" content="Star Trek Cookie Cutters"/> <meta property="og:url" content="http://www.thinkgeek.com/product/ed0a/?cpg=fbl_ed0a"/> <meta property="og:image"...


17

User scripts to the rescue! Works exactly as specified above: Collapse: Expand: So far I've only tested this in Chrome but I expect it to work in any (sane) environment. I've thrown this together pretty quickly, so there may be a few gremlins. If you see anything that doesn't work in the wild, let me know - preferably with a reproducible example ;-) ...


15

Done and done (including some last-minute fixes for some different url constructions)


15

Updated version from chat user Ascii-only: https://github.com/somebody1234/star-thumn Added a "lightbox" for viewing the images on left click without switching tabs Fixed a problem where the script does not load sometimes So... I built this! It's a userscript, direct install link: Click Here (Needs Greasemonkey on Firefox).


14

Chat is all about communication and this can help users communicate better on the same frequency Dictionary web definitions. Kind of like the first result in Google when you type define:. Urban Dictionary meaning. Useful when you want to explain a street/slang words like tl;dr. This could be useful in the English SE and overall chat in general.


12

To get your SE link to "onebox" you must post it on its own line, as its own message. For your example your first line would be i18n astonishing problem: Send that and then as your second line put the link to your question: http://stackoverflow.com/questions/24797758


11

Wikipedia has an API method that attempts to return the best image for a page. It might be worth investigating using that to select the image.


11

While that may seem more convenient, I expect it would be used poorly and result in a lot of broken wikipedia boxes due to word choice, capitalization issues, etc. It doesn't take long to find and post an exact wikipedia link for the user posting it, but it would be annoying and take a lot more people's time every time they saw a oneboxed disambiguation ...


11

I have changed chat to accept up to 15-character subdomains for Wikipedias, and I've also added the dash. If I didn't miss any, zh-classical is the longest one, so this should catch all of them.


10

This icon is supplied by amazon.com at https://www.amazon.com/favicon.ico: The favicon is to be displayed with the URL in the address bar, next to shortcuts, etc. It is nominally supplied as a 16x16 image, which explains the pixelation when shown at 48x48: After some investigation: The ICO format allows for supplying several resolutions in the resource. ...


9

We had a fail over event on our load balancers and ... someone ... might have not had the configs for ssl (chat uses API v2 now) completely in sync.


9

Someone once asked the chat developer (balpha) this very question... Diago: @balpha Very serious question. Is there anywhere that I can read up on how you guys got OneBox to work? Are you using the API and then formatting? balpha: @Diago which oneboxes specifically? the SE question, answer and user oneboxes just use the public SE API (...


9

Blog Overflow blogs will now be recognized and parsed as oneboxes. It's a bit more than just recognizing the url in the whitelist, but also parsing out the pieces of data from the content.


9

I've built a small C# library designed with this in mind: https://github.com/Zirak/CSOpenGraph It's mostly complete, but having no knowledge of what Stackoverflow uses internally, I pretty much picked the first Html parser which cropped up; however, with such a small thing, I'm sure it'll be a trivial change. As the README says, I've tested it on all sites ...


8

Embarrassingly late to this party, but: this should be fixed in a few minutes.


8

Damnit, Shog knows my weak spot. I wrote a quick 'n dirty userscript (source) to patch this until it's fixed properly. Tested in Chrome on the example in the question and the one that prompted the bounty, but it should work in Firefox too.


8

Regex, it's always the regex. Seriously now, the reason is a rogue trailing slash you have in the URL, which is not supposed to be there. If you browse to the ordinary question URL which is https://gaming.stackexchange.com/questions/257112/how-do-i-change-my-name-on-steam the comment links will onebox just fine, e.g. https://gaming.stackexchange.com/...


7

The iTunes App Store, just like the Android suggestion. Actually, all the mobile markets should get one box support.


7

Apparently, Wiktionary now works in chat. Enjoy! Although....apparently it doesn't work all that well -- see the follow-up question.


7

As these things go, it wasn't that easy... but it's done and will be out in the next deployment: Support for multiple parameters (e.g. http://www.youtube.com/watch?&v=ieFVN-PKLSA) Support for shortened links (e.g. http://youtu.be/ieFVN-PKLSA) Support for fragments or parameters with start time (e.g. http://youtu.be/ieFVN-PKLSA?t=3s or http://www.youtube....


7

It seems to me this is because the onebox reads the wikitext of the page and then ignores any templates or special markup. So, for example: {{Nihongo|'''Mount Fuji'''|富士山|Fuji-san|extra={{IPA-ja|ɸɯꜜdʑisaɴ|IPA|Fuji-san.ogg}}}}, located on Honshu Island, is the highest [[mountain]] in [[Japan]] at {{Convert|3776.24|m|ft|0|abbr=on}}. is rendered as: , ...


7

Downside of the script from Tim is that when hovering over the link the broken link is shown. My script fixes the DOM. // ==UserScript== // @name Fix broken double links // @namespace http://stackoverflow.com/users/578411/rene // @version 0.1 // @description fix one-one-boxes // @author rene // @match *://chat.meta....


7

Wikiwand is a really nice plugin that beautifies wikipedia Wikipedia is beautiful, and oneboxes too. Use the Wikipedia url instead of using Wikiwand.


Only top voted, non community-wiki answers of a minimum length are eligible