diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-01 08:00:30 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-01 08:00:30 +0200 |
commit | 03e3753f6bd36f12c0757c76b49b683c49de48ae (patch) | |
tree | 1f5f5b7b35e0f610371e1ca83bbbad34571325ba /src/Wallabag/ImportBundle/Resources/config | |
parent | cdd3010b478c9ca818dd6d22d03c81ef4a5ab208 (diff) | |
download | wallabag-03e3753f6bd36f12c0757c76b49b683c49de48ae.tar.gz wallabag-03e3753f6bd36f12c0757c76b49b683c49de48ae.tar.zst wallabag-03e3753f6bd36f12c0757c76b49b683c49de48ae.zip |
Add Readability import
Based on the JSON export instead of the API (which will be shutting down by the September 30, 2016)
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources/config')
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/config/services.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/config/services.yml b/src/Wallabag/ImportBundle/Resources/config/services.yml index 86b44cb3..520d43af 100644 --- a/src/Wallabag/ImportBundle/Resources/config/services.yml +++ b/src/Wallabag/ImportBundle/Resources/config/services.yml | |||
@@ -43,3 +43,13 @@ services: | |||
43 | - [ setLogger, [ "@logger" ]] | 43 | - [ setLogger, [ "@logger" ]] |
44 | tags: | 44 | tags: |
45 | - { name: wallabag_import.import, alias: wallabag_v2 } | 45 | - { name: wallabag_import.import, alias: wallabag_v2 } |
46 | |||
47 | wallabag_import.readability.import: | ||
48 | class: Wallabag\ImportBundle\Import\ReadabilityImport | ||
49 | arguments: | ||
50 | - "@doctrine.orm.entity_manager" | ||
51 | - "@wallabag_core.content_proxy" | ||
52 | calls: | ||
53 | - [ setLogger, [ "@logger" ]] | ||
54 | tags: | ||
55 | - { name: wallabag_import.import, alias: readability } | ||