zoukankan      html  css  js  c++  java
  • Discourse 数据分发

    我们可能希望 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 &#39;releases&#39; category" href="https://meta.discourse.org/c/releases.rss" />
    

    如果你部署了你自己的 Discourse 网站的话,你可以直接访问上面的链接。

    这些数据能够让你提供给其他的平台进行处理。

    如果你希望将你的网站添加到 Google 或者 Bing 或者其他的搜索引擎的话。

    你可以直接将上面的链接提交,搜索引擎将会对其进行索引。

    这样能够允许你进行自动添加,能够给你的网站带来更好的搜索引擎展示。

    https://www.ossez.com/t/discourse/101/2

  • 相关阅读:
    Go Map
    Go XORM
    Go切片
    Go函数
    dockerfile常用指令
    Goroutine并发控制
    Go 格式转换
    Go 常用知识点及实例
    Go 时间
    Go error
  • 原文地址:https://www.cnblogs.com/huyuchengus/p/12971736.html
Copyright © 2011-2022 走看看