简体   繁体   English

如何获取露天内容管理系统中存储的文件的元数据?

[英]how to get the metadata of files stored in alfresco content management system?

Hi i have stored some files(pdf, html,doc) in alfresco cms, my requirement is to classify these files using metadata "content-type" filed in the alfresco cms, is it possible to do it by using only alfrensco or do i need to integrate any other crawlers(tika, nutch, lucene) with alfresco to get it. 嗨,我已经在露天cms中存储了一些文件(pdf,html,doc),我的要求是使用露天cms中归档的元数据“内容类型”对这些文件进行分类,是否可以仅使用露天frcm来做到?需要将任何其他履带(tika,nutch,lucene)与露天平台集成在一起才能获得。 please suggest me a way to do it 请给我建议一种方法

Hi This is a simple Rule to move an HTML file to another folder. 嗨,这是将HTML文件移动到另一个文件夹的简单规则。

If you need more flexibility and just 1 rule instead of a rule for each type, you'll need to write some JavaScript and check on the mime-type field. 如果您需要更大的灵活性,并且每个类型只需要一个规则而不是一个规则,则需要编写一些JavaScript并检查mime-type字段。

在此处输入图片说明

The "content-type" metadata are based on the extension of filename put in Alfresco (.pdf, .doc). “内容类型”元数据基于Alfresco(.pdf,.doc)中文件名的扩展名。 Files with un-recognized extensions have no valid content-type. 扩展名无法识别的文件没有有效的内容类型。

You can simply use "Rules" in Alfresco to organize your files. 您可以简单地使用Alfresco中的“规则”来组织文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM