我們可能希望 Discourse 能夠使用 RSS 或者 json 格式對數據對外進行發佈和傳輸。
如果你可以查看代碼的話,你可以使用下面的鏈接,能夠提供相關的代碼。
<link rel="alternate" type="application/rss+xml" title="Latest posts" href="https://meta.discourse.org/posts.rss" /> <link rel="alternate" type="application/rss+xml" title="Latest topics" href="https://meta.discourse.org/latest.rss" /> <link rel="alternate" type="application/rss+xml" title="RSS feed of topics in the 'releases' category" href="https://meta.discourse.org/c/releases.rss" />
如果你部署了你自己的 Discourse 網站的話,你可以直接訪問上面的鏈接。
這些數據能夠讓你提供給其他的平臺進行處理。
如果你希望將你的網站添加到 Google 或者 Bing 或者其他的搜索引擎的話。
你可以直接將上面的鏈接提交,搜索引擎將會對其進行索引。
這樣能夠允許你進行自動添加,能夠給你的網站帶來更好的搜索引擎展示。
https://www.ossez.com/t/discourse/101/2