Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imporve Media RSS support for sites like DeviantArt #2502

Open
huantianad opened this issue Mar 13, 2024 · 0 comments
Open

Imporve Media RSS support for sites like DeviantArt #2502

huantianad opened this issue Mar 13, 2024 · 0 comments

Comments

@huantianad
Copy link

huantianad commented Mar 13, 2024

Hello, wanted to start by saying thanks for this great program.

Not sure if this is the right category for this issue, but I want to ask if it would be possible to improve the display of content from sites like DeviantArt. Their RSS feed uses Media RSS, and thus contains both a normal description tag as well as a media:description tag for the media:content value.

Consider the following feed: https://backend.deviantart.com/rss.xml?q=by:zander-the-artist+sort:time

Looking at the current first item, here's the most important part

<media:description type="html">
  Zero the Mew! She used to be known as Zeak the Mew, but my friend wanted to change her name (so she isn't confused with Zeak the Porygon Z from my comic, among other reasons), as well as her design (because he felt it was too basic).<br /><br />A co-owned character between me and <span class="username-with-symbol u"><a class="u regular username" href="https://www.deviantart.com/atlasben" target="_self">atlasben</a><span class="user-symbol regular" data-quicktip-text="" data-show-tooltip="" data-gruser-type="regular"></span></span>
</media:description>
<media:thumbnail url="https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/a5f5c619-36cb-476c-a18c-5fd38723277c/dh0gpkk-561eddcd-9b01-4d59-88ca-9f6376323131.png/v1/fit/w_150,h_150,q_70,strp/zero_the_mew_by_zander_the_artist_dh0gpkk-150.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9MTgxMSIsInBhdGgiOiJcL2ZcL2E1ZjVjNjE5LTM2Y2ItNDc2Yy1hMThjLTVmZDM4NzIzMjc3Y1wvZGgwZ3Bray01NjFlZGRjZC05YjAxLTRkNTktODhjYS05ZjYzNzYzMjMxMzEucG5nIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uub3BlcmF0aW9ucyJdfQ.m5roze61gHX7BXbn6-WTUN1e4EoaO6FIrngwzKgP2ig" height="150" width="106"/>
<media:thumbnail url="https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/a5f5c619-36cb-476c-a18c-5fd38723277c/dh0gpkk-561eddcd-9b01-4d59-88ca-9f6376323131.png/v1/fit/w_300,h_900,q_70,strp/zero_the_mew_by_zander_the_artist_dh0gpkk-300w.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9MTgxMSIsInBhdGgiOiJcL2ZcL2E1ZjVjNjE5LTM2Y2ItNDc2Yy1hMThjLTVmZDM4NzIzMjc3Y1wvZGgwZ3Bray01NjFlZGRjZC05YjAxLTRkNTktODhjYS05ZjYzNzYzMjMxMzEucG5nIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uub3BlcmF0aW9ucyJdfQ.m5roze61gHX7BXbn6-WTUN1e4EoaO6FIrngwzKgP2ig" height="424" width="300"/>
<media:thumbnail url="https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/a5f5c619-36cb-476c-a18c-5fd38723277c/dh0gpkk-561eddcd-9b01-4d59-88ca-9f6376323131.png/v1/crop/w_141,h_200,x_0,y_0,scl_0.049067035245335,q_70,strp/zero_the_mew_by_zander_the_artist_dh0gpkk-200h.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9MTgxMSIsInBhdGgiOiJcL2ZcL2E1ZjVjNjE5LTM2Y2ItNDc2Yy1hMThjLTVmZDM4NzIzMjc3Y1wvZGgwZ3Bray01NjFlZGRjZC05YjAxLTRkNTktODhjYS05ZjYzNzYzMjMxMzEucG5nIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uub3BlcmF0aW9ucyJdfQ.m5roze61gHX7BXbn6-WTUN1e4EoaO6FIrngwzKgP2ig" height="200" width="141"/>
<media:content url="https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/a5f5c619-36cb-476c-a18c-5fd38723277c/dh0gpkk-561eddcd-9b01-4d59-88ca-9f6376323131.png/v1/fill/w_751,h_1063,q_70,strp/zero_the_mew_by_zander_the_artist_dh0gpkk-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9MTgxMSIsInBhdGgiOiJcL2ZcL2E1ZjVjNjE5LTM2Y2ItNDc2Yy1hMThjLTVmZDM4NzIzMjc3Y1wvZGgwZ3Bray01NjFlZGRjZC05YjAxLTRkNTktODhjYS05ZjYzNzYzMjMxMzEucG5nIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uub3BlcmF0aW9ucyJdfQ.m5roze61gHX7BXbn6-WTUN1e4EoaO6FIrngwzKgP2ig" height="1063" width="751" medium="image"/>
<description>
  Zero the Mew! She used to be known as Zeak the Mew, but my friend wanted to change her name (so she isn't confused with Zeak the Porygon Z from my comic, among other reasons), as well as her design (because he felt it was too basic).<br /><br />A co-owned character between me and <span class="username-with-symbol u"><a class="u regular username" href="https://www.deviantart.com/atlasben" target="_self">atlasben</a><span class="user-symbol regular" data-quicktip-text="" data-show-tooltip="" data-gruser-type="regular"></span></span><br /><div><img src="https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/a5f5c619-36cb-476c-a18c-5fd38723277c/dh0gpkk-561eddcd-9b01-4d59-88ca-9f6376323131.png/v1/crop/w_141,h_200,x_0,y_0,scl_0.049067035245335,q_70,strp/zero_the_mew_by_zander_the_artist_dh0gpkk-200h.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9MTgxMSIsInBhdGgiOiJcL2ZcL2E1ZjVjNjE5LTM2Y2ItNDc2Yy1hMThjLTVmZDM4NzIzMjc3Y1wvZGgwZ3Bray01NjFlZGRjZC05YjAxLTRkNTktODhjYS05ZjYzNzYzMjMxMzEucG5nIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uub3BlcmF0aW9ucyJdfQ.m5roze61gHX7BXbn6-WTUN1e4EoaO6FIrngwzKgP2ig" alt="thumbnail" /></div>
</description>

Currently, Miniflux displays the <description> with the media:thumbnail and media:content values in an Attachment dropdown. However, this is suboptimal for this style of feed, as this will result in the description showing up first, then a low-res version of the actual image. Even using the attachment dropdown, I'd have to scroll through all the thumbnails first before reaching the actual content.

Ideally, I'd like an option to display the media:content and media:description as the item body, instead of just the normal description, for the best experience. media:thumbnail then can stay in the attachments perhaps.

It's also probably good to look at plain text posts as well, which don't have the full content embedded in the item, but only have the description:

<media:description type="html"/>
<media:content url="https://www.deviantart.com/confusedkangaroo/art/Water-s-Wrath-by-Elise-Kova-A-review-1026368799" medium="document"/>
<media:text type="html">
Here we are again, continuing through the elemental romantic fantasy that is the Air Awakens series. Having read Earth’s End last year, I had one single hope: Vhalla engages her brain! Would this book finally be the turning point I was longing for, especially as my reading buddy had suggested some things get better at this point? Water’s Wrath by Elise Kova is different from its predecessors in that it is set 4 months after the end of the last book, which finished with the war being over, Vhalla being declared a hero and freed from her service… and her and Aldrik splitting as a couple after Aldrik was forced into an arranged marriage having already promised his heart to Vhalla. Vhalla has left everything to do with Aldrik and the South, settling into a role at Gianna’s bookshop in the West and recovering from everything that happened emotionally. Vhalla isn’t resting on her laurels however as she still has the crystal axe said to sever souls, and she knows from previously that there
</media:text>
<description/>

Please let me know if I can help explain my situation better or if this is already a feature and I missed it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants