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

Filters for common use patterns #118

Open
shouya opened this issue Jun 20, 2024 · 2 comments
Open

Filters for common use patterns #118

shouya opened this issue Jun 20, 2024 · 2 comments
Labels
feature request New feature or request

Comments

@shouya
Copy link
Owner

shouya commented Jun 20, 2024

Previously, I only add filter when a reasonable feature is not possible to accomplish. Later from the feedback I decided some filters are good to have if they simplify a common usage pattern. One of such example is the addition of limit filter, which simply limits the number of posts, although already covered using the js filters.

I have several ideas on what to add:

@shouya shouya added the feature request New feature or request label Jun 23, 2024
@tillcash
Copy link

Request:

A feature to use a lighter version of YouTube embeds, similar to lite-youtube-embed?
You can find more details in this article: YouTube Embeds Are Bananas Heavy, and It's Fixable.

@shouya
Copy link
Owner Author

shouya commented Jul 15, 2024

@tillcash unfortunately the lighter youtube embeds feature is not something rss-funnel can implement.

The main reason is that the youtube feed entries are not provided as a html snippet with an <embed> which we can manipulate. You can preview youtube on your feed reader because the feed reader recognizes that the entry is a youtube video and shows an embedded video player.

Here is an example youtube feed entry in case you're curious:

 <entry>
  <id>yt:video:Mo1v8P7l4I4</id>
  <yt:videoId>Mo1v8P7l4I4</yt:videoId>
  <yt:channelId>UCZYTClx2T1of7BRZ86-8fow</yt:channelId>
  <title>How Cheap Cigars Legitimized Quantum Mechanics</title>
  <link rel="alternate" href="https://www.youtube.com/watch?v=Mo1v8P7l4I4"/>
  <author>
   <name>SciShow</name>
   <uri>https://www.youtube.com/channel/UCZYTClx2T1of7BRZ86-8fow</uri>
  </author>
  <published>2024-07-13T17:00:23+00:00</published>
  <updated>2024-07-13T17:07:16+00:00</updated>
  <media:group>
   <media:title>How Cheap Cigars Legitimized Quantum Mechanics</media:title>
   <media:thumbnail url="https://i2.ytimg.com/vi/Mo1v8P7l4I4/hqdefault.jpg" width="480" height="360"/>
   <media:description>The Stern-Gerlach Experiment in lauded in textbooks around the world for its contributions to the world of quantum physics. But for a few years, scientists unknowingly praised it for proving the wrong thing! Because instead of proving an established hypothesis about how electrons work, it had actually discovered an entirely unexpected phenomenon (called spin).</media:description>
   <media:community>
    <media:starRating count="6063" average="5.00" min="1" max="5"/>
    <media:statistics views="133055"/>
   </media:community>
  </media:group>
 </entry>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants