add NewsBlur (#1171)
This commit is contained in:
parent
3f7b186920
commit
c93d74d468
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
|
|
@ -36,6 +36,8 @@ export const defaultConfig = {
|
||||||
bazqux: false,
|
bazqux: false,
|
||||||
local: false,
|
local: false,
|
||||||
follow: true,
|
follow: true,
|
||||||
|
newsblur: false,
|
||||||
|
newsblurDomain: "https://www.newsblur.com",
|
||||||
},
|
},
|
||||||
refreshTimeout: 2 * 60 * 60,
|
refreshTimeout: 2 * 60 * 60,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import MinifluxLogo from "data-base64:~/assets/miniflux.ico"
|
||||||
import FreshRSSLogo from "data-base64:~/assets/freshrss.svg"
|
import FreshRSSLogo from "data-base64:~/assets/freshrss.svg"
|
||||||
import TinyTinyRSSLogo from "data-base64:~/assets/ttrss.png"
|
import TinyTinyRSSLogo from "data-base64:~/assets/ttrss.png"
|
||||||
import FeedlyLogo from "data-base64:~/assets/feedly.png"
|
import FeedlyLogo from "data-base64:~/assets/feedly.png"
|
||||||
|
import NewsBlurLogo from "data-base64:~/assets/newsblur.png"
|
||||||
|
|
||||||
export const logoMap = new Map<string, string>([
|
export const logoMap = new Map<string, string>([
|
||||||
["follow", FollowLogo],
|
["follow", FollowLogo],
|
||||||
|
|
@ -12,4 +13,5 @@ export const logoMap = new Map<string, string>([
|
||||||
["freshrss", FreshRSSLogo],
|
["freshrss", FreshRSSLogo],
|
||||||
["ttrss", TinyTinyRSSLogo],
|
["ttrss", TinyTinyRSSLogo],
|
||||||
["feedly", FeedlyLogo],
|
["feedly", FeedlyLogo],
|
||||||
|
["newsblur", NewsBlurLogo],
|
||||||
])
|
])
|
||||||
|
|
|
||||||
|
|
@ -139,4 +139,12 @@ export const quickSubscriptions: ({
|
||||||
themeColor: "#f28f34",
|
themeColor: "#f28f34",
|
||||||
getSubscribePath: (data) => data.url.replace(/^https?:\/\//, ""),
|
getSubscribePath: (data) => data.url.replace(/^https?:\/\//, ""),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "NewsBlur",
|
||||||
|
projectUrl: "https://newsblur.com/",
|
||||||
|
key: "newsblur",
|
||||||
|
subscribeDomainKey: "newsblurDomain" ,
|
||||||
|
themeColor: "#eebd10",
|
||||||
|
getSubscribePath: (data) => `/?url=${data.encodedUrl}`,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue