4 ms·
A cool thing you could do with this is adding a javascript function in the file that automatically submits a story when this button is included. That would real
by michael_fine 14y ago
A cool thing you could do with this is adding a javascript function in the file that automatically submits a story when this button is included. That would really elevate it from a link with some styling to something that's really useful.
- jermaink 14y agoHey Michael, I think that already exists via the hnlike.com Button. However, transferring the Facebook Like logics to the self-selected HN Community had been critically discussed here: http://news.ycombinator.com/item?id=2934178 http://news.ycombinator.com/item?id=2934178 That´s why I thought about embedding a button as a link only.
- sbashyal 14y agoI am the author of the original HNlike button http://news.ycombinator.com/item?id=2934178 http://news.ycombinator.com/item?id=2934178 I have since then modified the Like button (www.hnlike.com) such that it acts as a submit button if the link has not been submitted yet. If it has already been submitted, it simply links to the discussion page in Hacker News. See it in action here: http://hacksandthoughts.posterous.com/ http://hacksandthoughts.posterous.com/ Nice work, jermaink!
- jermaink 14y agosbashyal, I really liked your work, which is comprising much more than my few lines of css. Also, I think displaying the current HN score is way better than the (indirect) external possibility to upvote items via linking. Last feature caused big discussions as you know :)