设置Github Commit RSS提要

问题描述 投票:84回答:2

我试图让我的github提交作为RSS提要,但到目前为止,我还没有设法弄明白。我知道私有源可用以下语法:

https://github.com/username.atom?token=token

但这是用户活动的Feed。我想要一个我的项目的提交源。提前致谢!

完美,谢谢!!这是最后的语法:

https://github.com/username/repository_name/commits/branch_name.atom?login=login&token=token. 

尽管如此,仍然无法查看所有分支机构的提交。

github rss feed github-api atom-feed
2个回答
130
投票

你想要https://github.com/whatever/commits/master.atom,就像Cloudera flume repository那样是https://github.com/cloudera/flume/commits/master.atom


4
投票

除了RssHub(第一部分)之外,还有另一种替代official atoms

GitHub正式提供一些官方RSS源:

回购发布:https://github.com/:owner/:repo/releases.atom

回复提交:https://github.com/:owner/:repo/commits.atom

用户活动:https://github.com/:user.atom

私人订阅:https://github.com/:user.private.atom?token=:secret(您可以在登录后在信息中心页面中找到订阅新闻Feed)

RssHub:

Github存储库

示例:https://rsshub.app/github/repos/yanglr

路由:/github/repos/:user

参数:

  • 用户(必填):用户名

Github语言趋势

示例:https://rsshub.app/github/trending/daily/javascript

路由:/github/trending/:since/:language?

参数:

  • 从(必需):时间跨度,可在Trending page URL中找到,每月可选
  • 语言(可选) 语言,可以在Trending page URL中找到

Github存储库问题

示例:https://rsshub.app/github/issue/DIYgod/RSSHub

路由:/github/issue/:user/:repo

参数:

  • 用户(必填):用户名
  • 回购(必填):存储库名称

Github Repository Pull请求

示例:https://rsshub.app/github/pull/DIYgod/RSSHub

路由:/github/pull/:user/:repo

参数:

  • 用户(必填):用户名
  • 回购(必填):存储库名称

Github用户

示例:https://rsshub.app/github/user/followers/yanglr

路由:/github/user/followers/:user

参数:

  • 用户(必填):用户名

Github Repository Stars

示例:https://rsshub.app/github/stars/yanglr/CaliburnMicro-Calculator

路由:/github/stars/:user/:repo

参数:

  • 用户(必填):用户名
  • 回购(必填):存储库名称

Github搜索结果

示例:https://rsshub.app/github/search/RSSHub/bestmatch/desc

路由:/github/search/:query/:sort?/:order?

参数:

  • 查询(必填):搜索关键字
  • 排序(可选):排序选项(默认为最佳匹配)
  • 订单(可选):排序顺序,desc和asc(默认desc降序)

enter image description here此外,如果不需要使用帐户登录,您可以使用Feed43为任何网页创建Feed。官方教程,点击here查看。

© www.soinside.com 2019 - 2024. All rights reserved.