Hacker News new | past | comments | ask | show | jobs | submit login
Twitter feed of Hacker News stories as soon as they reach 20 points (twitter.com/newsyc20)
71 points by jmillerinc on July 19, 2010 | hide | past | favorite | 39 comments



Clever but how about a real RSS feed of those so I don't have to go to an RSS feed, then twitter, then bitly, then the original link?

Especially since with the shortened URL I don't really know where I am going.


Done - http://feeds.feedburner.com/newsyc20

Comments will show up in the rss items (not active yet, should show up within the hour).


Clever but how about a real RSS feed of those so I don't have to go to an RSS feed, then twitter, then bitly, then the original link?

Yes, use Readability to parse the pages and show the full text of the article directly in the RSS feed.


The Readability parse is a good idea, but implementing that would need more time than I can spare right now. If anyone wants to do the legwork on that, please contact me and I'll be happy to put it in the feed.


Someone has done it before[0], but the feed doesn't seem to be available anymore.

0: http://news.ycombinator.com/item?id=542334


You forgot the the app for the RSS feed.


I like how you included both links. The problem I had with the other twitter feed is that it linked only to the original story and not to Hacker News.


Thx. The tweets will also contain an attribution if the submitter lists a twitter handle in their HN profile.


This one (disclosure: I maintain it) links directly to the HN page: http://twitter.com/HNComments


nice, thx


If anyone is interested I built a Yahoo Pipe that pulls in stories with 10+ votes: http://blog.abrah.am/2010/05/hacker-news-10-rss-feed.html


YAHNTB!! (Yet Another HN Twitter Bot) ,,, added to the list here: http://twitter.com/joemurph/hn-bots/members


http://twitter.com/newsycombinator is also good if you want anything that hits the front page (surprisingly it has almost 14,000 followers.. which seems sky high compared to the number of HN users to me.. :-))


This totally solves the problem I asked about a month ago. Thanks! http://news.ycombinator.com/item?id=1453143


This is actually useful. Care to share how you implemented it?


It's a Python script I run every 5 minutes with cron. It uses BeautifulSoup to scrape the newsyc front page, Tweepy to send out out tweets, and sqlite3 to keep track of which stories have already been tweeted.


Why use an sqlite DB when you can use the twitter feed its self to check whether or not a story has been posted?


Because twitter is unstable, and the api is rate-limited.


Could you share the source please?


How about if the original link is small enough to fit in without truncation (bit.ly), then show the original link as well as a bit.ly link to the comments.

I hate losing the domain information in bit.ly links, and the @hackernewsbot (http://twitter.com/hackernewsbot) does a nice job of showing the original URL when possible.


Done.


Well done!

Any idea how difficult it would be to support an arbitrary user customizable point threshold?


I'd have to create multiple twitter feeds for different point thresholds. If there's a particular one you have in mind, let me know.


Something like 100 - so it's only 2 or 3 stories per day would be nice.


Here's a challenge.

Create an app that lets you request an average of n stories per day and translates that request into a threshold.


Yep, that or create a simple web-app where users can log in (using OAuth preferably) and configure the number of stories they see a day or the karma threshold and then spin up a custom RSS feed for them.

Might be a fun weekend project...


Check out hacker news daily: http://www.daemonology.net/hn-daily/ (top 10 stories per day)


Done. @newsyc100 (also have @newsyc50)


If it isn't too much trouble a version of this for 40 points (and maybe 60) would be great. I find 20 to be way too much traffic in my Twitter feed, so I unsubscribed from it.


I just a newsyc20 tweet that said (via my twitter-id)

Figuring out the HN poster's twitter id and then including that in the tweet makes newsyc20 even more interesting


The trailing close paren is becoming part of the bit.ly links. (At least on IE and Firefox, for me.)


Twitter has always included trailing parens in links (even though, it seems more often than not they're not supposed to be). On the bright side, bit.ly ignores them so you still get the originally intended link.

I'm pretty sure trailing square brackets are ignored - anyone know for sure?


Thanks for catching that. I've changed the code to use square brackets instead of close parens.


It's doing it on the square brackets too. =) It's not a huge deal; as another person replied to me, bitly seems to ignore them and get you where you're going.


One thing I'd like to see is the YCombinator logo for the logo, helps it stand out.


Done


Thanks!


Nicely done, Jeff, useful!


Nice. Now do the same thing for reddit.

/ducks




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: