Riduidel / lifestream

a Maven project generating markdown files for each of my entries on various web services (currently planned ones are wordpress, Goodreads, and maybe StackExchange sites)
2 stars 0 forks source link

Change shaarli rendering #32

Closed Riduidel closed 4 years ago

Riduidel commented 4 years ago

Current rendering hides the effective destination, and this is a bad idea.

Riduidel commented 4 years ago

A good idea would be to alter the source destination to not be shaarli base, but link description (permalink with that short url thingie). But how does that short url work ?

shorturl is stored in link DB https://github.com/shaarli/Shaarli/blob/ad5f47adbaee1eef85e90950ab8a45fe82959924/doc/md/Link-structure.md

It seems to be generated by the link_small_hash, which invokes the smallHash php function, which code is quite straightforward, no ?

So let's try to write some test for reimplementing that in Java