devscoutsweden / scoutapi

4 stars 0 forks source link

Port aktivitetsbanken-crawler to Ruby #43

Open mikaelsvensson opened 9 years ago

mikaelsvensson commented 9 years ago

Importing/syncronizing data from Aktivitetsbanken to the API is currently handled by the https://github.com/zegl/aktivitetsbanken-crawler application. It works as expected but it may be better to have this kind of functionality embedded into the API itself, or at least into the same project (source code project).

To do:

mikaelsvensson commented 9 years ago

Parsing HTML

Scheduling:

mikaelsvensson commented 9 years ago

The activity descriptions should be saved using Markdown. See http://daringfireball.net/projects/markdown/basics.

zegl commented 9 years ago

@mikaelsvensson I don't see why a port from PHP to Ruby would be necessary before the crawler could be a part of this project? The simplest solution would be to have the crawlers ownership migrated to the devscoutsweden-group and then include the repo with a sub-repository for easier deployment. Only one small thing needs to be fixed in the crawler ( https://github.com/zegl/aktivitetsbanken-crawler/issues/5 ), and then everything should be ready to go.

mikaelsvensson commented 9 years ago

@zegl: Sorry, I should have explained myself better: By porting it to Ruby, thus limiting the number of programming languages involved in the overall solution, I think it will be easier to maintain the API as a whole. The same can be said for https://github.com/mikaelsvensson/scout-activities-analyzer, which should also be ported to Ruby using my own logic.

Also: Why am I writing in English!?