设置Github Commit RSS提要

jal*_*nge 85 rss github feed github-api atom-feed

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

https://github.com/username.atom?token=token
Run Code Online (Sandbox Code Playgroud)

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

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

https://github.com/username/repository_name/commits/branch_name.atom?login=login&token=token. 
Run Code Online (Sandbox Code Playgroud)

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

Can*_*ice 133

你想要https://github.com/whatever/commits/master.atom,就像Cloudera水槽库一样https://github.com/cloudera/flume/commits/master.atom.

  • 有没有办法获得项目的标签供稿?某些项目使用标记来提供发布tarball.将这些作为RSS提要关注起来会很有用. (6认同)
  • @TrinitronX - 你可以用releases.atom替换commits/master.atom来获取版本.因此,对于上面的示例,它将是https://github.com/cloudera/flume/releases.atom. (5认同)
  • 您还可以获取特定文件历史记录的提要:`https:// github.com/whatever/commits/master/path/to/file.atom`. (4认同)
  • 我想它遵循相同的模式.将您的存储库名称替换为"whatever",并将`?token = token`放在最后.试一试. (3认同)

Bra*_*ung 5

除了官方原子(第一部分)以外,还有另一种RssHub

GitHub正式提供了一些官方RSS feed:

回购版本: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(登录后,您可以在仪表板页面中找到“订阅新闻提要”)


RssHub:

Github仓库

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

路由: /github/repos/:user

参数:

  • 用户(必填):用户名

Github语言趋势

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

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

参数:

  • 由于(必需):时间跨度,在趋势页面 URL中可用,每月可选

  • 语言(可选)

    语言,可以在趋势页面 URL中找到

Github存储库问题

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

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

参数:

  • 用户(必填):用户名

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

Github存储库拉取请求

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

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

参数:

  • 用户(必填):用户名

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

Github用户

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

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

参数:

  • 用户(必填):用户名

Github存储库星

示例: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?

参数:

  • 查询(必填):搜索关键字

  • 排序(可选):排序选项(默认为最佳匹配)

  • 顺序(可选):排序顺序,降序和升序(默认降序降序)

在此处输入图片说明

此外,如果不需要使用帐户登录,则可以使用Feed43为任何网页创建供稿。官方教程,请点击这里查看。