codelion / ocaml.org

The official OCaml website.
https://ocaml.org
Other
0 stars 0 forks source link

Publish an RSS feed for Events #1

Open codelion opened 6 months ago

codelion commented 6 months ago

Similar to the OCaml Changelog, Events should be provided as a RSS feed (so that we can connect them with social media accounts on Twitter, LinkedIn, and Mastodon).

Hints:

Look at the implementation of RSS feeds for the OCaml Changelog (https://github.com/ocaml/ocaml.org/blob/main/tool/ood-gen/lib/changelog.ml) as inspiration for how to do this for Events (https://github.com/ocaml/ocaml.org/blob/main/tool/ood-gen/lib/event.ml). The create_feed function for Events needs to be registered as a sub-command of ood-gen here: https://github.com/ocaml/ocaml.org/blob/main/tool/ood-gen/bin/gen.ml You need to add a dune rule at https://github.com/ocaml/ocaml.org/blob/main/dune that runs the ood-gen tool to create the .xml file. Update the template at events.eml to add a link to the RSS feed.

codelion commented 6 months ago

As a reminder, ocaml.org currently publishes two feeds:

https://ocaml.org/feed.xml https://ocaml.org/blog/opam/feed.xml This is about publishing a third one.

codelion commented 6 months ago

There's also https://ocaml.org/changelog.xml

codelion commented 6 months ago

The following files in the repository may be relevant to the issue:


codelion commented 6 months ago

The following files in the repository may be relevant to the issue:


codelion commented 6 months ago

The following files in the repository may be relevant to the issue: