docs
This commit is contained in:
@@ -1,13 +1,32 @@
|
||||
# RSSHub Radar
|
||||
<p align="center">
|
||||
<img src="https://i.loli.net/2019/04/23/5cbeb7e41414c.png" alt="RSSHub" width="100">
|
||||
</p>
|
||||
<h1 align="center">RSSHub Radar</h1>
|
||||
|
||||
> Browser extension that detects available RSS and [RSSHub](https://github.com/DIYgod/RSSHub) in current page
|
||||
> RSSHub Radar 是一个探测当前页面可用的 RSS 和 [RSSHub](https://github.com/DIYgod/RSSHub) 的浏览器扩展 - 万物皆可 RSS
|
||||
|
||||
[](https://chrome.google.com/webstore/detail/kefjpfngnndepjbopdmoebkipbgkggaa)
|
||||
[](https://chrome.google.com/webstore/detail/kefjpfngnndepjbopdmoebkipbgkggaa)
|
||||
[](https://chrome.google.com/webstore/detail/kefjpfngnndepjbopdmoebkipbgkggaa)
|
||||
|
||||
## 介绍
|
||||
|
||||
探测当前页面可用的 RSS 和 [RSSHub](https://github.com/DIYgod/RSSHub) 的浏览器扩展
|
||||

|
||||
|
||||
[Telegram 群](https://t.me/rsshub)
|
||||
|
||||
## 安装
|
||||
|
||||
<a href="https://chrome.google.com/webstore/detail/kefjpfngnndepjbopdmoebkipbgkggaa"><img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_128x128.png" width="48" /></a>
|
||||
|
||||
Chrome 审核中
|
||||
|
||||
Firefox 以后可能会有
|
||||
|
||||
## 参与我们
|
||||
|
||||
补充规则:编辑 [/src/js/background/rules.js](https://github.com/DIYgod/RSSHub-Radar/blob/master/src/js/background/rules.js)
|
||||
|
||||
## 相关项目
|
||||
|
||||
- [RSSHub](https://github.com/DIYgod/RSSHub)
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "rsshub-radar",
|
||||
"version": "0.0.1",
|
||||
"description": "Browser extension that detects available RSS and RSSHub",
|
||||
"description": "Browser extension to detect available RSS and RSSHub for current page",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"dev": "webpack -w --mode=production --progress --display-error-details --colors",
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
@@ -2,8 +2,9 @@
|
||||
"manifest_version": 2,
|
||||
|
||||
"name": "RSSHub Radar",
|
||||
"description": "Detect available RSS and RSSHub",
|
||||
"description": "Browser extension to detect available RSS and RSSHub for current page",
|
||||
"version": "0.1",
|
||||
"homepage_url": "https://docs.rsshub.app",
|
||||
|
||||
"browser_action": {
|
||||
"default_icon": "rsshub.png",
|
||||
|
||||
@@ -144,6 +144,26 @@ module.exports = {
|
||||
description: 'https://docs.rsshub.app/programming.html#github',
|
||||
source: '/:user/:repo/:branch/*filepath',
|
||||
target: '/github/file/:user/:repo/:branch/:filepath',
|
||||
}, {
|
||||
title: 'GitHub 仓库 Issue',
|
||||
description: 'https://docs.rsshub.app/programming.html#github',
|
||||
source: '/:user/:repo',
|
||||
target: '/github/issue/:user/:repo',
|
||||
}, {
|
||||
title: 'GitHub 仓库 Pull Requests',
|
||||
description: 'https://docs.rsshub.app/programming.html#github',
|
||||
source: '/:user/:repo',
|
||||
target: '/github/pull/:user/:repo',
|
||||
}, {
|
||||
title: 'GitHub 仓库 Stars',
|
||||
description: 'https://docs.rsshub.app/programming.html#github',
|
||||
source: '/:user/:repo',
|
||||
target: '/github/stars/:user/:repo',
|
||||
}, {
|
||||
title: 'GitHub 仓库 Branches',
|
||||
description: 'https://docs.rsshub.app/programming.html#github',
|
||||
source: '/:user/:repo',
|
||||
target: '/github/branches/:user/:repo',
|
||||
}],
|
||||
},
|
||||
};
|
||||
@@ -10,7 +10,7 @@ function generateList (type, list) {
|
||||
<img class="rss-image" src="${item.image || './rsshub.png'}">
|
||||
<a href="${item.url}" class="rss-info">
|
||||
<div class="rss-title">${item.title}</div>
|
||||
<div class="rss-url">${item.url}</div>
|
||||
<div class="rss-url">${item.url.replace('https://', '').replace('http://', '')}</div>
|
||||
</a>
|
||||
${item.isDescription ?
|
||||
`<a href="${item.url}" class="rss-action">文档</a>` :
|
||||
|
||||
Reference in New Issue
Block a user