cgeo/c-geo-opensource — pull request #2254 by rsudev (2012-12-13 12:29:39+00:00)
Title: DO NOT MERGE - Prototype of opencaching integration with oc11xml api

Here is my first go at implementing a connection to opencaching.de. As they do not have OKAPI, the only offering besides scraping is the so-called OC11xml-Api (see http://www.opencaching.de/doc/xml/).

There are several issues with this Api that make it not so well suited for us. It is aimed at time-stamp based server sync, not at personalised queries for single users. So you cannot log in and don't get personalized information (like found status), but you can retrieve different levels of detail.

Following is implemented (in a rough fashion):
- nearby search on oc.de as well. As this is not incremental as gc.com, I take everything from a 5km radius
- oc.de caches on live map
- detailed caches download. here found status is detected through logs
- you can switch it on and off in settings and supply a username for found detection

Things to cover:
- I'd like to be able to visually see the cache source (oc/gc) on the map and in lists (through icons or a marker...)
- oc offers multiple descriptions (possibly different languages), not supported yet
- oc offers cross-listing info. currently hacked into description, should go to details
- search should run asynch per source, otherwise more sources - longer search until map update!
- possibility to switch gc.com off as well.

probably more

Comments welcome!