Team blog: Developers

Pretty URLs: Round two

Review subjects now have short URLs as well, such as:

https://lib.reviews/archive-webextension

Old “/thing/ID” URLs will continue to work. The short identifiers (“slugs”) are derived from a label associated with a review subject, and only in the original language that was used to create it (i.e. edits to translations will have no effect). In the absence of a label, the “/ID” URL schema is used.

If a thing with a given label already exists, a suffix like “-2” is automatically added. If a label changes, a redirect is kept in place. For now, we don’t limit the number of redirects/aliases, as we can trace a user’s edits and can simply undo excessive redirect use.


Üdvözöljük: Hungarian is live

Thanks to BanKris, the Hungarian language version of lib.reviews is now live (preview).

Is your language still missing? See our earlier blog post for instructions on how to get involved in translating lib.reviews.


Pretty URLs: Round one

To make lib.reviews more user-friendly, URLs to frequently accessed items will be increasingly human-readable, starting with team pages. Teams now have URLs such as:

https://lib.reviews/team/nonprofit-media

… instead of the more unwieldy:

https://lib.reviews/team/e7b911bb-9a13-4066-a70c-573d6d9ac7e7

The team name is translated into what we call a “slug”, a lower-case, hyphenated version stripped of invalid characters. Rename a team in its original language, and we’ll automatically create a redirect for you.

We’ll apply a similar scheme to “things” (review subjects), and perhaps to individual reviews/blog posts as well.

Pretty URLs are one major blocker before we move on to the most-requested feature: search.


Welkom: Dutch is live

With big thanks to Effeietsanders, Hex, Keunes and Siebrand, the Dutch language version of lib.reviews is now live. Thanks also to Siebrand for preparing a pull request to enable the new language.

Is your language still missing? See our earlier blog post for instructions on how to get involved in translating lib.reviews.


Preview a language by adding ?uselang=<language code> to the URL

You can now preview any user interface/content language by adding

?uselang=<language code>

to the end of the URL. This is useful for sending users links in a given language, and for testing translations. It only applies to the page you’re loading (but can be used to compose a review in the given language).

Example:
https://lib.reviews/?uselang=es - frontpage in Spanish

The list of language codes can be found here; some aren’t activated yet since they’re incomplete.


Benvenuto: Italian is live

Thanks to translatewiki.net community members Anto, Beta16 and Fitoschido, lib.reviews is now also available in Italian. This brings the total number of supported languages to 13. Is your language still missing? Please see this earlier blog post for information how to get involved. Thanks to all translators who continually keep these translations updated, as well!


Opening up: community-controlled growth with invite links

lib.reviews is still in early development (we started work on the project in the summer), but we have enough basic functionality now to open up a little bit more. More than 100 reviews have been written on the platform to date, we have support for multiple languages, and we can organize reviews in teams (a bit like subreddits).

To get a few more folks involved, any member of the community can now help it grow. Anytime you write a review, you earn an invite link that you can share with someone you trust. They can use it to sign up on the site, join your favorite teams, and write reviews. Just let them know that things are still rough around the edges and basic features like search are still to come, so they aren’t too disappointed. :) Development help is, of course, always welcome - this is a true open source project.

We track who came through what link, so if we see anything nefarious going on, we can respond fairly quickly. But mostly, we look forward to meeting new folks interested in joining our quest to review the world :)


Frequently Asked Questions about lib.reviews

As the project grows, it makes sense to address common questions in one place. Please see our FAQ. If you’d like to submit a translation, you can edit the relevant language version on GitHub; find us on #lib.reviews if you require assistance initializing a language. If you have feedback on the FAQ, please file an issue or let us know on chat as well.


Welcome to lib.reviews in Traditional Chinese!

In addition to Simplified Chinese, the script used in mainland China, lib.reviews is now also available in Traditional Chinese, the script used in Taiwan, Hong Kong, and Macau. Thanks to Kly for this translation!

Is your language still missing? See our previous blog post for information how to get started on a translation.


Find us on Riot

Thanks to WinterFox, you can now also chat with us using Riot, a free and open chat interface built on top of the open Matrix standard. Our Riot room is bridged to our IRC channel. If you don’t find IRC user-friendly, this is a good alternative. To join the chatroom, visit this link:

https://riot.im/app/#/room/#lib.reviews:matrix.org

Or if you want to play with the latest features:

https://riot.im/develop/#/room/#lib.reviews:matrix.org


 Older blog posts