vitor Posted June 12, 2017 Share Posted June 12, 2017 (edited) Get the latest Hacker News (hn) and Pinboard Popular (pbp) links. Action any link to open it in the background in your default web browser. Action it with ⌃ to copy it to the clipboard. If listing Hacker News links, actioning with ⌥ will open the comments thread (set the hn_main Workflow Environment Variable to comments to invert this behaviour). Lists are updated automatically and cached. To force the lists to update, run :hackerboardforceupdatelists. Download | Source Edited November 22, 2020 by vitor CodeAlchemist, Yuri and nikivi 3 Link to comment
nikivi Posted June 12, 2017 Share Posted June 12, 2017 This is really awesome. Thank you @vitor. I think for hacker news the workflow lacks up vote count so its best to use web version but for pinboard, this is really awesome. ? Link to comment
vitor Posted June 12, 2017 Author Share Posted June 12, 2017 11 minutes ago, nikivi said: I think for hacker news the workflow lacks up vote count The workflow grabs their RSS feed, which does not provide them. Either way the up vote count would be skewed, since results are cached for four hours. To get accurate up vote counts I’d need to regrab the page with every request, which would make the workflow slower. Link to comment
nikivi Posted June 13, 2017 Share Posted June 13, 2017 (edited) I understand. I was thinking, perhaps Github Trending also has an RSS feed. Would be awesome to add. Will break the cool name you have there though. Edited June 13, 2017 by nikivi Link to comment
vitor Posted June 13, 2017 Author Share Posted June 13, 2017 Your repo is trending today! I don’t care much about breaking the name, as the description is general enough. I don’t think I’ll add Github Trending, though, as those aren’t really news. That seems more appropriate for a Github-centric Workflow. That said, I have thought about adding Prodcut Hunt, , and that kind of blurs the line. But Product Hunt’s RSS (Atom feed) has short descriptions next to the names of the products, while Github trends does not (the one I found; I haven’t seen an official one, even). That makes Product Hunt well suited to be included in a Script Filter, ad Github Trends not. nikivi 1 Link to comment
vitor Posted February 26, 2019 Author Share Posted February 26, 2019 Update. Added an hn_main Workflow Environment Variable. If you set it to comments, Hacker News’ main action will open the comments thread, and the secondary (⌥) will open the linked website. Also made some general code updates and fixed a bug where only the Pinboard list was being updated on force. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
dood Posted June 27, 2019 Share Posted June 27, 2019 Olá Vitor! I'm getting a 404 on the Github link – would you mind reuploading the workflow? Obrigado! Link to comment
vitor Posted June 27, 2019 Author Share Posted June 27, 2019 1 hour ago, dood said: I'm getting a 404 on the Github link Weird, I wonder what happened. Seems to be the only one affected, but I’ll check. 1 hour ago, dood said: would you mind reuploading the workflow? Feito. You may need to reload the page. Link to comment
dood Posted June 28, 2019 Share Posted June 28, 2019 It's working now, thanks! vitor 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now