[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination
From: |
Jeroen van Rijn |
Subject: |
Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination |
Date: |
Thu, 7 Jan 2010 18:12:47 +0100 |
> Hum, that's a very good call. The problem is that if we consider
> non-[A-Z] first letters, then the "by-letter selection" becomes very,
> very long. But if we want to be truly i18n-ized, then we must support
> it.
How about this? Group unique starting characters into a list, sort
taking UTF8 collation into account, then slice it up into a reasonable
number of indices (depending on the number of pages and characters in
the list). So you might have:
/maps/[0-9]
/maps/[AÃÄÁÀÂBCÇDEËÉÈÊ]
/maps/[F-K]
/maps/[L-OÕÖÓÒÔ]
And so on, which could vary depending on the number of maps. If one
letter has an overwhelming amount of entries further paging could be
considered, like: /maps/A/1
Regards,
Jeroen.
- [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, (continued)
- [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, Maxime Petazzoni, 2010/01/07
- [Maposmatic-dev] [PATCH 4/6] Make the ITEMS_PER_PAGE settings local., Maxime Petazzoni, 2010/01/07
- [Maposmatic-dev] [PATCH 5/6] Add an 'All' link in the letter selection., Maxime Petazzoni, 2010/01/07
- [Maposmatic-dev] [PATCH 6/6] Update translation files, Maxime Petazzoni, 2010/01/07
- [Maposmatic-dev] [PATCH] French terminoly improvements, Maxime Petazzoni, 2010/01/07
- Re: [Maposmatic-dev] [PATCH] French terminoly improvements, Maxime Petazzoni, 2010/01/07
- Re: [Maposmatic-dev] [PATCH] French terminoly improvements, David MENTRE, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 4/6] Make the ITEMS_PER_PAGE settings local., Maxime Petazzoni, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, David MENTRE, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, Maxime Petazzoni, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination,
Jeroen van Rijn <=
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, Maxime Petazzoni, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, Jeroen van Rijn, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, Jeroen van Rijn, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, David MENTRE, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, Jeroen van Rijn, 2010/01/07
Re: [Maposmatic-dev] [PATCH 2/6] Updated PO files for the UI revamp., Maxime Petazzoni, 2010/01/07
Re: [Maposmatic-dev] [PATCH 1/6] Revamp the jobs and maps pages, David MENTRE, 2010/01/07