<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 6 Jun 2017, at 16:13, Max Rydahl Andersen wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">one question - for now it seems I'm forced to edit the bundled specifiers.plist to add specifiers to i.e. "subject.body" ?</p>
</blockquote>
<p dir="auto">That's correct, but see the suggestion below.</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">i.e. I can't just add this to <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">~/Library/Application Support/MailMate/Resources/specifers.plist</code>:</p>
</blockquote>
<p dir="auto">It's <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">specifiers.plist</code>.</p>
<p dir="auto">This should work:</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">{
parsers = {
invites = {
header = "subject";
specifierRegex = '(.*?):(.*?)@(.*)';
specifierCaptures = {
1 = { specifier = "invite-action"; };
2 = { specifier = "invite-title"; };
3 = { specifier = "invite-time"; };
};
};
};
}
</code></pre>
<p dir="auto">It would be nice if you could extend <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">subject.body</code>, but that's not currently possible. The above should be robust as long as I don't change the format of the file :)</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">I have to add this to the bundled: <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">/Applications/MailMate.app/Contents/Frameworks/OakMIME.framework/Versions/A/Resources/specifers.plist</code></p>
</blockquote>
<p dir="auto">As you know this is not a robust solution.</p>
<p dir="auto">-- <br>
Benny</p>
</div>
</div>
</body>
</html>