8 ms·
Hit Shift key 4x on a NYTimes article and see what happens
- Zhenya 15y agoShows you the paragraph markup?
- donohoe 15y agoNope - it allows you to link to individual Paragraphs as well as Highlighting sentences (just click them to toggle the Highlight). As you do this it updates the URL so you can share it. They Keys to identify the text are generated dynamically and tolerant to change (so if a Paragraph is modified or moved later on - rare) it will still link tot he correct one within a given tolerance.
- zacharydanger 15y agoShows up when you double-tap the shift key.
- jerrya 15y agoThat's nice in how it allows you to link to individual paragraphs: http://www.nytimes.com/2012/04/04/health/doctor-panels-urge-fewer-routine-tests.html?_r=3&partner=MYWAY&ei=5065#p[MpaBtc] http://www.nytimes.com/2012/04/04/health/doctor-panels-urge-...
- donohoe 15y agoYou can also highlight sentences across all the text too
- abrowne 15y agoYou only need to press shift twice; the pilcrows that appear are paragraph-specific anchor links. They explain the system a bit at http://firstlook.blogs.nytimes.com/2010/11/30/a-few-new-features/ http://firstlook.blogs.nytimes.com/2010/11/30/a-few-new-feat...
- username3 15y agoSticky Keys?
- mattmanser 15y agoIt does seem a bizarre key choice, 5 hits of the shift key will prompt the sticky keys dialog to appear on most of the worlds computers that have a shift key. Quite easy to do as a 'tic' when you notice this undiscoverable 'feature'.
- ohashi 15y agoI noticed the paragraphs after a couple clicks but was clicking too fast to stop when the change occurred. I got sticky keys too.
- oasisbob 15y agoPrevious discussion on Emphasis: http://news.ycombinator.com/item?id=2093820 http://news.ycombinator.com/item?id=2093820 The NYTimes open sourced it: http://open.blogs.nytimes.com/2011/01/11/emphasis-update-and-source/#h[WtEIyw,2] http://open.blogs.nytimes.com/2011/01/11/emphasis-update-and... https://github.com/NYTimes/Emphasis https://github.com/NYTimes/Emphasis
- kmfrk 15y agoThanks for this. I've always known about emphasis.js, but not the keyboard shortcut.
- verisimilitude 15y agoI just noticed this when I tried invoke Instant Send[0] with a modifier tap[1] in LaunchBar. A bit annoying that it blocks the LaunchBar functionality. [0]: http://www.obdev.at/resources/launchbar/help/InstantSend.html http://www.obdev.at/resources/launchbar/help/InstantSend.htm... [1]: http://www.obdev.at/resources/launchbar/help/ModifierTaps.html http://www.obdev.at/resources/launchbar/help/ModifierTaps.ht...
- jack-r-abbit 15y agook... now that is pretty nice. I'll be adding that to my tool box. Thanks!
- jack-r-abbit 15y agohuh? why the down vote?
- DanBC 15y agoI didn't down vote. I guess someone thought your comment was content free. It is frustrating when you have low karma for people to down vote but not explain why. Usually they balance out.
- jack-r-abbit 15y agoI'm not even sure I know what "content free" means. So complimenting the post as being nice and stating that I plan to make use of the information in the future is worthy of a down vote? I wasn't expecting an up vote but I didn't think anyone would dislike my comment so much to take that 1 sec to click it down. Whatever.
- jack-r-abbit 15y agoawesome... 3 more down votes. At this rate I should be back down to 0 Karma by morning. If I am doing something wrong here wouldn't it be better to tell me what it is rather than just down vote in silence?
- Volpe 15y agoYou're kind of ranting about downvotes... no one cares, and it's annoying. Why care about karma so much? It's just a mechanic this site uses, it's no reflection on your character.
- jack-r-abbit 15y ago
- donohoe 15y agoFork it! (oh, and tap Shift key 2 times, not 4) Take a look at the Source on Github which has been updated from the original I wrote for the NYT. It also now uses jQuery (NYT was dependent on PrototypeJS) https://github.com/NYTimes/Emphasis https://github.com/NYTimes/Emphasis Its a nifty project to contribute to and I welcome updates and discussion.
- emehrkay 15y agoThat seems like a lot of code to, from a simple guess, shows/hides a hyperlink.
- brokentone 15y agoIt enables paragraph based linking and paragraph (or sentence) based highlighting. With error correction in case the article has changed. Don't guess, read the release notes (http://open.blogs.nytimes.com/2011/01/11/emphasis-update-and-source/ http://open.blogs.nytimes.com/2011/01/11/emphasis-update-and... as noted many times in the comments here).
- emehrkay 15y agoMy ignorance, I skipped straight to the src after playing with the shift key. This is some damn cool stuff after reading the link.
- ricardobeat 15y agoThe pilcrow is too small. It's a small target, and I barely noticed them - I stood here tapping shift repeatedly until I quit and came to the comments to see what it was about... the grey background is also almost invisible.
- mlntn 15y agoI tapped Shift 6 times and a nickel spit out of my USB drive. Amazing!
- RandallBrown 15y agoNothing happens in IE. Not that anyone here cares...
- cynwoody 15y agoNothing happens in Chrome 18 on Mac, either. Works in Firefox 11, however. Also works in Safari 4 (an old version).
- david_shaw 15y agoWeird - works for me on Chrome 18.0.1025.142 (latest) on OS X Lion.
- cnu 15y agoChrome 18.0.1025.142 beta here and works for me.
- arkitaip 15y agoNothing in Opera 11.62
- stalled 15y agoWorks for me (newly installed Opera 11.62 Build 1347 on Windows 7).
- rockLAWbster 15y agoIE- there is another??? good to hear.
- TazeTSchnitzel 15y agoWhich? I get nothing in IE10.
- mthwl 15y agoThese are called WinerLinks, as in Dave Winer from over at scripting.com. The Times started doing this in 2010, here are his thoughts: http://scripting.com/stories/2010/11/29/theNyTimesLeadsAgain.html http://scripting.com/stories/2010/11/29/theNyTimesLeadsAgain... More info here: http://scripting.com/stories/2010/11/30/winerlinksAndOutliners.html http://scripting.com/stories/2010/11/30/winerlinksAndOutline... Note, that on his blog, he uses a simple, tiny # character after each paragraph to allow direct linking. No shift key required.
- huhtenberg 15y ago> tiny # character ... which is really annoying. (edit) What I don't understand why he wouldn't show these # on hover over a respective paragraph.
- seldo 15y agoSeriously. It's honestly one of the primary reasons I can't stand reading his stuff; each little hashmark is a reminder that the writer thinks his thoughts are so important you will want to quote them by chapter and verse, like a holy text.
- Tipzntrix 15y agoOr an easy way to reference readers of your own material to any quotes you may use from him. This makes it a lot less time-consuming to link to his articles. Does this actually bring him more traffic? I don't know, but it's interesting to know that it's actually hurting his traffic from what you're saying. Personally, I'd be more inclined to link to his article in my own because it's that much easier.
- bengillies 15y agoI believe the original name for them is Purple Numbers[1], though as Dave Winer mentions, the NYTs implementation doesn't appear to create the links properly. [1] http://en.wikipedia.org/wiki/Purple_Numbers http://en.wikipedia.org/wiki/Purple_Numbers
- 15y ago
- deleted 15y ago[deleted]
- dsteinweg 15y agoIt looks like it's pulling characters from the paragraph to generate the "unique" paragraph ID. ID = First letter from the first 3 words in the first sentence in the paragraph + First letter from the first 3 words in the last sentence in the paragraph. I wonder... for all the different articles on NYTimes, and the different configurations of words across paragraphs, is this unique enough such that you won't get duplicate paragraph IDs in any given article?
- celoyd 15y agoEspecially because it works in exactly the way you specify even when there’s only one sentence in a paragraph. So the paragraph: That was too much for the water district’s attorney. And: They were torn apart by angry ducks. Will both hash to “TwtTwt”. One-sentence paragraphs are probably deprecated in the NYT’s style guide anyway, but I imagine it might still come up.
- donohoe 15y agoOne sentence paragraphs still happen but it still works :)
- WiseWeasel 15y agoIt only has to be unique within the article, since it's added to the article path, and there would likely be some kind of provision to add or swap out for a unique character in case of conflict. It's also case-preserving, so that implies likely case-sensitivity as well. I guess we'll have to find an instance of two - probably single-sentence - paragraphs with the same characters and same capitalization in the same story to be certain. Not it!
- crazygringo 15y agoI was so confused by this the other day... I didn't know why these paragraph marks were showing up all over the place. Nice to finally find out what on earth that was!
- Sidnicious 15y agoWait, does the text shuffle around for anyone else when you click on a sentence? EDIT: It looks like an odd CSS issue: the first line of each paragraph is being hidden.
- IanDrake 15y agoCopy text from this article, past it somewhere and see what happens: http://www.newsobserver.com/2012/03/31/1969051/apple-plans-nations-biggest-private.html#storylink=misearch http://www.newsobserver.com/2012/03/31/1969051/apple-plans-n...
- pbhjpbhj 15y agoWill be interesting to know what the submitter makes from their affiliate link appearing in the submission.
- nhebb 15y agoOoh, I wish Readable would add this. I typically only use Readable for long articles. When reading part-way through, leaving, and coming back, it's a pain to locate the paragraph where you left off.
- kruhft 15y agoNothing. Ubuntu 11.10 + Firefox 10.0.2.
- prodigal_erik 15y agoWhoever wired this up forgot that "p[MpaBtc]" needs to actually appear in the name of an anchor for the URL to reliably point to that paragraph. Clever idea but bad authoring that just fails without javascript.
- Stratego 15y agoThe fact that people are only now discovering this year old feature goes to show how lacking its user interface is. It's a great idea, and a great implementation, but it has no affordance whatsoever to promote discovery.
- deleted 15y ago[deleted]
- deleted 15y ago[deleted]