Search code examples
htmlsharepointsharepoint-2007mossmetadata

Parse HTML meta tags on upload to 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?


Solution

  • 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.