Bug 178863 - embed the output of a command or the content of a file into an internal signature
Summary: embed the output of a command or the content of a file into an internal signa...
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdepimlibs
Classification: Applications
Component: kpimidentities (show other bugs)
Version: 4.1
Platform: Compiled Sources Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Tom Albers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-27 08:53 UTC by Fred van Zwieten
Modified: 2009-01-03 08:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred van Zwieten 2008-12-27 08:53:34 UTC
Version:            (using Devel)
Installed from:    Compiled sources

What I would like to have is something like %SYSTEM="" or %FILE="" embedded in an internal signature. Then, when the signature is placed into a new mail, these placeholders are "executed" and the placeholder is replaced by the result. This way the content of a file of the output of a command can be embedded inside a HTML signature. My use case is to add a fortune cookie (from the fortune command) inside my HTML formatted signature. I think the template system already has this functionality, but I'm not sure, because I have never used the template system.
Comment 1 Tom Albers 2009-01-03 00:10:15 UTC
I'm not going to implement this wish, you can use a command as a signature, just making a wrapper about your command that sets a fixed before and after the execution of the command, would solve this for those who want this. 

Cluttering the code for a feature that only a very small percentage of the users will use is not wanted....
Comment 2 Fred van Zwieten 2009-01-03 08:00:46 UTC
I don't understand what you mean. How does you're solution solve my use case? (b.t.w. implementing wish 178862 does, so I'm a happy camper :-))