SkyD666 / AniVu

All-in-one Android app for RSS, BitTorrent dl & play (Podcast). MVI arch, Material You style. ⭐️ Star to support!
https://t.me/SkyD666Chat
GNU General Public License v3.0
820 stars 20 forks source link

Open in browser #36

Open P0bo opened 7 months ago

P0bo commented 7 months ago

Add an option so that we can open the download link/magnet link in phone browser through tapping or swiping. 1

SkyD666 commented 7 months ago

Now, you can click enclosures dialog link text to copy it

Bubblekey commented 7 months ago

Now, you can click enclosures dialog link text to copy

A way to quickly open the link in browser would be great.

P0bo commented 7 months ago

Now, you can click enclosures dialog link text to copy it

I c , as @Bubblekey also said it'd be nice to have a option to quickly open the download link in other apps.

Ripl0gic commented 7 months ago

I'd like this too as i have some ddl feeds which i need to open in aria2app

SkyD666 commented 7 months ago

Question, is it the \<link> or the \<enclosure> url that needs to be open? \<link>https://acg.rip/t/302769 \</link> \<enclosure url="https://acg.rip/t/302769.torrent" type="application/x-bittorrent"/>

<item>
  <title>[北宇治字幕组] 格林童話變奏曲 / The Grimm Variations [01][WebRip][HEVC_AAC][繁日內嵌]</title>
  <description><img src="https://p.inari.site/kitauji/202405/01/TheGrimmVariations.jpg" alt="" /><br /> <br /> <strong>为了您的播放能正确显示字幕效果,我们推荐您观看内封源使用 <a href="https://github.com/hooke007/MPV_lazy/releases">MPV 播放器<...</description>
  <pubDate>Thu, 02 May 2024 02:18:23 -0700</pubDate>
  <link>https://acg.rip/t/302769</link>
  <guid>https://acg.rip/t/302769</guid>
  <enclosure url="https://acg.rip/t/302769.torrent" type="application/x-bittorrent"/>
</item>
P0bo commented 7 months ago

For me i'd want to open enclosure url but some people may want to open the link . So it will be better if u give both option

P0bo commented 7 months ago

To be able to select which one

SkyD666 commented 7 months ago

For me i'd want to open enclosure url but some people may want to open the link . So it will be better if u give both option

https://validator.w3.org/feed/docs/warning/DuplicateEnclosure.html For enclosure url, we should open the enclosures dialog to open it, because there may have many enclosures

P0bo commented 7 months ago

Ok so if there are multiple enclosure only then open dialogue and if only one enclosure then directly redirect to browser , how does that sound? Is it possible?

P0bo commented 7 months ago

Someone pinged me in the channel Screenshot_2024-05-02-16-33-30-122_com.exteragram.messenger-edit.jpg

Ripl0gic commented 6 months ago

For me i'd want to open enclosure url but some people may want to open the link . So it will be better if u give both option

https://validator.w3.org/feed/docs/warning/DuplicateEnclosure.html For enclosure url, we should open the enclosures dialog to open it, because there may have many enclosure

I'd also like to be able to open enclosure link in browser fast , i have private tracker feeds which provide ddl and torrent download link as enclosure link (two enclosure link) so If i can set tap to open in browser the app should do this

If there is a single link directly open default browser. If there is 2 or more link then

  1. Tap the entry
  2. Shows a popup of listed enclosure link 3.then click any of the enclosure to open in in default browser.

I think the current show enclosures option and this option should stay seperate Since it will slow down the process when there is only one enclosure link By opening the enclosure window.

P0bo commented 4 months ago

@SkyD666, after thinking about it many times, I have come to the conclusion that we should not open the enclosure link in the browser with a quick tap. Multiple factors make this feature a bad idea, especially since people want to see which link they are opening. Enclosure links usually have a download link, so users may download the wrong file on click or potentially dangerous files that sometimes get uploaded to sites like Nyaa. Another thing is that with multiple enclosure link feeds like AnimeTosho, instead of reducing "taps," it will just complicate things.

I think a better idea would be to open the article link with a tap when the user selects "tap to open in browser." This will benefit not only DDL feeds but also multiple enclosure link feeds, giving the user flexibility. It will also benefit feeds that require browser login to interact with or have limited content on RSS, and feeds that sometimes the user would like to open in the browser.

For example:

Ripl0gic commented 4 months ago

Now that you say it , it makes more sense like that .Also if I want to open the enclosure in browser I may better go to the article in browser first . ⬆️