{"id":116789,"date":"2026-10-22T04:32:42","date_gmt":"2026-10-21T20:32:42","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/116789.html"},"modified":"2026-10-22T04:32:42","modified_gmt":"2026-10-21T20:32:42","slug":"%e6%9e%81%e8%87%b4%e8%bd%bb%e9%87%8f%e7%9a%84%e5%85%a8%e7%ab%99%e9%9d%99%e6%80%81-rss-%e8%81%9a%e5%90%88%e4%b8%8e%e5%be%ae%e6%a0%bc%e5%bc%8f%e8%ae%a2%e9%98%85%e6%b5%81%e7%94%9f%e6%88%90%e5%ae%9e","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/116789.html","title":{"rendered":"\u6781\u81f4\u8f7b\u91cf\u7684\u5168\u7ad9\u9759\u6001 RSS \u805a\u5408\u4e0e\u5fae\u683c\u5f0f\u8ba2\u9605\u6d41\u751f\u6210\u5b9e\u6218"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261021203240-6ad92168b0fa5.webp\" alt=\"\u5c01\u9762\u4fe1\u606f\u56fe\" \/><\/p>\n<p>\u5728\u7b97\u6cd5\u63a8\u8350\u4e0e\u77ed\u89c6\u9891\u4fe1\u606f\u6d2a\u6d41\u65e0\u5b54\u4e0d\u5165\u7684\u65f6\u4ee3&#xff0c;\u4e2a\u4eba\u7684\u6ce8\u610f\u529b\u5e38\u5e38\u88ab\u52a8\u5730\u5728\u4fe1\u606f\u7684\u4fe1\u606f\u8327\u623f\u91cc\u88ab\u6d88\u8017\u6b86\u5c3d\u3002\u6b63\u56e0\u5982\u6b64&#xff0c;\u90a3\u4e9b\u4f9d\u7136\u575a\u5b88\u4e2a\u4eba\u72ec\u7acb\u535a\u5ba2\u3001\u575a\u6301\u4f7f\u7528 RSS \u9605\u8bfb\u5668\u8ba2\u9605\u7cbe\u795e\u98df\u7cae\u7684\u670b\u53cb\u4eec&#xff0c;\u663e\u5f97\u683c\u5916\u73cd\u8d35\u800c\u7b03\u5b9a\u3002<\/p>\n<p>\u901a\u8fc7 RSS&#xff08;Really Simple Syndication&#xff09;\u6216\u8005 Atom \u534f\u8bae&#xff0c;\u8bfb\u8005\u4e0e\u4f5c\u8005\u4e4b\u95f4\u5efa\u7acb\u8d77\u4e86\u4e00\u79cd\u7eaf\u7cb9\u3001\u53bb\u4e2d\u5fc3\u5316\u3001\u6beb\u65e0\u5546\u4e1a\u5e7f\u544a\u5e72\u6270\u7684\u6570\u5b57\u5951\u7ea6&#xff1a;\u4f5c\u8005\u5b89\u5b89\u9759\u9759\u5730\u5199\u5b57\u843d\u76d8&#xff0c;\u8bfb\u8005\u5728\u81ea\u5df1\u6311\u9009\u7684\u9605\u8bfb\u5668\u91cc\u4ece\u5bb9\u7ffb\u9605&#xff0c;\u65e2\u6ca1\u6709\u7b97\u6cd5\u7684\u7c97\u66b4\u6d17\u8111&#xff0c;\u4e5f\u6ca1\u6709\u70b9\u8d5e\u8f6c\u53d1\u7684\u7126\u8651\u7ed1\u67b6\u3002<\/p>\n<p>\u7136\u800c&#xff0c;\u5728\u5f88\u591a\u9759\u6001\u535a\u5ba2\u7cfb\u7edf\u4e2d&#xff0c;\u751f\u6210\u4e00\u4efd\u5408\u683c\u7684\u8ba2\u9605\u6d41\u5f80\u5f80\u6210\u4e3a\u4e00\u4ef6\u7b28\u91cd\u7684\u4e8b&#xff1a;\u8bb8\u591a\u73b0\u6210\u7684\u63d2\u4ef6\u52a8\u8f84\u5f15\u5165\u5e9e\u5927\u590d\u6742\u7684 XML \u5e8f\u5217\u5316\u7c7b\u5e93&#xff0c;\u5728\u751f\u6210\u8ba2\u9605\u6587\u4ef6\u65f6\u9891\u7e41\u7834\u574f\u5b57\u7b26\u8f6c\u4e49&#xff1b;\u66f4\u8ba9\u4eba\u9057\u61be\u7684\u662f&#xff0c;\u5f88\u591a\u4f20\u7edf RSS \u751f\u6210\u5668\u5b8c\u5168\u5ffd\u89c6\u4e86\u73b0\u4ee3\u72ec\u7acb\u7f51\u7edc\u793e\u533a&#xff08;IndieWeb&#xff09;\u6240\u63a8\u5d07\u7684\u5f00\u653e\u6807\u51c6\u2014\u2014\u5fae\u683c\u5f0f&#xff08;Microformats 2&#xff09;\u3002<\/p>\n<p>\u5fae\u683c\u5f0f\u662f\u4e00\u79cd\u6781\u5176\u4f18\u96c5\u7684\u601d\u60f3&#xff1a;\u5b83\u4e0d\u9700\u8981\u5355\u72ec\u7ef4\u62a4\u5197\u4f59\u7684\u5916\u90e8 XML \u6587\u4ef6&#xff0c;\u800c\u662f\u76f4\u63a5\u5229\u7528\u8bed\u4e49\u5316\u7684 HTML \u5c5e\u6027&#xff08;\u5982 h-entry\u3001p-name\u3001dt-published&#xff09;&#xff0c;\u5c06\u8ba2\u9605\u5143\u6570\u636e\u81ea\u7136\u878d\u5165\u6587\u7ae0\u672c\u8eab\u7684\u9875\u9762\u7ed3\u6784\u4e4b\u4e2d\u3002<\/p>\n<p>\u4e3a\u4e86\u8ba9\u624b\u8d26\u535a\u5ba2\u65e2\u80fd\u62e5\u62b1\u7ecf\u5178\u7684 XML \u8ba2\u9605\u751f\u6001&#xff0c;\u53c8\u80fd\u7ad9\u5728\u73b0\u4ee3\u8bed\u4e49 Web \u7684\u524d\u6cbf&#xff0c;\u6211\u7528\u7eaf\u539f\u751f Node.js \u6784\u5efa\u4e86\u4e00\u5957\u517c\u987e Atom 1.0 \u89c4\u8303\u4e0e Microformats 2 \u5fae\u683c\u5f0f\u7684\u6781\u7b80\u5168\u7ad9\u8ba2\u9605\u6d41\u6d41\u6c34\u7ebf\u3002<\/p>\n<h3>\u53cc\u8f68\u8ba2\u9605\u6a21\u578b&#xff1a;Atom \u89c4\u8303\u4e0e Microformats 2<\/h3>\n<p>\u4e00\u5957\u771f\u6b63\u5b8c\u5584\u7684\u73b0\u4ee3\u72ec\u7acb\u624b\u8d26\u7ad9\u70b9&#xff0c;\u5e94\u5f53\u5177\u5907\u201c\u53cc\u8f68\u4e92\u8865\u201d\u7684\u8ba2\u9605\u5206\u53d1\u80fd\u529b&#xff1a;<\/p>\n<li>\u7ecf\u5178 Atom 1.0 \u63d0\u8981&#xff08;feed.xml&#xff09;&#xff1a;\u76f8\u8f83\u4e8e\u8001\u65e7\u6a21\u7cca\u7684 RSS 2.0 \u89c4\u8303&#xff0c;IETF \u53d1\u5e03\u7684 Atom 1.0 \u62e5\u6709\u66f4\u4e25\u8c28\u7684\u547d\u540d\u7a7a\u95f4\u5b9a\u4e49\u3001\u786e\u5b9a\u7684\u65f6\u95f4\u6233\u683c\u5f0f&#xff08;ISO 8601 \/ RFC 3339&#xff09;\u4ee5\u53ca\u5f3a\u5927\u7684\u5168\u6587\u5185\u5bb9\u8f7d\u8377\u652f\u6301&#xff0c;\u662f\u76ee\u524d NetNewsWire\u3001Inoreader\u3001Reeder \u7b49\u6240\u6709\u73b0\u4ee3\u9605\u8bfb\u5668\u7684\u901a\u7528\u57fa\u77f3\u3002<\/li>\n<li>\u73b0\u4ee3\u5fae\u683c\u5f0f&#xff08;Microformats 2 \/ h-entry&#xff09;&#xff1a;\u8fd9\u662f\u72ec\u7acb\u535a\u5ba2\u7684\u201c\u6570\u5b57\u8eab\u4efd\u8bc1\u201d\u3002\u53ea\u8981\u5728\u6587\u7ae0\u7684 HTML \u6807\u7b7e\u4e0a\u52a0\u4e0a\u8f7b\u5de7\u7684 class \u6807\u8bb0&#xff0c;\u4efb\u4f55\u652f\u6301 IndieWeb \u534f\u8bae\u7684\u5206\u5e03\u5f0f\u6293\u53d6\u5668&#xff08;Webmention\u3001IndieAuth&#xff09;\u65e0\u9700\u8bf7\u6c42\u989d\u5916\u7684 XML \u6587\u4ef6&#xff0c;\u5c31\u80fd\u76f4\u63a5\u4ece\u6587\u7ae0\u7f51\u9875\u672c\u8eab\u7cbe\u51c6\u89e3\u6790\u51fa\u4f5c\u8005\u59d3\u540d\u3001\u53d1\u5e03\u65f6\u95f4\u3001\u6458\u8981\u4ee5\u53ca\u6b63\u6587\u5185\u5bb9\u3002<\/li>\n<h3>\u96f6\u4f9d\u8d56\u7eaf\u539f\u751f\u8ba2\u9605\u6d41\u751f\u6210\u811a\u672c<\/h3>\n<p>\u6211\u4eec\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u5b8c\u5168\u57fa\u4e8e Node.js \u539f\u751f API \u7684\u751f\u6210\u5668\u811a\u672c scripts\/generate-feeds.mjs&#xff0c;\u5728\u9759\u6001\u7ad9\u7f16\u8bd1\u7684\u6700\u540e\u9636\u6bb5\u4ee5\u6beb\u79d2\u7ea7\u6781\u901f\u751f\u6210\u6240\u6709\u63d0\u8981&#xff1a;<\/p>\n<p>import fs from &#039;node:fs\/promises&#039;;<br \/>\nimport path from &#039;node:path&#039;;<\/p>\n<p>const SITE_URL &#061; &#039;https:\/\/bailingyu.me&#039;;<br \/>\nconst SITE_TITLE &#061; &#039;\u767d\u6ce0\u94b0\u7684\u79cb\u65e5\u624b\u8d26&#039;;<br \/>\nconst SITE_DESC &#061; &#039;\u6cbb\u6108\u7cfb\u524d\u7aef\u751f\u6d3b\u5bb6&#xff0c;\u8bb0\u5f55\u6c34\u5f69\u8d28\u611f UI\u3001\u672c\u5730\u8f7b\u91cf\u6280\u672f\u4e0e\u751f\u6d3b\u968f\u7b14&#039;;<br \/>\nconst AUTHOR_NAME &#061; &#039;\u767d\u6ce0\u94b0 (\u6ce0\u4e0d\u4e01)&#039;;<br \/>\nconst POSTS_DIR &#061; &#039;src\/posts&#039;;<br \/>\nconst DIST_DIR &#061; &#039;dist&#039;;<\/p>\n<p>\/\/ \u7b80\u6613 XML \u7279\u6b8a\u5b57\u7b26\u5b89\u5168\u8f6c\u4e49<br \/>\nfunction escapeXml(unsafe) {<br \/>\n  return unsafe.replace(\/[&lt;&gt;&amp;&#039;&#034;]\/g, (c) &#061;&gt; {<br \/>\n    switch (c) {<br \/>\n      case &#039;&lt;&#039;: return &#039;&amp;lt;&#039;;<br \/>\n      case &#039;&gt;&#039;: return &#039;&amp;gt;&#039;;<br \/>\n      case &#039;&amp;&#039;: return &#039;&amp;amp;&#039;;<br \/>\n      case &#039;\\\\&#039;&#039;: return &#039;&amp;apos;&#039;;<br \/>\n      case &#039;&#034;&#039;: return &#039;&amp;quot;&#039;;<br \/>\n    }<br \/>\n  });<br \/>\n}<\/p>\n<p>\/\/ \u62bd\u53d6 Markdown \u4e2d\u7684\u5143\u6570\u636e<br \/>\nasync function parsePost(filePath) {<br \/>\n  const content &#061; await fs.readFile(filePath, &#039;utf-8&#039;);<br \/>\n  const lines &#061; content.split(&#039;\\\\n&#039;);<\/p>\n<p>  \/\/ \u63d0\u53d6\u4e00\u7ea7\u6807\u9898<br \/>\n  const titleLine &#061; lines.find(l &#061;&gt; l.startsWith(&#039;# &#039;)) || &#039;# \u79cb\u65e5\u65e0\u9898&#039;;<br \/>\n  const title &#061; titleLine.replace(&#039;# &#039;, &#039;&#039;).trim();<\/p>\n<p>  \/\/ \u5265\u79bb\u4ee3\u7801\u5757\u5e76\u63d0\u53d6\u524d 160 \u5b57\u4f5c\u4e3a\u7eaf\u6587\u672c\u6458\u8981<br \/>\n  const noCode &#061; content.replace(\/&#096;&#096;&#096;[\\\\s\\\\S]*?&#096;&#096;&#096;\/g, &#039;&#039;);<br \/>\n  const plainText &#061; noCode.replace(\/[#*&#096;&gt;\\\\[\\\\]\\\\(\\\\)]\/g, &#039;&#039;).replace(\/\\\\s&#043;\/g, &#039; &#039;).trim();<br \/>\n  const summary &#061; plainText.slice(0, 160) &#043; &#039;&#8230;&#039;;<\/p>\n<p>  \/\/ \u83b7\u53d6\u6587\u4ef6\u4fee\u6539\u65f6\u95f4\u4f5c\u4e3a\u53d1\u5e03\u65f6\u95f4\u6233<br \/>\n  const stat &#061; await fs.stat(filePath);<br \/>\n  const isoDate &#061; stat.mtime.toISOString();<\/p>\n<p>  const slug &#061; path.basename(filePath, &#039;.md&#039;);<br \/>\n  const postUrl &#061; &#096;${SITE_URL}\/${slug}.html&#096;;<\/p>\n<p>  return { title, summary, isoDate, postUrl, slug };<br \/>\n}<\/p>\n<p>async function generateAtomFeed(posts) {<br \/>\n  const latestUpdated &#061; posts[0]?.isoDate || new Date().toISOString();<\/p>\n<p>  const entriesXml &#061; posts.map(post &#061;&gt; &#096;<br \/>\n  &lt;entry&gt;<br \/>\n    &lt;title&gt;${escapeXml(post.title)}&lt;\/title&gt;<br \/>\n    &lt;link href&#061;&#034;${post.postUrl}&#034; rel&#061;&#034;alternate&#034; type&#061;&#034;text\/html&#034;\/&gt;<br \/>\n    &lt;id&gt;${post.postUrl}&lt;\/id&gt;<br \/>\n    &lt;updated&gt;${post.isoDate}&lt;\/updated&gt;<br \/>\n    &lt;summary type&#061;&#034;text&#034;&gt;${escapeXml(post.summary)}&lt;\/summary&gt;<br \/>\n    &lt;author&gt;<br \/>\n      &lt;name&gt;${escapeXml(AUTHOR_NAME)}&lt;\/name&gt;<br \/>\n      &lt;uri&gt;${SITE_URL}&lt;\/uri&gt;<br \/>\n    &lt;\/author&gt;<br \/>\n  &lt;\/entry&gt;&#096;).join(&#039;\\\\n&#039;);<\/p>\n<p>  return &#096;&lt;?xml version&#061;&#034;1.0&#034; encoding&#061;&#034;utf-8&#034;?&gt;<br \/>\n&lt;feed xmlns&#061;&#034;http:\/\/www.w3.org\/2005\/Atom&#034;&gt;<br \/>\n  &lt;title&gt;${escapeXml(SITE_TITLE)}&lt;\/title&gt;<br \/>\n  &lt;subtitle&gt;${escapeXml(SITE_DESC)}&lt;\/subtitle&gt;<br \/>\n  &lt;link href&#061;&#034;${SITE_URL}\/atom.xml&#034; rel&#061;&#034;self&#034; type&#061;&#034;application\/atom&#043;xml&#034;\/&gt;<br \/>\n  &lt;link href&#061;&#034;${SITE_URL}\/&#034;\/&gt;<br \/>\n  &lt;id&gt;${SITE_URL}\/&lt;\/id&gt;<br \/>\n  &lt;updated&gt;${latestUpdated}&lt;\/updated&gt;<br \/>\n  &lt;author&gt;<br \/>\n    &lt;name&gt;${escapeXml(AUTHOR_NAME)}&lt;\/name&gt;<br \/>\n  &lt;\/author&gt;<br \/>\n${entriesXml}<br \/>\n&lt;\/feed&gt;&#096;;<br \/>\n}<\/p>\n<p>async function main() {<br \/>\n  const files &#061; (await fs.readdir(POSTS_DIR))<br \/>\n    .filter(f &#061;&gt; f.endsWith(&#039;.md&#039;))<br \/>\n    .sort()<br \/>\n    .reverse();<\/p>\n<p>  const posts &#061; [];<br \/>\n  for (const f of files.slice(0, 20)) { \/\/ \u4ec5\u53d6\u6700\u65b0 20 \u7bc7\u968f\u7b14<br \/>\n    posts.push(await parsePost(path.join(POSTS_DIR, f)));<br \/>\n  }<\/p>\n<p>  \/\/ \u751f\u6210 Atom 1.0 XML \u63d0\u8981<br \/>\n  const atomXml &#061; await generateAtomFeed(posts);<br \/>\n  await fs.writeFile(path.join(DIST_DIR, &#039;atom.xml&#039;), atomXml, &#039;utf-8&#039;);<\/p>\n<p>  console.log(&#096;\u2728 \u6210\u529f\u751f\u6210\u5305\u542b ${posts.length} \u7bc7\u968f\u7b14\u7684 Atom 1.0 \u805a\u5408\u63d0\u8981 -&gt; dist\/atom.xml&#096;);<br \/>\n}<\/p>\n<p>main().catch(console.error);<\/p>\n<h3>\u5728 HTML \u6a21\u677f\u4e2d\u6ce8\u5165\u5fae\u683c\u5f0f&#xff08;Microformats 2&#xff09;<\/h3>\n<p>\u9664\u4e86\u5916\u90e8\u7684 XML \u63d0\u8981&#xff0c;\u6211\u4eec\u5728\u6587\u7ae0\u7684\u901a\u7528 HTML \u6a21\u7248\u4e2d&#xff0c;\u53ea\u9700\u6309\u7167\u5fae\u683c\u5f0f\u7684 Class \u547d\u540d\u89c4\u5219\u8fdb\u884c\u7b80\u5355\u7684\u7ed3\u6784\u6807\u8bb0&#xff1a;<\/p>\n<p>&lt;!&#8211; \u6587\u7ae0\u8be6\u60c5\u9875&#xff1a;\u5185\u5d4c\u6807\u51c6\u7684 Microformats 2 \u8bed\u4e49\u7ed3\u6784 &#8211;&gt;<br \/>\n&lt;article class&#061;&#034;h-entry post-article&#034;&gt;<br \/>\n  &lt;header&gt;<br \/>\n    &lt;!&#8211; \u6807\u660e\u6587\u7ae0\u6807\u9898 &#8211;&gt;<br \/>\n    &lt;h1 class&#061;&#034;p-name post-title&#034;&gt;{{TITLE}}&lt;\/h1&gt;<\/p>\n<p>    &lt;!&#8211; \u6807\u660e\u53d1\u5e03\u8005\u4e0e\u65f6\u95f4\u5143\u6570\u636e &#8211;&gt;<br \/>\n    &lt;div class&#061;&#034;post-meta&#034;&gt;<br \/>\n      &lt;span class&#061;&#034;p-author h-card&#034; style&#061;&#034;display: none;&#034;&gt;<br \/>\n        &lt;a class&#061;&#034;u-url p-name&#034; href&#061;&#034;https:\/\/bailingyu.me&#034;&gt;\u767d\u6ce0\u94b0&lt;\/a&gt;<br \/>\n      &lt;\/span&gt;<br \/>\n      &lt;time class&#061;&#034;dt-published&#034; datetime&#061;&#034;{{ISO_DATE}}&#034;&gt;{{FRIENDLY_DATE}}&lt;\/time&gt;<br \/>\n    &lt;\/div&gt;<br \/>\n  &lt;\/header&gt;<\/p>\n<p>  &lt;!&#8211; \u6807\u660e\u6838\u5fc3\u6587\u7ae0\u6b63\u6587\u8f7d\u8377 &#8211;&gt;<br \/>\n  &lt;div class&#061;&#034;e-content post-body&#034;&gt;<br \/>\n    {{CONTENT_HTML}}<br \/>\n  &lt;\/div&gt;<\/p>\n<p>  &lt;footer class&#061;&#034;post-footer&#034;&gt;<br \/>\n    &lt;p&gt;&#x1f343; \u611f\u8c22\u4f60\u7684\u9605\u8bfb\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7 &lt;a href&#061;&#034;\/atom.xml&#034; rel&#061;&#034;alternate&#034; type&#061;&#034;application\/atom&#043;xml&#034;&gt;RSS\/Atom \u63d0\u8981&lt;\/a&gt; \u8ba2\u9605\u672c\u7ad9\u7684\u6240\u6709\u79cb\u65e5\u5fc3\u7eea\u3002&lt;\/p&gt;<br \/>\n  &lt;\/footer&gt;<br \/>\n&lt;\/article&gt;<\/p>\n<h3>\u4e32\u8054\u6784\u5efa\u4e0e\u65e0\u611f\u4e0a\u7ebf<\/h3>\n<p>\u5c06\u8be5\u811a\u672c\u6302\u63a5\u5728 Makefile \u6784\u5efa\u76ee\u6807\u672b\u5c3e&#xff1a;<\/p>\n<p># \u5b8c\u6574\u7684\u5168\u7ad9\u53d1\u5e03\u7ba1\u7ebf<br \/>\nbuild: dist-dirs compile-posts localize generate-feed optimize-images<br \/>\n&#064;echo &#034;\u2728 \u535a\u5ba2\u5168\u7ad9\u7f16\u8bd1\u4e0e\u5168\u683c\u5f0f\u8ba2\u9605\u6d41\u751f\u6210\u5706\u6ee1\u5b8c\u6210\u3002&#034;<\/p>\n<p>generate-feed:<br \/>\n&#064;node scripts\/generate-feeds.mjs<\/p>\n<p>\u6bcf\u6b21\u5728\u672c\u5730\u4fdd\u5b58\u65b0\u5199\u5b8c\u7684\u79cb\u65e5\u968f\u7b14&#xff0c;\u5728\u7ec8\u7aef\u6572\u4e0b make&#xff0c;\u4ec5\u9700\u5341\u51e0\u6beb\u79d2&#xff0c;dist\/atom.xml \u4fbf\u88ab\u540c\u6b65\u5237\u65b0&#xff0c;\u800c\u5168\u7ad9 HTML \u5185\u90e8\u7684\u5fae\u683c\u5f0f\u8bed\u4e49\u4e5f\u7d27\u5bc6\u5bf9\u9f50\u3002<\/p>\n<p>\u5fae\u683c\u5f0f\u4e3a\u72ec\u7acb\u4e2a\u4eba\u535a\u5ba2\u5e26\u6765\u7684\u6df1\u8fdc\u5f71\u54cd&#xff0c;\u8fdc\u8fdc\u8d85\u51fa\u4e86\u5355\u7eaf\u7684\u8ba2\u9605\u901a\u77e5\u672c\u8eab\u3002\u5728\u4f20\u7edf\u7684\u4e2d\u5fc3\u5316\u793e\u4ea4\u5a92\u4f53\u67b6\u6784\u4e2d&#xff0c;\u4f60\u7684\u6bcf\u4e00\u7bc7\u52a8\u6001\u3001\u6bcf\u4e00\u5f20\u914d\u56fe\u90fd\u88ab\u56da\u7981\u5728\u5404\u81ea\u5c01\u95ed\u7684\u6570\u636e\u5e93\u56f4\u5899\u4e4b\u5185&#xff0c;\u5916\u90e8\u7a0b\u5e8f\u82e5\u60f3\u6293\u53d6&#xff0c;\u5f80\u5f80\u9762\u4e34\u4e25\u683c\u7684 API \u9891\u7387\u9650\u5236\u751a\u81f3\u767b\u5f55\u5c01\u9501\u3002\u800c\u501f\u52a9 Microformats 2&#xff0c;\u4f60\u7684\u6574\u4e2a\u9759\u6001\u535a\u5ba2\u672c\u8eab\u5c31\u53d8\u6210\u4e86\u4e00\u5ea7\u5929\u7136\u9762\u5411\u4eba\u7c7b\u9605\u8bfb\u3001\u540c\u65f6\u4e5f\u5b8c\u5168\u5411\u5f00\u653e\u8bed\u4e49\u673a\u5668\u4eba\u655e\u5f00\u5927\u95e8\u7684\u7ed3\u6784\u5316\u6570\u636e\u77ff\u85cf\u3002<\/p>\n<p>\u66f4\u8fdb\u4e00\u6b65&#xff0c;\u901a\u8fc7\u5728\u9875\u9762\u4e0a\u94fa\u8bbe h-entry \u4e0e u-url&#xff0c;\u4f60\u751a\u81f3\u53ef\u4ee5\u76f4\u63a5\u63a5\u5165\u73b0\u4ee3\u53bb\u4e2d\u5fc3\u5316\u4e92\u52a8\u534f\u8bae&#xff08;\u5982 Webmention&#xff09;\u3002\u5f53\u53e6\u4e00\u4f4d\u535a\u4e3b\u5728\u4ed6\u7684\u535a\u5ba2\u4e2d\u64b0\u6587\u5f15\u7528\u6216\u56de\u5e94\u4e86\u4f60\u7684\u67d0\u7bc7\u79cb\u65e5\u624b\u8bb0\u65f6&#xff0c;\u4ed6\u7684\u670d\u52a1\u5668\u4f1a\u81ea\u52a8\u5411\u4f60\u7684\u7aef\u70b9\u53d1\u9001\u4e00\u6761\u65e0\u5bb3\u7684\u8f7b\u91cf\u901a\u77e5&#xff1b;\u53cc\u65b9\u65e0\u9700\u6ce8\u518c\u540c\u4e00\u4e2a\u5546\u4e1a\u5e73\u53f0\u8d26\u53f7&#xff0c;\u5c31\u80fd\u5728\u5404\u81ea\u72ec\u7acb\u7684\u6570\u5b57\u82b1\u56ed\u4e4b\u95f4&#xff0c;\u5f62\u6210\u4e00\u79cd\u5982\u540c\u53e4\u4eba\u9e3f\u96c1\u4f20\u4e66\u822c\u6e29\u6da6\u5178\u96c5\u7684\u8de8\u7ad9\u5bf9\u8bdd\u3002<\/p>\n<p>\u65e0\u8bba\u8fdc\u65b9\u7684\u670b\u53cb\u662f\u901a\u8fc7\u7ecf\u5178\u7684 NetNewsWire \u5ba2\u6237\u7aef\u62c9\u53d6 XML&#xff0c;\u8fd8\u662f\u901a\u8fc7 IndieWeb \u7684\u53bb\u4e2d\u5fc3\u5316\u6f2b\u6e38\u7f51\u5173\u76f4\u63a5\u8bfb\u53d6\u7f51\u9875&#xff0c;\u4ed6\u4eec\u90fd\u80fd\u5728\u540c\u4e00\u65f6\u95f4&#xff0c;\u6beb\u65e0\u963b\u788d\u5730\u63a5\u6536\u5230\u4f60\u5728\u5b89\u9759\u7684\u79cb\u591c\u91cc\u5199\u4e0b\u7684\u6587\u5b57\u3002<\/p>\n<p>\u53bb\u4e2d\u5fc3\u5316\u7684\u4e92\u8054\u7f51\u4e4b\u7f8e&#xff0c;\u6b63\u662f\u5728\u4e8e\u8fd9\u79cd\u8de8\u8d8a\u534f\u8bae\u3001\u8de8\u8d8a\u5546\u4e1a\u5e73\u53f0\u7684\u8d28\u6734\u4e92\u8054\u3002\u6ca1\u6709\u7b97\u6cd5\u7684\u64cd\u7eb5&#xff0c;\u6ca1\u6709\u6570\u636e\u88ab\u9501\u6b7b\u7684\u7126\u8651&#xff0c;\u53ea\u6709\u4e24\u9897\u70ed\u7231\u6587\u5b57\u7684\u5fc3\u7075&#xff0c;\u5728\u5f00\u653e\u6807\u51c6\u7684\u6865\u6881\u4e0a\u9ed8\u9ed8\u76f8\u9022\u3002\u7528\u6700\u7eaf\u51c0\u7684\u6280\u672f\u534f\u8bae\u5b88\u62a4\u597d\u5c5e\u4e8e\u81ea\u5df1\u7684\u6587\u5b57\u9635\u5730&#xff0c;\u6211\u4eec\u4fbf\u80fd\u5728\u55a7\u56a3\u6d6e\u8e81\u7684\u65f6\u4ee3\u6d6a\u6f6e\u4e2d&#xff0c;\u5b88\u4f4f\u4e00\u4efd\u5185\u5fc3\u7684\u7b03\u5b9a\u4e0e\u5b89\u5b81\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u7b97\u6cd5\u63a8\u8350\u4e0e\u77ed\u89c6\u9891\u4fe1\u606f\u6d2a\u6d41\u65e0\u5b54\u4e0d\u5165\u7684\u65f6\u4ee3&#xff0c;\u4e2a\u4eba\u7684\u6ce8\u610f\u529b\u5e38\u5e38\u88ab\u52a8\u5730\u5728\u4fe1\u606f\u7684\u4fe1\u606f\u8327\u623f\u91cc\u88ab\u6d88\u8017\u6b86\u5c3d\u3002\u6b63\u56e0\u5982\u6b64&#xff0c;\u90a3\u4e9b\u4f9d\u7136\u575a\u5b88\u4e2a\u4eba\u72ec\u7acb\u535a\u5ba2\u3001\u575a\u6301\u4f7f\u7528 RSS \u9605\u8bfb\u5668\u8ba2\u9605\u7cbe\u795e\u98df\u7cae\u7684\u670b\u53cb\u4eec&#xff0c;\u663e\u5f97\u683c\u5916\u73cd\u8d35\u800c\u7b03\u5b9a\u3002<br \/>\n\u901a\u8fc7 RSS&#xff08;Really Simple Syndication&#xff09;\u6216\u8005 Atom \u534f\u8bae&#xff0c;\u8bfb\u8005\u4e0e\u4f5c\u8005\u4e4b\u95f4\u5efa\u7acb\u8d77\u4e86\u4e00\u79cd\u7eaf\u7cb9\u3001\u53bb\u4e2d\u5fc3\u5316\u3001\u6beb\u65e0\u5546\u4e1a\u5e7f\u544a\u5e72\u6270\u7684\u6570\u5b57\u5951\u7ea6&#xff1a;\u4f5c\u8005\u5b89\u5b89\u9759\u9759\u5730\u5199\u5b57\u843d\u76d8&amp;#<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[66,50,87,51,1422],"topic":[],"class_list":["post-116789","post","type-post","status-publish","format-standard","hentry","category-server","tag-ai","tag-50","tag-87","tag-51","tag-1422"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6781\u81f4\u8f7b\u91cf\u7684\u5168\u7ad9\u9759\u6001 RSS \u805a\u5408\u4e0e\u5fae\u683c\u5f0f\u8ba2\u9605\u6d41\u751f\u6210\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/116789.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6781\u81f4\u8f7b\u91cf\u7684\u5168\u7ad9\u9759\u6001 RSS \u805a\u5408\u4e0e\u5fae\u683c\u5f0f\u8ba2\u9605\u6d41\u751f\u6210\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5728\u7b97\u6cd5\u63a8\u8350\u4e0e\u77ed\u89c6\u9891\u4fe1\u606f\u6d2a\u6d41\u65e0\u5b54\u4e0d\u5165\u7684\u65f6\u4ee3&#xff0c;\u4e2a\u4eba\u7684\u6ce8\u610f\u529b\u5e38\u5e38\u88ab\u52a8\u5730\u5728\u4fe1\u606f\u7684\u4fe1\u606f\u8327\u623f\u91cc\u88ab\u6d88\u8017\u6b86\u5c3d\u3002\u6b63\u56e0\u5982\u6b64&#xff0c;\u90a3\u4e9b\u4f9d\u7136\u575a\u5b88\u4e2a\u4eba\u72ec\u7acb\u535a\u5ba2\u3001\u575a\u6301\u4f7f\u7528 RSS \u9605\u8bfb\u5668\u8ba2\u9605\u7cbe\u795e\u98df\u7cae\u7684\u670b\u53cb\u4eec&#xff0c;\u663e\u5f97\u683c\u5916\u73cd\u8d35\u800c\u7b03\u5b9a\u3002 \u901a\u8fc7 RSS&#xff08;Really Simple Syndication&#xff09;\u6216\u8005 Atom \u534f\u8bae&#xff0c;\u8bfb\u8005\u4e0e\u4f5c\u8005\u4e4b\u95f4\u5efa\u7acb\u8d77\u4e86\u4e00\u79cd\u7eaf\u7cb9\u3001\u53bb\u4e2d\u5fc3\u5316\u3001\u6beb\u65e0\u5546\u4e1a\u5e7f\u544a\u5e72\u6270\u7684\u6570\u5b57\u5951\u7ea6&#xff1a;\u4f5c\u8005\u5b89\u5b89\u9759\u9759\u5730\u5199\u5b57\u843d\u76d8&amp;#\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/116789.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-21T20:32:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261021203240-6ad92168b0fa5.webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/116789.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/116789.html\",\"name\":\"\u6781\u81f4\u8f7b\u91cf\u7684\u5168\u7ad9\u9759\u6001 RSS \u805a\u5408\u4e0e\u5fae\u683c\u5f0f\u8ba2\u9605\u6d41\u751f\u6210\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-21T20:32:42+00:00\",\"dateModified\":\"2026-10-21T20:32:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/116789.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/116789.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/116789.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6781\u81f4\u8f7b\u91cf\u7684\u5168\u7ad9\u9759\u6001 RSS \u805a\u5408\u4e0e\u5fae\u683c\u5f0f\u8ba2\u9605\u6d41\u751f\u6210\u5b9e\u6218\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6781\u81f4\u8f7b\u91cf\u7684\u5168\u7ad9\u9759\u6001 RSS \u805a\u5408\u4e0e\u5fae\u683c\u5f0f\u8ba2\u9605\u6d41\u751f\u6210\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/116789.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6781\u81f4\u8f7b\u91cf\u7684\u5168\u7ad9\u9759\u6001 RSS \u805a\u5408\u4e0e\u5fae\u683c\u5f0f\u8ba2\u9605\u6d41\u751f\u6210\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5728\u7b97\u6cd5\u63a8\u8350\u4e0e\u77ed\u89c6\u9891\u4fe1\u606f\u6d2a\u6d41\u65e0\u5b54\u4e0d\u5165\u7684\u65f6\u4ee3&#xff0c;\u4e2a\u4eba\u7684\u6ce8\u610f\u529b\u5e38\u5e38\u88ab\u52a8\u5730\u5728\u4fe1\u606f\u7684\u4fe1\u606f\u8327\u623f\u91cc\u88ab\u6d88\u8017\u6b86\u5c3d\u3002\u6b63\u56e0\u5982\u6b64&#xff0c;\u90a3\u4e9b\u4f9d\u7136\u575a\u5b88\u4e2a\u4eba\u72ec\u7acb\u535a\u5ba2\u3001\u575a\u6301\u4f7f\u7528 RSS \u9605\u8bfb\u5668\u8ba2\u9605\u7cbe\u795e\u98df\u7cae\u7684\u670b\u53cb\u4eec&#xff0c;\u663e\u5f97\u683c\u5916\u73cd\u8d35\u800c\u7b03\u5b9a\u3002 \u901a\u8fc7 RSS&#xff08;Really Simple Syndication&#xff09;\u6216\u8005 Atom \u534f\u8bae&#xff0c;\u8bfb\u8005\u4e0e\u4f5c\u8005\u4e4b\u95f4\u5efa\u7acb\u8d77\u4e86\u4e00\u79cd\u7eaf\u7cb9\u3001\u53bb\u4e2d\u5fc3\u5316\u3001\u6beb\u65e0\u5546\u4e1a\u5e7f\u544a\u5e72\u6270\u7684\u6570\u5b57\u5951\u7ea6&#xff1a;\u4f5c\u8005\u5b89\u5b89\u9759\u9759\u5730\u5199\u5b57\u843d\u76d8&amp;#","og_url":"https:\/\/www.wsisp.com\/helps\/116789.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-21T20:32:42+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261021203240-6ad92168b0fa5.webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/116789.html","url":"https:\/\/www.wsisp.com\/helps\/116789.html","name":"\u6781\u81f4\u8f7b\u91cf\u7684\u5168\u7ad9\u9759\u6001 RSS \u805a\u5408\u4e0e\u5fae\u683c\u5f0f\u8ba2\u9605\u6d41\u751f\u6210\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-21T20:32:42+00:00","dateModified":"2026-10-21T20:32:42+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/116789.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/116789.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/116789.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u6781\u81f4\u8f7b\u91cf\u7684\u5168\u7ad9\u9759\u6001 RSS \u805a\u5408\u4e0e\u5fae\u683c\u5f0f\u8ba2\u9605\u6d41\u751f\u6210\u5b9e\u6218"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/116789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=116789"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/116789\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=116789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=116789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=116789"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=116789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}