kiwix / kiwix-xulrunner

[ARCHIVED] Legacy Kiwix desktop solution for Windows/macOS/Linux
https://download.kiwix.org/release/kiwix-xulrunner/
GNU General Public License v3.0
112 stars 28 forks source link

Parse metafiles with simple xml with Retrofit #52

Closed rashiq closed 8 years ago

rashiq commented 8 years ago

Find a way to parse a metafile like this, using simple xml.

An example on how to use simple xml can be found by looking at LibraryNetworkEntity.java. Convert the MetaLinkNetworkEntity.java for parsing the meta link files to a similar entity.

Currently, the meta links are parsed by setting a custom ConverterFactory for retrofit: MetaLinkConverterFactory.java. It uses regex to find out the mirror urls, which is very suboptimal, since we'd also like to have the hash values and all the other data from the meta files.

iinozemtsev commented 8 years ago

I'm taking it

iinozemtsev commented 8 years ago

Sent #239

kelson42 commented 8 years ago

Looks like this ticket is done :)