/[cvs]/joko/doc/SampleTasks/joko_2003-03.twingle
ViewVC logotype

Contents of /joko/doc/SampleTasks/joko_2003-03.twingle

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations)
Fri Mar 7 18:26:17 2003 UTC (21 years, 4 months ago) by joko
Branch: MAIN
Changes since 1.7: +42 -1 lines
+ AUTOCOMMIT: updated/added content

1 @sequence meta
2 @title joko's sample notes - 2003-03 - ResourceIntegration
3 @subtitle ResourceIntegration II
4 @topic joko's Tasks
5 @author joko@netfrag.org
6 @document-mime-type text/plain
7 @document-mime-type text/english text/german
8 @document-mime-type text/vnd.twingle
9
10 @sequence meta
11 @document-history
12 @cvs-info
13 $Id: joko_2003-03.twingle,v 1.7 2003/03/07 17:56:46 joko Exp $
14 $Log: joko_2003-03.twingle,v $
15 Revision 1.7 2003/03/07 17:56:46 joko
16 + AUTOCOMMIT: updated/added content
17
18 Revision 1.6 2003/03/07 16:56:42 joko
19 + AUTOCOMMIT: updated/added content
20
21 Revision 1.5 2003/03/07 15:57:11 joko
22 + AUTOCOMMIT: updated/added content
23
24 Revision 1.4 2003/03/07 04:25:54 joko
25 + AUTOCOMMIT: updated/added content
26
27 Revision 1.3 2003/03/07 03:56:59 joko
28 + AUTOCOMMIT: updated/added content
29
30 Revision 1.2 2003/03/07 00:56:08 joko
31 + AUTOCOMMIT: updated/added content
32
33 Revision 1.1 2003/03/06 22:34:20 joko
34 + initial commit
35
36
37 @sequence meta
38 @x-transport
39 @x-transport-from grasshopper.netfrag.org
40 @x-transport-to quepasa.netfrag.org
41 @x-transporter Microsoft Windows
42 @x-transporter WinCVS [WinCVS 1.3.8.1 Beta 8 (Build 1)]
43 @x-transporter-protocol cvs client-server protocol
44 @x-transporter OpenSSH client on grasshopper [OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f]
45 @x-transporter-protocol ssh [OpenSSH Version 2]
46 @x-transporter OpenSSH daemon on quepasa [OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f]
47 @x-transporter cvs [Concurrent Versions System (CVS) 1.11.1p1 (client/server)]
48 @x-transporter-protocol cvs client-server protocol
49 @x-transporter Linux running on quepasa.netfrag.org [Linux version 2.4.18-29um (root@linux) (gcc version 2.95.3 20010315 (SuSE)) #1 Sun May 26 17:01:48 CEST 2002]
50 @x-transporter-protocol ext3
51 @x-transporter Linux running on h1.service.netfrag.org [Linux version 2.4.10-4GB (root@Pentium.suse.de) (gcc version 2.95.3 20010315 (SuSE)) #1 Tue Sep 25 12:33:54 GMT 2001]
52 @x-transporter-protocol ext3
53 #@x-converter twingle [Twingle 0.01 - http://search.netfrag.org/twingle]
54
55 @sequence script
56 @set o=@todo
57
58
59
60 @sequence block
61 @injected
62 @date 2003-03-06 20:29
63 @file [unknown]
64 @x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3)
65 @x-transporter Microsoft COM
66 @x-transporter-protocol copy & paste negotiation
67 @x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b]
68
69
70 o use arial|verdana for netscape|mozilla rendering on netfrag.org
71
72 - We get spam!
73 After feeling relatively safe through amavis based email filtering, it happened again.
74 jonen recieved some spam again.
75
76 Why?
77 I believe the addresses get collected by foreign agents crawling
78 the growing content on netfrag.org.
79
80 What todo now?
81 Mungle email addresses published on netfrag.org through some lisp-
82 or scheme-based address-mungler found recently.
83 They stay rfc-compliant, but are (hopefully) unreachable for common
84 regex parsers.
85 Send info to ->jonen.
86 @tbd Automate this task! Do you wanna rewrite each address by hand...???
87
88 o personal requirement:
89 o daily: review contributions made by other users
90 o requirement to solve this: have everything as rss/rdf and filter the xml by author
91
92 o rss.netfrag.org (register)
93 o establish some web-based rss-browser embedding content from
94 o RssGenerators for local content ...
95 o news//rss (for news.netfrag.org)
96 o cvs//rss (for cvs.netfrag.org)
97 o ... and RssGateways to other ones, possibly at remote locations
98 o phpWiki//rss (for www.netfrag.org)
99 o TWiki//rss (for future www.netfrag.org)
100
101 o post to perl-development (nfo.dev.perl):
102 o how to abstract the view/editing of xml-files via an api?
103 o fetch: all|single-node
104 o edit: single-node flattened into an object
105 o browser layer: locator registry (pointing to a) an orm-db and b) to a file-set of xml-files (our control-db))
106 o item layer: view/edit nodes of an xml-file a) in a tree-editor (look at HTML_Tree_XYZ itself!!!) and
107 b) split into our "flat-components" Item and List (object-like)
108
109 how b)? solve in backend!
110 o backend
111 o change values containing references to their interpolated placeholders to convert a node to an item
112 ->getNode(...)
113 example: getNode('root')
114 o place querying api via XPath parallel to that -> also returns a single node or multiples (a node-set)
115 ->getNodeSet(...)
116 example: getNodeSet('xpath-query|named-filter')
117 o establish backend querying api for xml-documents on top of that!
118 ->sendQuery(...) should dispatch to one of ->getNode or ->getNodeSet
119 o frontend
120 o browse relations (parent-, child-node) using the ValueInterpolator and the ItemComponent
121 o edit Attributes and Content of Nodes with the ItemComponent showing *two* areas (this is the "FlatteningOfNodes"):
122 o -> attributes
123 o -> content
124 That's the way various XML-EasyTree-Xyz implementations use to work.
125 @link http://www.cpan.org/
126 o frontend issues these generic rpc-commands to the backend (encapsulated somewhere)
127 o ->sendQuery(array(remote=1, rpc=1, blah=1, $query )) -
128 which gets dispatched by switching some stuff from "$query" to these methods under the hood (in fact, *implemented at backend side*)
129 o ->getNodeSet('xpath-query|named-filter')
130 example:
131 $xml_filter_query = array( 'return' => 'object|object-set', [filter => 'xpath-query|named-filter'] );
132 (speak: Item or List)
133 sendQuery(array(remote=1, rpc=1, blah=1, $xml_filter_query , xml=1??? )) -
134
135 --> what is 'remote' and/or 'rpc' about???
136 if i remember that right - 'remote' means 'orm' (the datasource-type) and 'rpc' means 'rpc' (the transport-type)
137
138 o new twingle-symbol-topology using ...
139 <code>
140 o ... @-tags (stolen from JavaDoc via phpDocumentor)
141 o @-tags only refer to scopes they live in
142 o make the basic work: @todo, @link, @see, etc. (but enhanced - of course - since perl doesn't limit you in any way....!!!)
143 o add some more: @sequence, @is-a, @title
144 o @see
145 o @embed this-and-that from these .twingle files:
146 o @link DummyNamespaces in PHP - final proposal.twingle
147 o @link Re - Namespaces in PHP.twingle
148 </code>
149
150 o project-metadata: / nfo topics
151 <code>
152 @is-a rfc
153 @todo tbd
154 x @topic source(cvs)
155 x @topic doc(api)
156 o @topic source(raw) (via symlinks: expand directories first, symlink files afterwards!)
157 o @topic doc(tutorial)
158 o @topic doc(examples)
159 o @topic doc(howto)
160 o introduce: @subtopic:
161 @topic source
162 @subtopic raw|cvs
163 @topic doc
164 @subtopic api|tutorial|examples|howto
165 </code>
166
167 o register: api.netfrag.org
168
169 o arcor!!!
170
171 o working alpha version of "Ts" on new server niu!!!
172
173 o .phpdocrc: split main code to module, integrate index-generation of predefined (registered) modules
174
175 o RssNewsletter:
176 o schedule
177 o hourly, daily, weekly, monthly, on-incoming
178 o choose topic
179 o all topics (cvs, news, api, docs, www)
180 o choose destination
181 o filtered-rss made available at specified url as xml or xhtml
182 o via email
183 o archived in archive-type (zip|tar) with format (html|)
184 made available at specified url
185
186 o look at FreeBSD's "doscmd"!!!
187
188 o mechanism to refactor old smtp-mail-messages into new nntp-news-posts
189 all our tools fail! *forwarding* the message seems to break mime (for e.g. the mozilla-viewer and probably others)
190 o possible solution: strip "--- forwarded by ---" - header before actually posting
191 maybe identifiable by subject: [Fwd: ]
192
193 o enhance Twingle:
194 o twingle2message:
195 o twingle2mail: twingle2rfc822, twingle2mime
196 o twingle2news: twingle2rfc
197
198 o gather version info from installed components:
199 o CPAN
200 o PEAR
201 x GNU: <program> --version (e.g.: cvs --version)
202 x OpenSSH: ssh -V
203 x Linux: cat /proc/version
204 o our Perl-/PHP- component system
205
206
207
208 @sequence block
209 @written
210 @date 2003-03-06
211 @x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b]
212
213 o what are the MIME-types of XML-payloads sent between (e.g.) RPCXML-hosts???
214 text/xml???
215
216 look at /etc/mime.types!!!
217 e.g.: (stripped from there) - looking interesting:
218
219 text/*
220 text/x-java
221 text/uri-list
222 text/rfc822-headers
223 text/directory
224 text/vnd.IPTC.NewsML
225 text/vnd.IPTC.NITF
226 text/vnd.motorola.reflex
227 text/vnd.DMClientScript
228 text/richtext
229 text/rtf
230 text/plain
231 text/comma-seperated-values
232 text/css
233 text/enriched
234
235 --> vnd=vendor???
236
237 @sequence references
238 @title The text/enriched MIME Content-type
239 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1896.html
240 @title Mechanisms for Specifying and Describing the Format of Internet Message Bodies
241 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1521.html
242 @title The text/enriched MIME Content-type
243 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1523.html
244 @title Mechanisms for Specifying and Describing the Format of Internet Message Bodies
245 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1341.html
246 @title The text/enriched MIME Content-type
247 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1563.html
248
249 message/delivery-status
250 message/disposition-notification
251 message/external-body
252 message/http
253 message/s-http
254 message/news
255 message/partial
256 message/rfc822
257
258 inode/chardevice
259 inode/blockdevice
260 inode/directory-locked
261 inode/directory
262 inode/fifo
263 inode/socket
264
265 multipart/*
266
267 o refactor some twingle tags using ETF:
268 @link http://citeseer.nj.nec.com/borenstein94textenriched.html
269 --- snip ---
270 @misc{ borenstein-textenriched,
271 author = "N. Borenstein",
272 title = "The text/enriched MIME Content-type",
273 url = "citeseer.nj.nec.com/borenstein94textenriched.html" }
274 --- snip ---
275
276 o re-enable yakka!
277 @link http://netfrag.org/~bareface/yakka/
278
279 o search.netfrag.org
280 o enable mnoGoSearch to index http://www.netfrag.org/docs/code/api/
281
282 o post xml-via-rpc-querying proposal from above to nfo.dev.perl and cc to jonen!
283
284 o enhancement for Twingle AutoLink LinkInterpolation:
285 o don't resolve namespace identifiers (e.g. 'Data::Storage') against
286 global search.netfrag.org/Search::This::Namespace
287 o query namespaced links against an organization-wide (custom) NamespaceRegistry before!!!
288 o use mysql/Tangram?
289 o use xml?
290 o just fallback to "GlobalSerchMode" if nothing was found in the step before!
291 o Data::Storage will directly be resolved to this url or tag afterwards:
292 @link http://www.netfrag.org/docs/topics/perl-libs/Data-Storage.html
293 and not to
294 @link http://www.netfrag.org/search/?q=Data::Storage&o=1&ul=/
295 like it was before!
296
297 o mimic the functionality of TLTP (The LDAP Trigger Process) by using Data::Rap.
298
299 o applications to be solved using LDAP
300 o organization-wide addressbook
301 o global / per-app software component registry
302 o organization-wide item library -> inventory
303
304 dot http://www.nc.ihost.com/ -> IBM
305
306 @topic EasyAuthoring
307 @see sdf
308 @see text/enriched
309 @see ETF
310 @see WPP
311 @link http://the.sunnyspot.org/wpp/index.html
312
313 @company Watchfire
314 @topic centrally located site integrity management software
315 @link http://www.watchfire.com/
316
317 o look at brian finley's "Storage" article series at http://hpc.devchannel.org/ !!!
318
319 - f-prot error on quepasa.netfrag.org:
320 root@quepasa:~# tail -f /var/log/mail.log
321 --- snip ---
322 Mar 7 18:23:30 quepasa amavis[20705]: Virus scanner failure: /usr/local/f-prot/f-prot (error code: 1)
323 Mar 7 18:23:30 quepasa amavis[20705]: virus_scan FAILED, retry: All virus scanners failed! at /usr/sbin/amavisd line 933, <GEN9> line 4712.
324 Mar 7 18:23:30 quepasa amavis[20705]: mail processing failed, RETRY/TEMPFAIL
325 Mar 7 18:23:30 quepasa sm-mta[20758]: h27HLveE020758: Milter: data, reject=451 4.7.1 Please try again later
326 --- snip ---
327 root@quepasa:~# /usr/local/f-prot/f-prot
328 Error: SIGN.DEF is damaged or incompatible with this version of F-PROT.
329 root@quepasa:~# /usr/local/f-prot/check-updates.sh
330 root@quepasa:~# /usr/local/f-prot/f-prot
331
332
333
334 @sequence block
335 @injected
336 @date 2003-03-07 19:01
337 @file [unknown]
338 @x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3)
339 @x-transporter Microsoft COM
340 @x-transporter-protocol copy & paste negotiation
341 @x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b]
342
343 @set ->=@see
344
345
346 o .phpdocrc: Tie::IxHash
347
348 - writing a browser is a complex task
349 -> Internet Explorer
350 -> KDE xyz
351 -> Mozilla
352
353 - writing a mailer is a complex task
354 -> Microsoft Outlook and (-Express)
355 -> KDE (KMail, Kontact, Kolab)
356 -> Evolution
357 -> Mahogany
358
359 - janosch: pdf-gateway!?
360
361 o setup ->colorize on quepasa.netfrag.org
362

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed