View Single Post
Old 08-08-2011, 07:40 AM   #4
paulfiera
Addict
paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.
 
paulfiera's Avatar
 
Posts: 387
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
Quote:
Originally Posted by theducks View Post
Mine (coded by chaley) is a little more complex:

1)Series are not all by the same Author (so starting with Author is a poor idea)
2)There is a count limit on top level file/folder names
3)My device booklist is shown by folder. 8 entries at a time. (sort is only by Alpha or Date modified) I use Alpha
So I use:
00NoSeries (rises to the top of the list) folder when no series
and
<first_letter>-series (to group the series that start with the same letter) when it has a series name


Code:
program: 
test(	field('series'), 
	strcat(
		substr(field('series'), 0, 1),
		template("-series/{series}/{series_index:0>2s}-{title}_{id}_{authors}")
	),
	template("00noseries/{author_sort[0]}_authors/{authors}/{title}_{id}-{authors}")
)
Many thanks, theducks.

Where do you enter that code? In the Saving To Disk templates?
paulfiera is offline   Reply With Quote