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

Add more RSS feeds #24

Merged
merged 12 commits into from
Nov 19, 2023
Merged

Add more RSS feeds #24

merged 12 commits into from
Nov 19, 2023

Conversation

meduzen
Copy link
Owner

@meduzen meduzen commented Nov 19, 2023

No description provided.

@meduzen meduzen added the enhancement New feature or request label Nov 19, 2023
@meduzen meduzen self-assigned this Nov 19, 2023
Copy link

what-the-diff bot commented Nov 19, 2023

PR Summary

  • Introduction of Content Type Differentiating Functions
    New functions isContentType, isArticle and isNote have been added. These will help identify whether a piece of content is a general type, an article or a note respectively.

  • Addition of Content Filtering & Sorting Mechanism
    Logic has been added to filter and sort all content based on their publication dates, ensuring that the most recent content is always displayed first.

  • Creation of Comprehensive, Notes and Articles RSS Feeds
    Three separate feeds were created to handle different types of content:

    • feedWithEverything will display all types of content including notes and articles.
    • feedWithNotesOnly is exclusive to notes only.
    • feedWithArticlesOnly pertains only to articles.

Each of the given feeds has their own individual logic to iterate over the addressed content type, add respective items and filter out the unnecessary.

  • File Generation Update
    The function to generate the feed-articles-only.xml file has been updated to incorporate these changes, hence enhancing the resourcefulness of the file.

@meduzen meduzen mentioned this pull request Nov 19, 2023
6 tasks
Copy link

github-actions bot commented Nov 19, 2023

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
Everything 7.07 MB (+0.21% 🔺) 144.8 s (+0.21% 🔺) 1.6 s (+16.95% 🔺) 146.3 s
Assets (excluding CSS and JS) 378.48 KB (0%) 7.6 s (0%) 0 ms (+100% 🔺) 7.6 s
CSS 15.1 KB (0%) 303 ms (0%) 0 ms (+100% 🔺) 303 ms
JavaScript 78.75 KB (-0.02% 🔽) 1.6 s (-0.02% 🔽) 1.2 s (-10.32% 🔽) 2.7 s
Articles 20.77 KB (-0.01% 🔽) 416 ms (-0.01% 🔽) 0 ms (+100% 🔺) 416 ms
Notes 20.45 KB (+0.08% 🔺) 410 ms (+0.08% 🔺) 0 ms (+100% 🔺) 410 ms
Media for articles and notes 6.52 MB (0%) 133.5 s (0%) 0 ms (+100% 🔺) 133.5 s
Feeds 24.77 KB (+142.66% 🔺) 496 ms (+142.66% 🔺) 0 ms (+100% 🔺) 496 ms

@meduzen meduzen marked this pull request as ready for review November 19, 2023 16:23
@meduzen meduzen merged commit ba6ec8d into main Nov 19, 2023
2 checks passed
@meduzen meduzen deleted the rss-feeds-galore branch November 19, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant