Skip to main content.
home | support | download

Back to List Archive

Question about defaulting meta tags...

From: David Wood <dwood(at)>
Date: Thu Apr 22 2004 - 23:38:42 GMT
Is there a meta tag defaulting mechanism analogous to how ExtractPath can 
be defaulted:

ExtractPath department regex !^/web/([^/]+)/.*$!$1!
ExtractPathDefault department other


In other words, something in the spirit of:

MetaNames document_type
MetaNamesDefault document_type Blah

which would mean "if you find a document_type meta tag in a document, use 
it, but for docs that don't contain such a tag, default that meta tag's 
value to 'Blah'".

And if there isn't such a thing, would the following, er, workaround work?

ExtractPath document_type regex 
ExtractPathDefault document_type Blah
MetaNames document_type

This would seem to be safe for defaulting documents that don't contain a 
document_type meta tag, but for documents that do actually contain a 
document_type meta tag, which directive would win here, ExtractPathDefault 
or the standard MetaNames handling?



Due to deletion of content types excluded from this list by policy,
this multipart message was reduced to a single part, and from there
to a plain text message.
Received on Thu Apr 22 16:38:42 2004