上传到 SharePoint 时解析 HTML 元标记

发布于 2024-08-08 20:42:10 字数 322 浏览 1 评论 0原文

SharePoint 可以“开箱即用”地解析自定义文档属性,并将其与 MS Office 文档的 SharePoint 属性同步。

我需要配置 MOSS 2007 来解析 HTML 元标记,并以与将 HTML 文档上传到库时类似的方式将它们同步到自定义 SharePoint 属性。

以下格式的元标记

<meta name="foo" content="bar" >

我是 SharePoint 新手,不确定这是否是一个简单的配置,或者是否需要开发一些自定义代码。

以前有人做过这个(或类似的事情)吗?

SharePoint parses and synchronizes custom document properties with SharePoint properties for MS Office documents "out of the box".

I need to configure MOSS 2007 to parse HTML meta tags and synchronize them to custom SharePoint properties in a similar fashion when HTML documents are uploaded to a library.

Meta tags in the following format

<meta name="foo" content="bar" >

I'm new to SharePoint and not sure if it is a simple configuration or if some custom code needs to be developed.

Has anyone done this (or something similar) before?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

痴者 2024-08-15 20:42:10

您需要创建一个 EventHandler检查元数据并使它们对 Sharepoint 有意义。

创建并安装它后,每次将文件上传到文档库时,您的代码都会控制并处理该元数据。

You'll need to create an EventHandler to check that metadata and make them meaningful for Sharepoint.

After create and install it, everytime you upload a file to your document library, your code takes control and handle that metadata.

云之铃。 2024-08-15 20:42:10

我更喜欢鲁本斯的答案,但还有另一种选择...上传允许自定义属性的 Ms Word 文档。这些自定义属性以您所描述的方式从所述文档中升级...从那里使用 SharePoint 的“文档转换”功能从 Word 转换为 HTML

Ruben 的方法再一次更现实一点!

I like Rubens' answer better but there's another option... upload a Ms Word document which alows for custom properties. These custom properties are promoted from said document in the fashion you described... from there use SharePoint's "Document Conversion" functionality to convert from Word to HTML

Once again Ruben's method is a little more realistic!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文