RSS feeds - The MDN project 编辑

The MDN wiki offers a number of feeds that you can use to monitor the site. Some of these are still something of a work in progress, but this information may still be useful for you.

Accessing the feeds

All feeds start with the following base URL:

/wiki/<locale>/docs/feeds/<format>/

The placeholders in the base URL can be filled in with the following:

  • <locale> is one of the standard locale strings, such as "en-US", "ja", and so forth. The feed is filtered to only include entries for articles in that locale, unless you add the ?all_locales option to the URL.
  • <format> is one of rss, atom, or json

If you use the json format, you also have the option of supplying a ?callback=<callback name> query parameter, which follows the JSONP convention for loading data as JavaScript.

Available feeds

all
All recently changed articles, in order of modification date. This includes newly created articles. All changes are combined into one entry in the feed for each article. For example: https://developer.mozilla.org/wiki/en-US/docs/feeds/rss/all
revisions
Each revision made to an article, in order by modification date, including newly created articles. Each revision has a separate entry in the feed. For example: https://developer.mozilla.org/wiki/en-US/docs/feeds/atom/revisions
tag/<tagname>
Recently changed articles, in order by modification date. Only articles that have the specified tag are included in the feed. For example: https://developer.mozilla.org/wiki/en-US/docs/feeds/json/tag/CSS?callback=loadFeed
files
Recently changed or uploaded files. For example: https://developer.mozilla.org/wiki/en-US/docs/feeds/atom/files
l10n-updates
Articles whose translation parent has changed since the last time they were edited (that is, articles that have been translated from another language and whose source article has been changed). For example: https://developer.mozilla.org/wiki/fr/docs/feeds/atom/l10n-updates
needs-review[/<reviewtype>]
A list of articles that have the specified review request checked, or all articles with a review requested if you don't specify a review type. The review type can be one of technical, editorial, or kumascript.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:149 次

字数:3847

最后编辑:6 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文