redrabbit/audiopia — Issue #12: Rewrite audiopia::resource::basic_import and implement audiopia::resource::complex_import
Author: redrabbit
Created: 2011-10-14 00:26:37+00:00
State: open
Labels: implementation, refactoring

* The ``basic_import()`` method has to set the given ``url``, the given ``tags`` and the given ``meta`` object.
Additionally it must save the current time at ``stat.import_time``.
* The ``complex_import()`` methods imports a resource from a full customable ``mongo::BSONObj``. Required fields have to be checked.
* The ``_id`` has to be generate and set manually for caching reason (we don't want to ìnsert and them query the ``_id``).