jetzig-framework / jetzig

Jetzig is a web framework written in Zig
MIT License
310 stars 15 forks source link

Rss feed #36

Open z1fire opened 3 months ago

z1fire commented 3 months ago

Add the ability to add rss feed, example for blogs

Deecellar commented 3 months ago

We might need to talk this as a middleware

z1fire commented 3 months ago

I assumed as much, wasn't sure if this could be considered beginner friendly or not though

Deecellar commented 3 months ago

I mean, it's probably beginner friendly, but depends on how the API would look like

z1fire commented 3 months ago

I thinks it's far enough down on the priority list that we can let people try and make it work, but only merge if it gets yours and bobs seal of approval. Otherwise it can be gotten to when it gets gotten to

notramo commented 3 months ago

What about adding JSON Feed instead? It's next-generation of RSS and can accommodate a lot more use cases. Most feed readers already support it.

Deecellar commented 3 months ago

I think they are not mutually exclusive

Froxcey commented 2 months ago

These are some confusions I have:

  1. Does the RSS apply to a specific directory? The RSS has to track something, so I assume this RSS feature will target a subroute (like /blog/...). Are subroutes supported?
  2. How will we provide the option to opt-in or opt-out of RSS feed for a directory?
  3. We will need an XML encoder for this. Is there existing one in this project that we can reuse? If not, we either need to create or import one.
vibe