-
Rect[ 50 50 550 350 ]
mailImport.tbx
7 Feb 2004 17:20:31
7 Feb 2004 17:20:31
0
0
-
Rect[ 50 50 550 350 ]
false
Commands
21 May 2004 16:25:14
21 May 2004 16:25:14
0
31.5
-
Rect[ 50 50 550 350 ]
false
Step 1
21 May 2004 16:31:43
21 May 2004 16:31:43
0
35
-
Rect[ 221 206 721 506 ]
false
Import mail
21 May 2004 18:42:43
21 May 2004 8:20:15
ApplyStylesheet
tb.nodesForId(3168166881,3168166882,3168166883,3168166884,3168166885,3168166886,3168166887,3168166888,3168166889,3168166890,3168166891,3168166892,3168166893,3168166894,3168166895,3168166896,3168166897,3168166898,3168166899,3168166900,3168166901,3168166902,3168166903,3168166904,3168166905,3168166906,3168166907,3168166908,3168166909,3168166910,3168166911,3168166912,3168166913,3168166914,3168166915,3168166916,3168166917,3168166918,3168166919,3168166920,3168166921,3168166922,3168166923,3168166924,3168166925,3168166926,3168166927,3168166928,3168166929,3168166930,3168166931,3168166932,3168166933,3168166934,3168166935,3168166936,3168166937,3168166938,3168166939,3168166940,3168166941,3168166942,3168166943,3168166944,3168166945,3168166946,3168166947,3168166948,3168166949,3168166950,3168166951,3168166952,3168166953,3168166954,3168166955,3168166956,3168166957,3168166958,3168166959,3168166960,3168166961,3168166962,3168166963,3168166964,3168166965,3168166966,3168166967,3168166968,3168166969,3168166970,3168166971,3168166972,3168166973,3168166974,3168166975,3168166976,3168166977,3168166978,3168166979,3168166980,3168166981,3168166982,3168166983,3168166984,3168166985,3168166986,3168166987,3168166988,3168166989,3168166990,3168166991,3168166992,3168166993,3168166994,3168166995,3168166996,3168166997,3168166998,3168166999,3168167000,3168167001,3168167002,3168167003,3168167004,3168167005,3168167010,3168167011,3168167012,3168167013,3168167014,3168167015,3168167016,3168167017,3168167018,3168167019,3168167020,3168167021,3168167022,3168167023,3168167024,3168167025,3168167026,3168167027,3168167028,3168167033,3168167038,3168167039,3168167040,3168167041,3168167042,3168167043,3168167044,3168167045,3168167046,3168167047,3168167048,3168167049,3168167050,3168167051,3168167052,3168167053,3168167054,3168167055,3168167056,3168167057,3168167058,3168167059,3168167060,3168167061,3168167062,3168167067,3168167068,3168167069,3168167070,3168167075,3168167076,3168167077,3168167078,3168167079,3168167080,3168167081,3168167082,3168167083,3168167084,3168167085,3168167086,3168167087,3168167092,3168167097,3168167102,3168167103,3168167104,3168167105,3168167106,3168167107,3168167108,3168167109,3168167110,3168167111,3168167116,3168167117,3168167118,3168167123,3168167124,3168167125,3168167126,3168167127,3168167128,3168167129,3168167130,3168167131,3168167132,3168167133,3168167134)
0
28
tb:command-note()/item[tb:property('Name')='IMAP stylesheet']/text/text()
//item/item[tb:property('Name')='Messages']
tb:get-url("xmlrpc://localhost:8009/;fetchMailbox?string:Sample")
-
Rect[ 50 50 693 503 ]
false
IMAP stylesheet
21 May 2004 18:43:22
21 May 2004 8:42:43
0
31.5
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:tb="http://eastgate.com/Tinderbox"
xsl:extension-element-prefixes="tb"
version="1.0">
<xsl:variable name="catMail" select="tb:prototype-by-name('Mail')"/>
<xsl:variable name="catSection" select="tb:prototype-by-name('Section')"/>
<xsl:output method="xml"/>
<xsl:template match="/">
<xsl:apply-templates select="methodResponse/params/param/value/*" mode="mail"/>
</xsl:template>
<xsl:template match="array" mode="mail">
<xsl:apply-templates select="data/value/struct" mode="mail"/>
</xsl:template>
<xsl:template match="struct" mode="mail">
<item Creator="system">
<xsl:attribute name="ID">
<xsl:value-of select="tb:new-id()"/>
</xsl:attribute>
<attribute name="Name">
<xsl:value-of select="member[name/text()='_headers']/value/array/data/value[array/data/value[1]/string/text() = 'Subject']/array/data/value[2]/string/text()"/>
</attribute>
<xsl:apply-templates select="member[name/text()='_headers']/value/array/data/value" mode="headers"/>
<xsl:apply-templates select="member[name/text()='_payload']/value/*" mode="content"/>
<tb:declare-new-link name="'prototype'" source="$catMail" dest="tb:note-in-construction()"/>
</item>
</xsl:template>
<xsl:template match="struct" mode="section">
<item Creator="system">
<xsl:attribute name="ID">
<xsl:value-of select="tb:new-id()"/>
</xsl:attribute>
<xsl:apply-templates select="member[name/text()='_headers']/value/array/data" mode="headers"/>
<xsl:apply-templates select="member[name/text()='_payload']/value/*" mode="content"/>
<tb:declare-new-link name="'prototype'" source="$catSection" dest="tb:note-in-construction()"/>
</item>
</xsl:template>
<xsl:template match="array" mode="content">
<xsl:apply-templates select="data/value/struct" mode="section"/>
</xsl:template>
<xsl:template match="value" mode="headers">
<xsl:variable name="headerName" select="array/data/value[1]/string/text()"/>
<attribute>
<xsl:attribute name="name">
<xsl:value-of select="translate($headerName, '-ABCDEFGHIJKLMNOPQRSTUVWXYZ','_abcdefghijklmnopqrstuvwxyz')"/>
</xsl:attribute>
<xsl:value-of select="array/data/value[2]/string/text()"/>
</attribute>
</xsl:template>
<xsl:template match="string" mode="content">
<text>
<xsl:value-of select="text()"/>
</text>
</xsl:template>
</xsl:stylesheet>
-
Rect[ 50 50 550 350 ]
false
Step 2
21 May 2004 16:31:56
21 May 2004 16:31:56
0
38.5
-
false
Reply-To links
22 May 2004 8:15:12
21 May 2004 16:25:48
CreateLink
'reply'
tb.nodesForId(3168006463,3168006482,3168006486,3168006494,3168006508,3168006511,3168006513,3168006529,3168006548,3168006571,3168006574,3168006576,3168006579,3168006582,3168006585,3168006600,3168006606,3168006611,3168006633,3168006641,3168006516,3168006551,3168006580,3168006605,3168006608,3168006634,3168006652,3168006523,3168006540,3168006570,3168006627,3168166881,3168166883,3168166885,3168166887,3168166891,3168166897,3168166898,3168166901,3168166903,3168166906,3168166908,3168166914,3168166916,3168166919,3168166920,3168166922,3168166923,3168166925,3168166926,3168166932,3168166933,3168166935,3168166936,3168166937,3168166938,3168166940,3168166942,3168166945,3168166946,3168166947,3168166948,3168166951,3168166953,3168166954,3168166956,3168166957,3168166958,3168166959,3168166960,3168166961,3168166962,3168166969,3168166972,3168166974,3168166975,3168166976,3168166978,3168166980,3168166981,3168166982,3168166983,3168166985,3168166986,3168166987,3168166988,3168166989,3168166990,3168166991,3168166992,3168166994,3168166995,3168166996,3168166997,3168166998,3168166999,3168167000,3168167001,3168167002,3168167003,3168167004,3168167010,3168167012,3168167014,3168167015,3168167017,3168167019,3168167020,3168167021,3168167022,3168167023,3168167025,3168167026,3168167027,3168167040,3168167041,3168167042,3168167043,3168167044,3168167045,3168167046,3168167047,3168167049,3168167050,3168167051,3168167052,3168167053,3168167054,3168167055,3168167056,3168167057,3168167058,3168167059,3168167060,3168167061,3168167062,3168167067,3168167068,3168167069,3168167075,3168167076,3168167077,3168167079,3168167080,3168167081,3168167083,3168167084,3168167085,3168167086,3168167087,3168167092,3168167102,3168167103,3168167104,3168167108,3168167109,3168167111,3168167116,3168167117,3168167124,3168167125,3168167126,3168167127,3168167128,3168167129,3168167130,3168167133)
0
31.5
//item[tb:local-property('in_reply_to')]
//item[tb:local-property('message_id') = tb:local-property('in_reply_to',tb:target-note())]
//item[tb:local-property('in_reply_to')]
//item[tb:local-property('message_id') = tb:local-property('in_reply_to',tb:target-note())]
//item[attribute[@name='message_id']/text() = tb:target-note()/attribute[@name='message_id']/text()]
-
Rect[ 50 50 550 350 ]
false
Step 3
22 May 2004 8:20:46
22 May 2004 8:20:46
0
35
-
Rect[ 50 50 550 350 ]
false
Agents
22 May 2004 8:20:47
22 May 2004 8:20:47
0
38.5
true
Prototype=Mail&(Text(blog)|Name(blog))
Rect[ 50 50 550 350 ]
Blog
22 May 2004 8:20:48
22 May 2004 8:20:48
false
3
0
42
3
true
Prototype=Mail&(Text(management)|Name(management))
Rect[ 50 50 550 350 ]
Planning
22 May 2004 8:21:30
22 May 2004 8:21:30
false
3
0
45.5
3
-
Rect[ 50 50 550 350 ]
false
Classified messages
22 May 2004 8:22:36
22 May 2004 8:22:36
0
42
-
Rect[ 50 50 550 350 ]
false
Blog
22 May 2004 8:22:37
22 May 2004 8:22:37
0
45.5
-
Rect[ 50 50 550 350 ]
false
Planning
22 May 2004 8:22:38
22 May 2004 8:22:38
0
49
-
Rect[ 314 119 814 419 ]
false
Unalias 1
22 May 2004 10:12:49
22 May 2004 8:22:39
MoveNote
tb.nodesForId(3168166905,3168166907,3168166938,3168166957,3168166961,3168166969,3168166973,3168166977,3168166983,3168166986,3168166988,3168166991,3168167004,3168167011,3168167023,3168167026,3168167039,3168167046,3168167048,3168167049,3168167051,3168167054,3168167055,3168167057,3168167060,3168167075,3168167080,3168167081,3168167083,3168167086,3168167107,3168167108,3168167109,3168167116,3168167127)
0
38.5
../item[2]/item[1]
tb:note-from-alias(item)
-
Rect[ 314 119 814 419 ]
false
Unalias 2
22 May 2004 10:31:04
22 May 2004 10:31:04
MoveNote
tb.nodesForId(3168166905,3168166991,3168167026,3168167055,3168167080,3168167083,3168167109,3168167127,3168166998,3168167015,3168167045,3168167102)
0.5
39
../item[2]/item[2]
tb:note-from-alias(item)
-
Rect[ 306 152 806 452 ]
false
Delete aliases
22 May 2004 10:19:45
22 May 2004 10:19:45
DeleteNote
tb.nodesForId(3168173314,3168173315,3168173316,3168173317,3168173318,3168173319,3168173320,3168173321,3168173322,3168173323,3168173324,3168173325,3168173326,3168173327,3168173328,3168173329,3168173330,3168173331,3168173332,3168173333,3168173334,3168173335,3168173336,3168173337,3168173338,3168173339,3168173340,3168173341,3168173342,3168173343,3168173344,3168173345,3168173346,3168173347,3168173348,3168173357,3168173358,3168173359,3168173355,3168173356,3168173349,3168173350,3168173351,3168173352,3168173353,3168173354,3168173360)
0
42
../item[2]/item/item[tb:local-property('Alias')]
-
Rect[ 50 50 550 350 ]
false
Messages
28 May 2004 14:29:47
28 May 2004 14:29:47
0
28
-
Rect[ 50 50 550 350 ]
false
Prototypes
1 Mar 2004 23:46:55
1 Mar 2004 23:46:55
0
24.5
-
Rect[ 50 50 550 350 ]
orange
true
XMLCommand
7 Feb 2004 17:20:36
7 Feb 2004 17:20:36
xmlActivation;xmlCommand;xmlValue;xmlName;xmlUniqueItemSignature;xmlResult;xmlStylesheet;xmlStylesheetParams;xmlTarget
-0.5
-4
-
Rect[ 50 50 550 350 ]
blue
true
Mail
1 Mar 2004 23:49:49
1 Mar 2004 23:49:49
from;in_reply_to;message_id;references;subject;to
-0.5
6.5
-
Rect[ 50 50 550 350 ]
true
Section
21 May 2004 16:09:44
21 May 2004 16:09:44
content_type
-0.5
10
-
Rect[ 50 50 550 350 ]
false
Person
21 May 2004 8:20:14
21 May 2004 8:20:14
-0.5
10
-
Rect[ 50 50 550 350 ]
false
Aliases
21 May 2004 18:28:34
21 May 2004 18:28:34
0
28
true
in_reply_to(@)
Rect[ 50 50 550 350 ]
Replies
21 May 2004 18:28:35
21 May 2004 18:28:35
false
3
0
31.5
3