Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

[Importer] Refactor WpPostImporter #57

Open
dnaber-de opened this issue Feb 10, 2016 · 0 comments
Open

[Importer] Refactor WpPostImporter #57

dnaber-de opened this issue Feb 10, 2016 · 0 comments
Assignees
Milestone

Comments

@dnaber-de
Copy link
Member

Main goal is: Separation of concerns. That leads to a separation to independent classes of the following features:

  • Meta-data importing
  • term linking
  • sicking post
  • file downloading and
  • attachment handling

After the refactoring, the one concern of the existing WpPostImporter class will be to fetch data from the Type\ImportPostInterface and pass it to wp_instert_post() and handling errors within this process. The action w2m_post_imported persists as part of this with the current signature.

The interfaces of the newly provided actors will follow the signature of this action as they'll be registered to this hook.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant