Metatag definitions

21Sep2010

Is it possible to create custom metatag definitions (templates) in mediamosa?

thanks

Stijn

Comments

Re: Metatag definitions

Don't know if this is what you want but it is possible to create a custom metadata definition for an asset. Custom metadata can be used in search queries.
See the API reference here: http://mediamosa.org/node/41413
REST call
/metadata_tag/create
POST:
name=custom_tag_1
type=int
Search query
/asset?limit=10&custom_tag_1=4

Re: Metatag definitions

The use case would be that there is that a app has a certain category that is connected to a metadata definition they should use. So when a theatre is using mediamosa they should use the theatre metadata definition.Example: When the app is used by a concert organiser the metadata definition to be used would be music.

thanks

Stijn

Re: Metatag definitions

In the current version of MediaMosa there are metadata property groups (eg. "dublin core") and every group has metadata properties (eg. "dublin core" has "title"). You can easily create new metadatas using the "metadata_tag/create" REST call (see: http://mediamosa.org/api). You can create "theater_name" or "movie_address" etc.

There isn't REST call to create metadata property groups, but you can do it manually (see: "assetprop_group" table in your mediamosa data database). Do it with care. We suggest if you do it, do it after the MediaMosa installation, when you don't have any assets.
After it you can create new metadata properties under these new groups. Eg. "theater" group will have "name" and address, "movie" has name and ticket_info...

After that you can fill the "theater" property group in case of theater, and "movie" group in case of movie.
PS. In the asset get you will see the unfilled properties as empty properties.

Re: Metatag definitions

forgacs thanks for your answer.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.