Oneboxing is a handy feature in chat for quickly previewing links, but the list of supported sites is very small, and occasionally boxes for sites such as Wikipedia can break and fetch any image/text.

Instead of having to request additional sites to be added to the onebox list (1, 2, 3, 4, 5, and of course this huge list), we could let the sites themselves handle the oneboxing with some <meta> tags, such as:

<meta name="onebox-title" content="The Onebox Title"/>
<meta name="onebox-image" content="/image.png"/>
<meta name="onebox-summary" content="This is the summary for a site's onebox"/>

Then when a link is placed on its own in chat, the oneboxing spider would look for these tags and, if they are found, show the appropriate data.

Support for these tags would certainly be bad (for lack of any real better term) at first, though most users of SO chat could easily add it to their personal / company's sites (should they be in such a position) and writing friendly suggestions to other sites to implement them isn't exactly a gargantuan effort.

This would also present an opportunity for currently oneboxed sites to set in stone what should be shown, such as each Wikipedia article setting the main image to be oneboxed instead of SO's spider picking one willy-nilly.

Finally, sites implementing these tags would lay the foundation for other sites and services to develop similar features to the onebox, without having to write per-site scrapers.


1 Answer 1


I'm all for opening up oneboxing, but not for creating yet another standard.

There are already several competing standards for onebox-like functionality and semantic representation of web page data:

If Stack Exchange is going to do this, they should adopt one of those instead of re-inventing the wheel. My preference is for oEmbed, with a secondary preference of Open Graph.

Fortunately, the charging one has been solved now that we've all standardized on mini-USB. Or is it micro-USB? Shoot.

Note 1: what you're proposing is pretty close to Open Graph anyway.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .