Home
Web CMS (TeamSite)
vpath in resultset
ShovelFace
If MetaTagger is triggered on an empty DCR, I am getting vpaths returns. Anyone ever write a pre-processor to strip out vpaths (would rather return blank then a vpath). Is there a better way to do this?
Find more posts tagged with
Comments
Migrateduser
Can you elaborate on where you are getting the vpath in MT metadata?
(1) as an attribute
(2) as originalPath
....
ShovelFace
Not sure what you mean - for the out of box summarizer, it returns the vpath if the body of the DCR is empty, or close to it.
Migrateduser
Seems odd. If you posted your configuration (version + metatagger.cfg + *.smf), that would give a better picture.
For better or worse, the default transconverter just copies input XML files (e.g. DCR's) to the cracked text and assumes that a preprocessor will remove the tags and all the sections you don't care about. The vpath is probably embedded in one of the content elements in your DCR and that's why it's considered body content.
If you want to configure multiple content processors so that only DCR content goes to one and only non-DCR content goes to another, there's an example of how to write a custom transconverter that uses XSLT to extract text from the input document in the "Cooking with MetaTagger Plugins" webinar samples.