calvinaquino/LNReader-Android — pull request #138 by freedomofkeima (2014-04-12 19:28:17+00:00)
Title: Add recursive crawlers for Alternative Language

Solving issue https://github.com/calvinaquino/LNReader-Android/issues/136 using crawlers.

Since each category has less than 5 sub-categories, I'm using threads to crawl sub-category with specific pattern (keyword: novel, teaser, project). After that, I'm concatenating all lists (with data singularity ensured), so translators only need to specify at least one of the category (whether it is "novel" keyword or "[language]" keyword) --> since several alternative languages such as Polish and German, they're only specify one keyword in their projects.

Tested it several times with Emulator (API 18) and Nexus 5 (Kitkat).

Hoping that this solution is generic enough to solve all problems :D