What is Nostr?
Cy /
npub1hkd…yuns
2025-01-04 20:10:51
in reply to nevent1q…686f

Cy on Nostr: In httpd.c httpd_connection() it first calls server_get_handler, then ...

In httpd.c httpd_connection() it first calls server_get_handler, then html_get_handler if the former doesn't handle the request. server_get_handler only serves timelines from "/?t=" though, which is the tag search. So:
* If you request /?t=sometag&max_timeline_entries=... and set Accept to application/rss+xml then you'll get max_timeline_entries worth of entries in an RSS feed. For any other RSS feed (i.e. /username.rss or / and set Accept to application/rss+xml the amount of entries is hardcoded to 20. Also /private.rss returns forbidden, even if you're authenticated, so I think RSS is only for public, public user, and tag timelines.

That's the situation as-is. For the future, I'd advise both code paths for RSS feeds use the same pagination though, whether it's max_timeline_entries or rss_entries or whatnot.

CC: The Real Grunfink (nprofile…73zh) OCTADE (nprofile…z6ey)
Author Public Key
npub1hkdldvynat33kt2za64c6ufz06nhnydvdgwgu6rp6e8ghfggcvnsejyuns