Eliminate local copies of .xml feeds on the OCaml Planet #1396
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #1242.
.xml
feeds of the OCaml Planet are removed from the repository.ood-gen
now has aplanet_feed
option to generate the OCaml Planet'sfeed.xml
at build time.planet-sources.yml
were part of the feed.planet-sources.yml
source
for the RSS feed of the OCaml Planet.name
of thesource
as author, not theid
.updated
time of the globalfeed.xml
is now theupdated
time of the most recent postdecode
reports in which file something is wrongSource
,Feed
,Scraper
are now modules withinplanet.ml
, for better code readabilityNote: Right after merging this, the scraper branch needs to be rebased on main, or else the scraper will do weird things.
ETA: I only split this up in two commits because it's impossible to review the code on the GitHub UI with the removal of
.xml
feeds and regenerating of posts. The commits do not work individually, only together. The first commit is the one that changes the logic.