Closed worldviewer closed 7 years ago
This is an excellent resource on this subject.
I've fixed the url-encoding problem.
~The first step was to make sure that there are no repeated titles. All quotes should have a unique title.~
~I'm going to use this package to perform a hash on the titles (after the - Part {num}
has been stripped out).~
~Then, I need to implement this with a ?quote=
query parameter.~
The quote home functionality is not perfect insofar as it has to reload the app in order to get to it, but everything seems to be otherwise working.
Although there already is an
objectID
attached to every quote, this number will change as new quotes are added. The objectID is also longer than it really needs to be for this purpose. So, we need a short index which is additive over time (former values do not change).We would also seem to need two separate index values: one for the quote series and a second for the item in that series.
Facets would seem to have nothing to do with this, and click-to-copy should ideally also include this URL.
URL-friendly characters:
Instead of this (URL decoded):
Should be something like this:
And for this current situation, something like: