From fc8ce9ccdda4fd0ed7b318fc5fdc9a788d54fa06 Mon Sep 17 00:00:00 2001 From: john Date: Sun, 12 Jan 2003 22:12:06 +0000 Subject: [PATCH] some of the headers, and all of the structure of a mime multipart/alternatives email message with a text only version and a html version of a piece of mircontent --- etc/producer/emailThisArticle.template | 101 +++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100755 etc/producer/emailThisArticle.template diff --git a/etc/producer/emailThisArticle.template b/etc/producer/emailThisArticle.template new file mode 100755 index 00000000..e64558ba --- /dev/null +++ b/etc/producer/emailThisArticle.template @@ -0,0 +1,101 @@ +Subject: MIR-FORWARD::${article.title} +Mime-Version: 1.0 +Content-Type: multipart/alternative; boundary="bboouunnddaarryy" + +--bboouunnddaarryy +Content-type: text/plain; + +${lang("general.htmltitle")} Email Forward +------------------------------------------------------------ + +${article.title} + +${article.creator}, ${article.creationdate.formatted["dd.MM.yyyy HH:mm"]} + +${article.description} + +${article.content_data} + + + +${lang("article.email.prefix")}: ${article.creator_email} + + +${lang("article.homepage.prefix")}: ${article.creator_main_url} + + + +Source of this emailed article: +${config["Producer.ProductionHost"]}/${config["Producer.DocRoot"]}/${language.code}/${article.creationdate.formatted["yyyy/MM"]}/${article.id}.shtml + +!COMMENT! +--bboouunnddaarryy +Content-type: text/html;charset="utf-8"; + + + +

${general.htmltitle}::Forwarded Article

+ + +
+
+

${article.title}(original location here)

+ +

${article.creator}, ${article.creationdate.formatted["dd.MM.yyyy HH:mm"]}

+
+

${article.description_parsed}

+ + +

+ + ${media["title"]} - ${media["media_descr"]} ${media["human_readable_size"]} + +

+
+ +

+ + + ${media["title"]} - ${media["media_descr"]} ${media["human_readable_size"]} +

+
+ +

+ + + ${media["title"]} - ${media["media_descr"]} ${media["human_readable_size"]} +

+
+ + +

+ ${image[ +
${image["title"]} +

+
+
+

${article.content_data_parsed}

+
+ +

+ + + - ${lang("article.email.prefix")}: ${article.creator_email}
+
+ + ${lang("article.homepage.prefix")}: ${article.creator_main_url}
+
+
+

+
+
+
+
+ !COMMENT! +
+ + +--bboouunnddaarryy-- + -- 2.11.0