feat: add feeds.pub support (#277)
This commit is contained in:
parent
150579916b
commit
393bbc16d0
|
|
@ -207,6 +207,15 @@ body {
|
|||
background: #ff2300;
|
||||
}
|
||||
}
|
||||
&.rss-submitto-feedspub {
|
||||
color: #61af4b;
|
||||
border: 1px solid #61af4b;
|
||||
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background: #61af4b;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export const defaultConfig = {
|
|||
inoreader: false,
|
||||
feedbin: false,
|
||||
theoldreader: false,
|
||||
feedspub: false,
|
||||
local: false,
|
||||
},
|
||||
refreshTimeout: 5 * 60 * 60,
|
||||
|
|
|
|||
|
|
@ -62,6 +62,10 @@
|
|||
<div class="setting-input">
|
||||
<el-checkbox @change="saveConfig" v-model="config.submitto.theoldreader">开启</el-checkbox>
|
||||
</div>
|
||||
<div class="setting-name">Feeds.Pub <a target="_blank" href="https://feeds.pub/"><i class="el-icon-info"></i></a></div>
|
||||
<div class="setting-input">
|
||||
<el-checkbox @change="saveConfig" v-model="config.submitto.feedspub">开启</el-checkbox>
|
||||
</div>
|
||||
<div class="setting-name">本地阅读器 <el-tooltip class="item" effect="dark" content="需要阅读器支持,如 Reeder 等" placement="top"><i class="el-icon-info"></i></el-tooltip></div>
|
||||
<div class="setting-input">
|
||||
<el-checkbox @change="saveConfig" v-model="config.submitto.local">开启</el-checkbox>
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ function generateList(type, list) {
|
|||
${config.submitto.inoreader ? `<a href="https://www.inoreader.com/?add_feed=${encodeURI(url)}" class="rss-action rss-submitto-inoreader">订阅到 Inoreader</a>` : ''}
|
||||
${config.submitto.feedbin ? `<a href="https://feedbin.com/?subscribe=${encodeURI(url)}" class="rss-action rss-submitto-feedbin">订阅到 Feedbin</a>` : ''}
|
||||
${config.submitto.theoldreader ? `<a href="https://theoldreader.com/feeds/subscribe?url=${encodeURI(url)}" class="rss-action rss-submitto-theoldreader">订阅到 The Old Reader</a>` : ''}
|
||||
${config.submitto.feedspub ? `<a href="https://feeds.pub/feed/${encodeURIComponent(url)}" class="rss-action rss-submitto-feedspub">订阅到 Feeds.Pub</a>` : ''}
|
||||
${config.submitto.local ? `<a href="feed://${url}" class="rss-action rss-submitto-local">订阅到本地阅读器</a>` : ''}`
|
||||
}
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue