{"id":21146,"date":"2018-04-06T14:11:57","date_gmt":"2018-04-06T18:11:57","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=21146"},"modified":"2018-04-17T21:03:07","modified_gmt":"2018-04-18T01:03:07","slug":"reading-this-site-with-netnewswire-3","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2018\/04\/06\/reading-this-site-with-netnewswire-3\/","title":{"rendered":"Reading This Site With NetNewsWire 3"},"content":{"rendered":"<p><a href=\"http:\/\/cdn.netnewswireapp.com\/releases\/NetNewsWire-3.3.2.zip\">NetNewsWire 3<\/a> still has its fans, but unfortunately <a href=\"https:\/\/twitter.com\/peternlewis\/status\/981716625341624320\">starting around January 29<\/a> it&rsquo;s not been able to fetch the RSS feed for this site (or for <a href=\"https:\/\/c-command.com\/blog\/\">C-Command<\/a>). My Web server has <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/214917918-Transport-Layer-Security-TLS-\">dropped support for TLS 1.0<\/a>, and for reasons I don&rsquo;t understand, it seems that this is what NetNewsWire&rsquo;s RSS feed downloader wants to use. (Other parts of NetNewsWire, such as its feed auto-detection and its browser seem to be able to use a newer version of TLS.)<\/p>\n<p>However, there&rsquo;s a workaround. NetNewsWire 3 has a great feature that lets you to subscribe to a <em>script<\/em> rather than a URL. So you can just create a text file named <tt>feed.sh<\/tt> that looks like this:<\/p>\n<pre>#!\/bin\/bash\ncurl https:\/\/mjtsai.com\/blog\/feed\/<\/pre>\n<p>or like this:<\/p>\n<pre>#!\/bin\/bash\ncurl https:\/\/c-command.com\/blog\/feed\/<\/pre>\n<p>Then choose <strong>File &#x2023; New Special Subscription &#x2023; Script&#8230;<\/strong> and select the file. When NetNewsWire refreshes the subscription, it will run the script, which uses <a href=\"https:\/\/curl.haxx.se\">curl<\/a> to download the feed.<\/p>","protected":false},"excerpt":{"rendered":"<p>NetNewsWire 3 still has its fans, but unfortunately starting around January 29 it&rsquo;s not been able to fetch the RSS feed for this site (or for C-Command). My Web server has dropped support for TLS 1.0, and for reasons I don&rsquo;t understand, it seems that this is what NetNewsWire&rsquo;s RSS feed downloader wants to use. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2018-04-12T01:11:58Z","apple_news_api_id":"537aa56d-5492-49fd-8584-e49d83d5dea8","apple_news_api_modified_at":"2018-04-18T01:03:10Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AU3qlbVSSSf2FhOSdg9XeqA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[],"tags":[1506,30,32,1529,392,52,581,1659,96],"class_list":["post-21146","post","type-post","status-publish","format-standard","hentry","tag-curl","tag-mac","tag-macapp","tag-macos-10-13","tag-netnewswire","tag-rss","tag-ssltls","tag-this-blog","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=21146"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21146\/revisions"}],"predecessor-version":[{"id":21147,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21146\/revisions\/21147"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=21146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=21146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=21146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}