3 ms·
See http://ycombinator.com/s2007.html for details. The application form lives at http://news.ycombinator.com/apply. Probably time to make urls in comments turn
by pg 20y ago
See http://ycombinator.com/s2007.html for details. The application form lives at http://news.ycombinator.com/apply.
Probably time to make urls in comments turn into links.
- nostrademons 20y agoAnd support paragraphs! Most informative, insightful comments take more than a couple of sentences. Currently, that makes them unreadable.
- Arrington 18y agoThis is why we can't have nice things.
- python_kiss 20y agoIf news.ycombinator.com is running on php, then the following code can be used to convert into links: $Insert_Message = eregi_replace('(((f|ht) {1}tp://)[-a-zA-Z0-9@:%_\+.,~#?&//=]+)','<a href="\\1" target="_blank">\\1</a>', $Insert_Message); $Insert_Message = eregi_replace('([[:space:]()[ {}])(www.[-a-zA-Z0-9@:%_\+.,~#?&//=]+)','\\1<a href="http://\\2" target="_blank">\\2</a>', $Insert_Message); $Insert_Message = eregi_replace('([_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z] {2,3})','<a href="mailto:\\1" target="_blank">\\1</a>', $Insert_Message); I hope that helps :) - Jawad Shuaib
- jwecker 20y agoI'll bet when Arc is really ready that whole thing will take about 4 characters, right Paul? ;)
- Arrington 18y agoThis is why we can't have nice things.