Topic cluster

Import and migration

Bringing content media identities or configuration into Zotonic and reconciling it with existing data.

View topic page

5 items

The remaining keywords do not make a useful further split. All matching documentation is listed below.

Notifications

observe_import_resource/2

An external feed delivered a resource. First handler can import it. Return:: {ok, m_rsc:resource_id()} , {error, Reason} , or undefined

Notifications

observe_rsc_import_done/2

A resource import has completed. The options describe this particular import; recursively imported resources can have different options.

Notifications

observe_rsc_import_fetch/2

Fetch the data for an import of a resource. Returns data in the format used by m_rsc_export and m_rsc_import. Either returns the JSON data, the imported resource id, or the resource id and a map with a mapping from URIs…

Notifications

observe_rsc_import_fetch_result/3

Enrich the decoded resource-export envelope with import metadata. The response headers belong to final_url , after any redirects. Return the updated envelope.