5 ms·
I started this to specifically dump my saved stories to an XML feed, which I hook up to http://ifttt.com http://ifttt.com and auto-import into Pinboard. Working
by nicksergeant 15y ago
I started this to specifically dump my saved stories to an XML feed, which I hook up to http://ifttt.com http://ifttt.com and auto-import into Pinboard. Working great, so far.
I know there are a bunch of HN CLIs out there, but none handle saved stories (the only thing this supports, right now).
- pyre 15y agoMine only does saved stories. Though it's in Perl, not Python. It was whipped up in response to a complaint several months ago. It just never had a Show HN. Http://github.com/bsandrow/hn-profile/
- draegtun 15y agoShame you didn't do a Show HN because it looks interesting/promising so thanks for pointing me to it. In return I can give you a clickable link :) http://github.com/bsandrow/hn-profile/ http://github.com/bsandrow/hn-profile/
- ez77 15y agoin response to a complaint What kind of complaint?
- pyre 15y agoSomeone was complaining in the comments that there was no easy way to get the full list of saved stories back out of HN. I whipped up this script to do that in response. It had been an idea I was batting around in the past, but the comment provided the motivation to create it. edit: Looked up the thread, and turns out it was an inquiry, and not a complaint. http://news.ycombinator.com/item?id=2479416 http://news.ycombinator.com/item?id=2479416
- ez77 15y agoItem #N I'm learning on HN today: .netrc! I read that I need a "machine remote_hostname token pair". What should I use for remote_hostname in this case? Thanks!
- ez77 15y agoSelf-answer, for anyone interested. It's in the source code [1]: die "Error: No matches for news.ycombinator.com in ~/.netrc." [1] https://github.com/bsandrow/hn-profile/blob/master/hn-profile https://github.com/bsandrow/hn-profile/blob/master/hn-profil...
- dmn001 15y agoLast week I had also written the same thing in Perl to login and handle saved stories, and then add them to a folder in Instapaper.
- narag 15y agoThank you very much, I've been wanting to do that for a long time.