robots.txt, sitemap.xml and an RSS feed of new content #92
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/robots-sitemap-rss"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces #91 (Gitea kept a stale conflict status after it was reopened; the branch merges cleanly into main, with the footer and icons from #88 kept alongside). Closes #87; the robots and sitemap part of #83 (owner request to bring them forward). Page descriptions and share previews stay in #83.
/robots.txt/health.DIVAN_NOINDEX=1(the private preview) closes everything./sitemap.xml(fromGET /api/sitemap)lastmodis when its latest Divan version was published./rss.xml(RSS 2.0, fromGET /api/feed)dc:creator) and a link.<link rel=alternate>) so browsers and feed readers find it; نئی تبدیلیاں in the footer.Addresses: feed and sitemap links use
SITE_URLif set, else the address the request came to.Tested
feeds.test.ts: all public pages present; a published version gives the work its date and appears first in the feed with kind, version, summary, author and opening lines; the limit is capped at 100.npm testpasses.The deploy repo sets
SITE_URLandDIVAN_NOINDEX.🤖 Generated with Claude Code