Re:Show HN: Newsit – Get to HackerNews or Reddit Comments (C...
by gitgud on Monday July 16, 2018 @11:38AM
(#17542139)
Thanks! And good questions, firstly no scraping involved. The api's are much easier to work with.
For Hacker News it uses the official JSON api https://github.com/HackerNews/API/blob/master/README.md
And for Redit, it simply queries the url directly eg: https://reddit.com/example.com/article.html
As for your second question, go easy on me it's my first extension ;) But yes I plan to port it to Firefox too, as the extension APIs are amazingly similar!
Re:Show HN: Newsit – Get to HackerNews or Reddit Comments (C...
by gitgud on Wednesday July 18, 2018 @12:31PM
(#17559793)
Hey, so I refactored and made a Firefox addon! it's pretty cool that firefox allows addons on mobile, so it works there too!
Here's the link:
https://addons.mozilla.org/en-GB/firefox/addon/newsit-hnews-...
Let me know what you think, or if there's any issues
Re:Show HN: Newsit – Get to HackerNews or Reddit Comments (C...
by ognarb on Monday July 16, 2018 @11:16AM
(#17541933)
Does it means that each url I visit with this addons enabled are send to a foreign server?
Re:Show HN: Newsit – Get to HackerNews or Reddit Comments (C...
by gitgud on Monday July 16, 2018 @11:44AM
(#17542193)
Yes the add-on needs to query the public APIs of Reddit and Hacker News in order to check if the article has been posted already. Clicking the icon disables it though if its annoying.
Re:Show HN: Newsit – Get to HackerNews or Reddit Comments (C...
by arama471 on Monday July 16, 2018 @03:20PM
(#17544176)
Could you add a mode in which it only queries the APIs if I click the extension icon? Like that it would allow me to instantly search for comments without submitting all my browsing history to reddit/HN
Re:Show HN: Newsit – Get to HackerNews or Reddit Comments (C...
by gitgud on Monday July 16, 2018 @07:41PM
(#17546116)
That's a great idea actually, then its only working when you want it to. I'll add that as soon as I can!
Re:Show HN: Newsit – Get to HackerNews or Reddit Comments (C...
by fwdpropaganda on Monday July 16, 2018 @11:23AM
(#17541999)
That's exactly what I was trying to discover.
Two questions:
First, will you tell us how it works? My guess is that you have scrapped these dicussions from reddit and HN and your extension contacts a server asking "show me reddit and HNs for this news". Is this correct?
Second, will you kindly stop contributing to Google's eco-system? Time and time again Google has shown the world the complete disregard they have for everything but their bottom line. By comparison Mozilla's behavior has been impeccable.