Module z_media_import

Import media from internet locations.

Copyright © 2014 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Import media from internet locations.

Function Index

insert/2Insert a selected #media_import_props{}.
insert/3
update/3Update a resource with the selected #media_import_props().
url_import_props/2Find possible rsc/medium mappings for the url or fetched url metadata.
url_inspect/2Inspect an url, return opaque metadata.

Function Details

insert/2

insert(MI, Context) -> any()

Insert a selected #media_import_props{}

insert/3

insert(Media_import_props, RscProps, Context) -> any()

update/3

update(RscId, Media_import_props, Context) -> any()

Update a resource with the selected #media_import_props()

url_import_props/2

url_import_props(Url_metadata::#url_metadata{} | string() | binary(), Context::#context{}) -> {ok, [#media_import_props{}]} | {error, term()}

Find possible rsc/medium mappings for the url or fetched url metadata

url_inspect/2

url_inspect(Url::string() | binary(), Context::#context{}) -> {ok, #url_metadata{}} | {error, term()}

Inspect an url, return opaque metadata.


Generated by EDoc