Hacker News new | ask | show | jobs
by always_good 3174 days ago
Though their "/search?kind=book&title=moby-dick&shelf=american-literature" example is fundamentally different in that all filters (being URL query parameters) are optional and can be arbitrarily combined.

I didn't quite understand the point of the hierarchal "search URL" when you have the /search one implemented, and they go on to say you could implement both if you have the time and energy.

1 comments

The Internet Archive WayBack machine kind of has an optional filter in a traditional URL scheme - you can replace the date in a WayBack machine URL with an asterisk as a wildcard and you'll get either the only entry it can find or a list of dates

https://web.archive.org/web/20000831072728/http://charlotte....

vs

https://web.archive.org/web/*/http://charlotte.acns.nwu.edu:...