{"id":124,"date":"2019-07-14T22:38:06","date_gmt":"2019-07-14T14:38:06","guid":{"rendered":"http:\/\/caoxingren.zicp.vip\/?p=124"},"modified":"2019-07-14T22:47:46","modified_gmt":"2019-07-14T14:47:46","slug":"%e6%90%ad%e5%bb%ba%e4%b8%80%e5%a5%97%e5%ae%8c%e7%be%8e%e5%8f%af%e7%94%a8%e7%9a%84rss%e7%b3%bb%e7%bb%9f","status":"publish","type":"post","link":"https:\/\/blog.940611.xyz\/?p=124","title":{"rendered":"\u642d\u5efa\u4e00\u5957\u5b8c\u7f8e\u53ef\u7528\u7684RSS\u7cfb\u7edf"},"content":{"rendered":"\n<p>\u6700\u8fd12\u5468\u7684\u65f6\u95f4\u4e00\u76f4\u5728\u505a\u81ea\u5df1\u7684RSS\u7cfb\u7edf\uff0c\u539f\u56e0\u662f\u770b\u4e86Diy God\u5199\u7684\u201c\u6211\u6709\u7279\u522b\u7684 RSS \u4f7f\u7528\u6280\u5de7\u201c<a href=\"https:\/\/diygod.me\/ohmyrss\/\">https:\/\/diygod.me\/ohmyrss\/<\/a>\u3002\u5176\u5b9e\u8fc7\u7a0b\u5f88\u7b80\u5355\uff0c\u5c31\u5b89\u88c5\u4e24\u4e2a\u4e1c\u897f\uff0cRSSHub\u548ctiny tiny TTRSS\u3002<\/p>\n\n\n\n<p>RSSHubR\u662f\u4e00\u4e2a\u8f7b\u91cf\u3001\u6613\u4e8e\u6269\u5c55\u7684 RSS \u751f\u6210\u5668, \u53ef\u4ee5\u7ed9\u4efb\u4f55\u5947\u5947\u602a\u602a\u7684\u5185\u5bb9\u751f\u6210 RSS \u8ba2\u9605\u6e90(<a href=\"https:\/\/docs.rsshub.app\/\">https:\/\/docs.rsshub.app\/<\/a>)\uff1b\u5176\u4ed6\u6ca1\u6709\u63d0\u4f9bRSS\u8ba2\u9605\u7684\u7f51\u7ad9\u53ef\u4ee5\u4f7f\u7528\u5b83\u505a\u8ba2\u9605.<\/p>\n\n\n\n<p>tiny tiny TTRSS\u662f\u4e00\u6b3e\u57fa\u4e8e PHP \u7684\u514d\u8d39\u5f00\u6e90 RSS \u805a\u5408\u9605\u8bfb\u5668\uff0c\u7528\u4e8e\u540c\u6b65\u5e76\u4e14\u5b9a\u65f6\u6293\u53d6\u66f4\u65b0\u4fe1\u606f(<a href=\"https:\/\/ttrss.henry.wang\/zh\/\">https:\/\/ttrss.henry.wang\/zh\/<\/a>)\u3002\u5f53\u7136\u4e5f\u53ef\u4ee5\u7528\u5176\u4ed6\u7684\uff0c\u4f8b\u5982Feedly<\/p>\n\n\n\n<p>\u642d\u5efa\u6709\u8fc7\u51e0\u4e2a\u5751\uff0c\u7b2c\u4e00\u4e2a\u662f\uff0c\u6700\u5f00\u59cb\u662f\u5b89\u88c5\u4e86RSSHub\uff0c\u5c31\u5f00\u59cb\u4f7f\u7528\uff0c\u4f46\u53d1\u73b0\u4e24\u4e2a\u95ee\u9898\uff0c\u7b2c\u4e00\u4e2a\u662f\u5982\u679c\u6ca1\u6709\u6253\u5f00\u8f6f\u4ef6\uff0c\u5c31\u4e0d\u4f1a\u81ea\u52a8\u540c\u6b65\u8fd9\u4e9b\u4fe1\u606f\u6e90\uff0c\u7b2c\u4e8c\u662f\u662f\u6211\u4e3b\u529b\u4f7f\u7528\u7684\u8bbe\u5907Mac\u548c\u624b\u673a\u4e0d\u80fd\u540c\u6b65\uff0c\u54ea\u4e9b\u662f\u5df2\u7ecf\u770b\u8fc7\uff0c\u54ea\u4e9b\u662f\u6ca1\u6709\u770b\u8fc7\u7684\u3002\u6240\u4ee5\u5c31\u6298\u817e\u5b89\u88c5\u4e86tiny tiny TTRSS\uff0c\u8fd9\u4e2a\u624d\u662f\u6211\u6700\u5927\u7684\u5751\uff0c\u82b1\u4e86\u5f88\u957f\u65f6\u95f4\u3002<\/p>\n\n\n\n<p>\u8bb0\u5f55\u4e00\u4e0b\u5b89\u88c5\u8fc7\u7a0b\uff0c\u5728\u8e29\u8fc7\u6240\u6709\u7684\u8d44\u52a9\u642d\u5efa\u540e\uff0c\u53d1\u73b0docker\u771f\u662f\u4e2a\u597d\u4e1c\u897f\uff0c\u76ee\u524d\u6240\u6709\u7684\u642d\u5efa\u90fd\u662f\u91c7\u7528docker\uff0c\u4ee5\u4e0b\u662f\u6b65\u9aa4\uff0c\u53ef\u4ee5\u53c2\u8003\u642d\u5efa\u3002\u53e6\u5916\uff0c<strong>\u6211\u7684\u670d\u52a1\u5668\u5168\u662fCentos7 64\u4f4d\uff0c\u6240\u6709\u6240\u6709\u6b65\u9aa4\u90fd\u662f\u57fa\u4e8e\u6b64<\/strong>\uff0c\u5982\u679c\u7cfb\u7edf\u4e0d\u4e00\u6837\uff0c\u53ef\u4ee5\u770b\u770b\u5176\u4ed6\u7684\u811a\u672c\uff08\u4e3b\u8981\u662fdocker\u7684\u5b89\u88c5\uff09<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u5b89\u88c5docker<\/strong><\/li><\/ul>\n\n\n\n<p>1\uff0cDocker \u8981\u6c42 CentOS \u7cfb\u7edf\u7684\u5185\u6838\u7248\u672c\u9ad8\u4e8e 3.10\uff0c\u6240\u6709\u901a\u8fc7\u00a0<strong>uname -r\u00a0<\/strong>\u547d\u4ee4\u67e5\u770b\u4f60\u5f53\u524d\u7684\u5185\u6838\u7248\u672c\uff1auname -r<\/p>\n\n\n\n<p>2\uff0cyum \u5305\u66f4\u65b0\u5230\u6700\u65b0\uff1asudo yum update<\/p>\n\n\n\n<p>3\uff0c\u5378\u8f7d\u65e7\u7248\u672c(\u5982\u679c\u5b89\u88c5\u8fc7\u65e7\u7248\u672c\u7684\u8bdd):sudo yum remove docker docker-common docker-selinux docker-engine<\/p>\n\n\n\n<p>4\uff0c\u5b89\u88c5\u9700\u8981\u7684\u8f6f\u4ef6\u5305\uff1asudo yum install -y yum-utils device-mapper-persistent-data lvm2<\/p>\n\n\n\n<p>5\uff0c\u8bbe\u7f6eyum docker\u6e90\uff1asudo yum-config-manager &#8211;add-repo https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo<\/p>\n\n\n\n<p>6\uff0c\u5b89\u88c5docker\uff1asudo yum install docker-ce<\/p>\n\n\n\n<p>7\uff0c\u7136\u540e\u6267\u884c\uff1asudo yum install<\/p>\n\n\n\n<p>8\uff0c\u542f\u52a8\u5e76\u8bbe\u7f6edocker \u7684\u5f00\u673a\u542f\u52a8\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start docker\nsudo systemctl enable docker<\/pre>\n\n\n\n<p>9\uff0c\u9a8c\u8bc1\u662f\u5426\u5b89\u88c5\u6210\u529f\uff1adocker version<\/p>\n\n\n\n<p>10\uff0c\u5b89\u88c5Docker Compose<\/p>\n\n\n\n<p>sudo curl -L https:\/\/github.com\/docker\/compose\/releases\/download\/1.22.0\/docker-compose-`uname -s`-`uname -m` -o \/usr\/local\/bin\/docker-compose sudo chmod +x \/usr\/local\/bin\/docker-compose<\/p>\n\n\n\n<p>Docker\u548cDocker Compose\u5b89\u88c5\u7ed3\u675f\uff0c\u63a5\u4e0b\u6765\u5c31\u662f\u6b63\u5f0f\u7684\u5b89\u88c5<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u5b89\u88c5RSSHub<\/strong><\/li><\/ul>\n\n\n\n<p>1\uff0c\u8fd0\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u4e0b\u8f7d RSSHub \u955c\u50cf\uff1adocker pull diygod\/rsshub<\/p>\n\n\n\n<p>2\uff0c\u7136\u540e\u8fd0\u884c RSSHub\uff1adocker run -d &#8211;name rsshub -p 1200:1200 diygod\/rsshub<\/p>\n\n\n\n<p>3\uff0c\u5176\u4ed6\u7684\u4e00\u4e9b\u914d\u7f6e\u53c2\u8003\uff1a<a href=\"https:\/\/docs.rsshub.app\/install\/#%E5%AE%89%E8%A3%85-2\">https:\/\/docs.rsshub.app\/install\/#%E5%AE%89%E8%A3%85-2<\/a>\u5b89\u88c5tiny tiny TT<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u5b89\u88c5tiny tiny TTRSS\uff0c\u901a\u8fc7 docker-compose \u90e8\u7f72<\/strong><\/li><\/ul>\n\n\n\n<p>1\uff0c\u6267\u884c\uff1awget https:\/\/github.com\/HenryQW\/Awesome-TTRSS\/blob\/master\/docker-compose.yml<\/p>\n\n\n\n<p>2\uff0c\u7f16\u8f91docker-compose.yml\uff1a\u7f16\u8f91\u91cc\u9762\u7684docker\u73af\u5883url\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u4f1a\u51b3\u5b9a\u4f60\u901a\u8fc7\u54ea\u4e00\u4e2a\u94fe\u63a5\u6765\u8bbf\u95eetiny tiny TTRSS\uff0c\u9ed8\u8ba4\u4f7f\u7528\u670d\u52a1\u5668181\u7aef\u53e3\uff0c\u53ef\u4ee5\u66f4\u6539\uff0c\u5982\u679c\u662f\u5185\u7f51\uff0c\u60f3\u597d\u81ea\u5df1\u7528\u4f7f\u547d\u5185\u7f51\u7a7f\u900f\u7684\u7aef\u53e3\u548c\u57df\u540d\uff0c\u5982\u679c\u8981\u505a\u53cd\u5411\u4ee3\u7406\uff0c\u90a3\u4e48\u8fd9\u4e2a\u5730\u65b9\u4e5f\u8981\u5199\u4f60\u786e\u5b9a\u7684\u53cd\u5411\u4ee3\u7406\u5730\u5740\uff1b\u5982\u679c\u662fvps\uff0c\u53ef\u4ee5\u4f7f\u7528\u53cd\u5411\u4ee3\u7406\u4ee3\u7406\uff0c\u4f7f\u752880\u7aef\u53e3\u3002\u603b\u4e4b\uff0c\u8fd9\u91cc\u586b\u5199\u7684\u662f\u4f60\u6700\u7ec8\u8bbf\u95ee\u7684\u5730\u5740\uff0c\u786e\u5b9a\u4e86\u5728docker\u4e2d\u4e0d\u80fd\u66f4\u6539\uff08\u81f3\u5c11\u6211\u6298\u817e\u6765\u8fd9\u4e48\u5c31\uff0c\u6ca1\u6709\u66f4\u6539\u6210\u529f\u8fc7\uff0c\u5982\u679c\u6709\u54e5\u4eec\u80fd\u591f\u6362\uff0c\u6216\u8005\u53ef\u4ee5\u7528\u597d\u51e0\u4e2a\u5730\u5740\u8bbf\u95ee\uff0c\u8dea\u6c42\u544a\u77e5\u6211\uff09\uff0c\u5730\u5740\u586b\u5199\u5982\u4e0b\u56fe\uff0c\u7ea2\u7ebf\u7684\u4e0a\u65b9\u662f\u7aef\u53e3\u4fee\u6539\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.loli.net\/2019\/07\/14\/5d2b39683819816715.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u5176\u4ed6\u7684\u95ee\u9898\uff0c\u53c2\u8003\uff1a<a href=\"https:\/\/ttrss.henry.wang\/zh\/#%E5%85%B3%E4%BA%8E\">https:\/\/ttrss.henry.wang\/zh\/#%E5%85%B3%E4%BA%8E<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u7591\u96be\u6742\u75c7\u89e3\u51b3<\/strong><\/li><\/ul>\n\n\n\n<p>\u6ca1\u6709\u4ec0\u4e48\u6bd4\u91cd\u7f6e\u518d\u5b89\u88c5\u6765\u5f97\u66f4\u597d\uff0c\u6240\u4ee5\u5982\u679c\u60f3\u6362tiny tiny RSS\u7684uri\u5730\u5740\uff0c\u53ef\u4ee5\u5220\u9664docker\uff0c\u56e0\u4e3a\u5b89\u88c5\u5f88\u7b80\u5355\uff0c\u63d0\u4f9b\u4e00\u4e2a\u5220\u9664\u6240\u6709\u5bb9\u5668\u7684\u65b9\u5f0f\uff08\u5f53\u7136\uff0c\u5982\u679c\u672c\u6765Docker\u6709\u5176\u4ed6\u7684\u5bb9\u6613\uff0c\u5c31\u5355\u72ec\u5220\u9664\u5427&#8230;&#8230;..\uff1a<\/p>\n\n\n\n<p>\u4e00\u6761\u547d\u4ee4\u5b9e\u73b0\u505c\u7528\u5e76\u5220\u9664\u5bb9\u5668\uff1adocker stop $(docker ps -q) &amp; docker rm $(docker ps -aq)<\/p>\n\n\n\n<p>\u5f88\u591a\u4e1c\u897f\u5176\u5b9e\u53ef\u4ee5\u53c2\u8003\u6211\u9644\u4e0a\u7684\u94fe\u63a5\uff0c\u53ef\u4ee5\u5f88\u597d\u7684\u89e3\u7b54\uff1b<\/p>\n\n\n\n<p>\u6700\u540e\uff0c\u9644\u4e0aRRSHub\u7684\u8ba2\u9605\u670d\u52a1\u5668\uff1ahttps:\/\/rsshub.app<\/p>\n\n\n\n<p>\u6211\u81ea\u5df1\u642d\u5efa\u7684RSSHub\u670d\u52a1\u5668\uff1ahttp:\/\/rss.caoxingren.com<\/p>\n\n\n\n<p>\u4ee5\u4e0a\uff0c\u5c31\u662f\u5b89\u88c5\u8fc7\u7a0b\uff0c\u5f53\u7136\uff0c\u5982\u679c\u8fd8\u662f\u6709\u4efb\u4f55\u4e0d\u6e05\u695a\u7684\u5730\u65b9\uff0c\u79c1\u4fe1\u6216\u8005\u56de\u5e16\uff0c\u6211\u770b\u5230\u6765\u5c3d\u91cf\u89e3\u7b54\u3002<\/p>\n\n\n\n<p>\u6700\u540e\u5f53\u7136\u5c31\u662f\u4f7f\u7528\u5566\uff0c\u53c2\u8003\uff1a<a href=\"https:\/\/diygod.me\/ohmyrss\/\">https:\/\/diygod.me\/ohmyrss\/<\/a>\u5236\u4f5c\u81ea\u5df1\u7684\u8ba2\u9605\u6e90\uff0c\u7136\u540e\u8fdb\u5165\u4f60\u8bbe\u5b9a\u7684tiny tiny TTRSS\u5730\u5740\uff0c\u9ed8\u8ba4\u8d26\u53f7admin\uff0c\u5bc6\u7801\uff1apassword<\/p>\n\n\n\n<p>\u8fdb\u5165\u540e\uff0c\u5f00\u542ffever\u652f\u6301\u548c\u8d26\u6237api\u652f\u6301\uff0c\u7535\u8111\u548c\u624b\u673a\u7aef\u4f7f\u7528fever\u7684\u94fe\u63a5\u548c\u8d26\u6237\u767b\u9646\uff0c\u5c31\u53ef\u4ee5\u5728\u540c\u6b65\uff0c\u5f53\u7136\uff0c\u4e5f\u80fd\u5728\u7f51\u9875\u4e0a\u770b\uff0c\u7b80\u76f4\u5b8c\u7f8e\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\uff0cEnjoy it.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd12\u5468\u7684\u65f6\u95f4\u4e00\u76f4\u5728\u505a\u81ea\u5df1\u7684RSS\u7cfb\u7edf\uff0c\u539f\u56e0\u662f\u770b\u4e86Diy God\u5199\u7684\u201c\u6211\u6709\u7279\u522b\u7684 RSS \u4f7f\u7528\u6280\u5de7\u201chttps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-5"],"_links":{"self":[{"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=124"}],"version-history":[{"count":2,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":127,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions\/127"}],"wp:attachment":[{"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.940611.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}