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

Filter posts by tag #10

Open
bbkr opened this issue May 19, 2024 · 0 comments
Open

Filter posts by tag #10

bbkr opened this issue May 19, 2024 · 0 comments

Comments

@bbkr
Copy link

bbkr commented May 19, 2024

Currently for given feed all posts are published on planet.raku.org.
Which sometimes slurps content unrelated to Raku and clutters the page.

My proposal is to add category filter. For example dev.to offers tags in RSS feed as <category> XML tags:

<item>
<title>UTF-8 Byte Order Mark</title>
<dc:creator>Paweł bbkr Pabian</dc:creator>
<pubDate>Mon, 18 Sep 2023 12:04:18 +0000</pubDate>
<link>https://dev.to/bbkr/utf-8-byte-order-mark-1479</link>
<guid>https://dev.to/bbkr/utf-8-byte-order-mark-1479</guid>
<description>
    ...
</description>
<category>unicode</category>
<category>utf</category>
<category>raku</category>     <==== here
</item>

So source feed can be defined as:

 -  feed: http://dev.to/feed/bbkr
    title: Paweł bbkr Pabian
    web: http://dev.to/bbkr
    tag: raku

And only posts on dev.to tagged with #raku will be reposted on planet.raku.org.

Related to: https://github.com/Raku/planet.raku.org/pull/9/files

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

No branches or pull requests

1 participant