[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: |
Maxime Petazzoni |
Subject: |
Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination |
Date: |
Thu, 7 Jan 2010 18:17:32 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi,
* Jeroen van Rijn <address@hidden> [2010-01-07 18:12:47]:
> > 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ÕÖÓÒÔ]
Well, actually I can make it to handle any first character in the
/maps/<character> URL. That's not a problem. And there is per-letter
pagination, as you get for the full list of maps.
But my inquiry was more about the list of letters to display. We could
use ranges there as you suggest, like:
All - 0-9 - A-C - D-É - F-K - ... But if these ranges change, it might
confuse people, so I don't know.
- Maxime
--
Maxime Petazzoni <http://www.bulix.org>
``One by one, the penguins took away my sanity.''
Linux kernel and software developer at MontaVista Software
signature.asc
Description: Digital signature
- [Maposmatic-dev] [PATCH 4/6] Make the ITEMS_PER_PAGE settings local., (continued)
- [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, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination,
Maxime Petazzoni <=
- 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