Media Framework not importing items - frameworks

We have media framework Brightcove edition configured and pulling in content for the most part.
We have run into an issue where some items with special characters or non-English language characters do not get imported because of the item name restrictions.
Is there a way to cleanup or sanitize items for Media Framework exports?

You can use Brightcove API to go through your videos and update them with removing of special characters.
Or another option: override part of Media Framework that is responsible for importing of items and include there logic of renaming. It also should work as name is not used as identifier for Brightcove videos.

Related

Swift kitura multi language support

Is there any multi language support for the Swift kitura framework? I would like to use the mustache template engine which is available as kitura component.
There is no "built-in" multi-language support in Kitura. Having said that one could simply do the classic solution, which is to always keep the actual message text in external files (presumably JSON key/value dictionaries). The appropriate file for the laguage in question is read in and passed in to the Mustache template in the context. In the template all text to be displayed in a substitution made from a key from read in messages file.

Importing tags into AEM from a CSV file

Our client has a spreadsheet of about two thousand tags they want to start using on their AEM-based website.
I need a quick way to automatically import them as AEM tags.
I was thinking of writing a script to parse the document and issue a number of POST requests to AEM to create the content at /etc/tags
As an alterative, I considered uploading the CSV file to the repository and handling the creation of tags by means of a custom component or running a Groovy script in the AEM Groovy console.
Both solutions would require a lot of work and I'm a bit short in time. I also wouldn't like to reinvent the wheel. I don't think there's a way to do complete this task using OOTB functionality but is there any way to speed up the process?
You could use the Tag Maker provided by ACS AEM Tools.
You can find it in Tools > ACS AEM Tools > Tag Maker after installing the AEM Tools package on your instance.
It allows you to import tag hierarchies from CSV files and has a number of pre-defined converter that infer tag names and titles.

Add custom metadata fields for DAM assets in a particular folder

I created custom metadata fields for DAM Assets in CQ 5.6.1 using the steps detailed here. However, as described in the document, these changed fields are available for ALL assets in the DAM.
I need these metadata fields to be made available to only a specific folder, say /content/dam/foo instead of every asset.
How can I achieve this?
In my knowledge, there is no straight forward way to achieve this but there is one trick to handle this.
AEM DAM has the notion of meta schema editors. These editors are tied to asset file type, meaning - jpeg, mov, etc. For an asset MIME type, you can define the meta data and its associated form.
AEM 6.0 provides choral UI interface to achieve this --
http://localhost:4502/libs/dam/gui/content/metadataschemaeditor/schemalist.html/dam/content/schemaeditors/forms
Am not aware of any such interface in AEM 5.6.1. The nodes tied to this are at /libs/dam/content/asseteditors/image/jpeg/formitems. You could overlay them at /apps to add the required metadata.
Coming to the question, the trick is to add the file type into your dam content hierarchy. Example - /content/dam/jpeg/foo, /content/dam/png/foo, etc. This way, you would get different metadata for different folders of the dam.
Adobe recommends this approach as AEM 6.0 introduced the concept of processing profiles which you could attach to folders. This way, your different file types could get different treatments.

What Files can iOS Apps use?

The situation: We would like to make an app that shows all files on an iOS Device
The system: iOS App, non jailbroken system
The question:
What files (and filetypes) are allowed to be accessed by every app (system-wide) ?
(PS: we won't do file-browser like actions like sub-folders, delete, etc .. )
UPDATE :
what you are trying to achieve is not possible because of the sandbox feature of the apps. though you can display certain file types using below description.
Previously Answered this
If I understand your question correctly, there is already a framework for what you are trying to achieve. It is called the quick look framework and supports these many file types...
A Quick Look preview controller can display previews for the following items:
iWork documents
Microsoft Office documents (Office ‘97 and newer)
Rich Text Format (RTF) documents
PDF files
Images
Text files whose uniform type identifier (UTI) conforms to the public.text type (see Uniform Type Identifiers Reference)
Comma-separated value (csv) files
you can have more info about it here...
You can't access anything other than your application folder. Your application is sandboxed and for good reasons (privacy, malware, etc...)
You can only access files within your application directory. Look here for a full explanation
If you don't mean files and just the content of the phone, there are APIs for
Photos
Contacts
Media from the Music app

Search file content on iphone

Is there an Iphone SDK API to search resource files?
I have a set of html file resources that I'd like the user to be able to search in, but I want to avoid reading the files into memory and searching them one by one.
Is there any API that can help me do this?
No, you'll have to read the files in to search them. There's nothing like "Spotlight" on the phone.
I would suggest you using SQLite FTS3 extension for full text search through your documents. It has quite good capabilities for it. But you will need to strip HTML tags first so it can index only your text and don't bother with tags