Comment

Comment by Minor49er

This is a cool site, though I did notice something that I haven't seen anywhere before: the URL paths are JSON objects. Is there a reason for this? For example, for "The Call of Cthulhu", the URL is this: https://www.typelit.io/chapters/%7B%22bookTitle%22:%20%22The...

Why not just use this? https://www.typelit.io/chapters/5f468ca35e91c10be0883a57/The...

Also, the JSON object is fault tolerant and will display whatever you want for a title, even if there isn't a book available: https://www.typelit.io/chapters/%7B%22%64%69%73%70%6C%61%79%...

parent Minor49er 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton