Unauthenticated RSS links (channel page)

This commit is contained in:
root
2023-01-28 03:25:21 +05:30
parent b1df7156ad
commit 1f9568e831
3 changed files with 12 additions and 3 deletions
+7
View File
@@ -19,6 +19,7 @@
</span>
<ChannelSharingPanel :channel-id="channel.id" />
<SubscriptionButton :channel-id="channel.id" />
<v-btn outlined color="primary" link :href="unauthenticatedRSS" class="ml-2">{{ $t('actions.unauthenticated_rss') }}</v-btn>
</div>
<v-card-text>
<div v-html="renderedDescription" />
@@ -225,6 +226,12 @@ export default {
}))
},
unauthenticatedRSS () {
const u = new URL('/feed/unauthenticated/rss', this.$store.getters['prefs/apiUrl'])
u.searchParams.set('channels', this.channel?.id)
return u.href
},
view () {
if (this.currentlySelectedTab === 0) {
return {
+3 -2
View File
@@ -62,7 +62,7 @@
"subscribe": "সদস্যতা নেবেন?",
"unsubscribe": "সদস্যতা পরিত্যাগ করবেন?",
"view_subscriptions": "channel এ সদস্যতার তালিকা",
"rss_of_subscriptions": "আপনি যে যে channel এ সদস্যতা নিয়েছেন তাদের RSS ফিড",
"rss_of_subscriptions": "আপনার সদস্যতা নেওয়া channelদের বারতা – RSS দ্বারা",
"sort_by": "কোন ক্রমানুযায়ী video গুলো আসবে ",
"most_recent": "সবচেয়ে নতুন আগে",
"least_recent": "সবচেয়ে পুরোনো আগে",
@@ -96,7 +96,8 @@
"related_videos": "অন্ন সম্পর্কিত video",
"related_comments": "অন্নদের মন্তব্য",
"autoplay_next_video": "এই videoটি শেষ হয়ে গেলে কি আপনি প্রথম সম্পর্কিত videoতে চলে যেতে চান?",
"loop_this_video": "এই videoটি শেষ হয়ে গেলে, videoটি কে আবার সুরু থেকে চালাব? (loop করব?)"
"loop_this_video": "এই videoটি শেষ হয়ে গেলে, videoটি কে আবার সুরু থেকে চালাব? (loop করব?)",
"unauthenticated_rss": "এই channelটির RSS বারতা URL (আপনার নথির সঙ্গে অসম্পর্কিত)"
},
"preferences": {
"colorScheme": "কি রঙে আপনি দেখতে চান",
+2 -1
View File
@@ -117,7 +117,8 @@
"related_videos": "Related Videos",
"related_comments": "Comments",
"autoplay_next_video": "Proceed to the first related video once this video ends",
"loop_this_video": "Loop this video"
"loop_this_video": "Loop this video",
"unauthenticated_rss": "RSS (unauthenticated)"
},
"preferences": {
"colorScheme": "Color Scheme",