<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-14573</id>
	<title>Nabble - Runtime Revolution</title>
	<updated>2008-08-29T14:01:21Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Runtime-Revolution-f14573.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Runtime-Revolution-f14573.html" />
	<subtitle type="html">&lt;a href=&quot;http://www.runrev.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Runtime Revolution&lt;/a&gt;&amp;nbsp;is a high-level software development system that surpasses many other fourth-generation languages for ease-of-use, while rivalling many compiled languages for runtime speed for many common tasks.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19227396</id>
	<title>Re: Fill up a form using revbrowser</title>
	<published>2008-08-29T14:01:21Z</published>
	<updated>2008-08-29T14:01:21Z</updated>
	<author>
		<name>Andre Garzia-3</name>
	</author>
	<content type="html">Ciao Paolo,
&lt;br&gt;&lt;br&gt;I don't know how to do it in a way that the user can see it happening,
&lt;br&gt;but, you can open the webpage and pick the HTMLText property of
&lt;br&gt;RevBrowser, then look for the form elements in there and assemble your
&lt;br&gt;POST request by hand, then post it.
&lt;br&gt;&lt;br&gt;If you know from the start what page you'll be dealing with, you can
&lt;br&gt;just script the post request and set the HTMLText to the result (you
&lt;br&gt;might need to rewrite the links inside to make them absolute links
&lt;br&gt;though).
&lt;br&gt;&lt;br&gt;It gets harder if the form uses javascript or ajax stuff since this
&lt;br&gt;makes the HTMLContext property out of sync with what is really
&lt;br&gt;happening...
&lt;br&gt;&lt;br&gt;Andre
&lt;br&gt;&lt;br&gt;On Fri, Aug 29, 2008 at 6:53 AM, paolo mazza &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19227396&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paolo.mazza@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Using a script from Revolution, I wuold like to:
&lt;br&gt;&amp;gt; - &amp;nbsp;open a web page with a form (RevBrowser )
&lt;br&gt;&amp;gt; - put some text into a field of a form
&lt;br&gt;&amp;gt; - click the button to send the form.
&lt;br&gt;&amp;gt; Is it possible?
&lt;br&gt;&amp;gt; Any idea?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ******************************************
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paolo Mazza
&lt;br&gt;&amp;gt; NEOL SRL
&lt;br&gt;&amp;gt; Società partecipata da Università di Padova
&lt;br&gt;&amp;gt; via N. Tommaseo 84
&lt;br&gt;&amp;gt; 35131 - Padova (Italy)
&lt;br&gt;&amp;gt; Tel 049- 2050147 - Fax 049-7964386
&lt;br&gt;&amp;gt; www.neol.it
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; use-revolution mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19227396&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://www.andregarzia.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.andregarzia.com&lt;/a&gt;&amp;nbsp;All We Do Is Code.
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19227396&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Fill-up-a-form-using-revbrowser-tp19216968p19227396.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19226757</id>
	<title>Re: One step closer to closures, or, how I captured variables by clever use of context switches.</title>
	<published>2008-08-29T13:17:45Z</published>
	<updated>2008-08-29T13:17:45Z</updated>
	<author>
		<name>Andre Garzia-3</name>
	</author>
	<content type="html">Randall,
&lt;br&gt;&lt;br&gt;the problem is always a performance one. Revolution is extremely fast,
&lt;br&gt;I really think it is powered by some alien technology. I've just
&lt;br&gt;deployed a code that has so many nested loops that makes your head
&lt;br&gt;hurt and yet it runs millisecs. A message like the one we're talking
&lt;br&gt;would be called ALL TIME, Revolution is always changing stuff, so the
&lt;br&gt;best would be to tag certain changes as observable changes not to
&lt;br&gt;impact performance. As an example, just launch the message watcher,
&lt;br&gt;select all messages and move the mouse around, the sheers quantity of
&lt;br&gt;messages and how fast they are processed is amazing.
&lt;br&gt;&lt;br&gt;If you liked the idea of runtime code generation, side effects and
&lt;br&gt;capturing things from other contexts, you might like learning more
&lt;br&gt;about Lisp. It's a very fun and enlighting language, not Desktop
&lt;br&gt;oriented (or even application-delivery oriented), I have the feeling
&lt;br&gt;that learning more about Lisp makes me a better programmer in Rev. I
&lt;br&gt;am reading some nice books where the language is the least important
&lt;br&gt;thing, the real important thing is how to think and solve problems.
&lt;br&gt;&lt;br&gt;You might like:
&lt;br&gt;Structure and Interpretation of Computer Programs (Also known as SICP,
&lt;br&gt;available for free online and even in video format)
&lt;br&gt;Thinking Forth (Also available for Free)
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;andre
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, Aug 29, 2008 at 2:14 PM, Randall Reetz &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19226757&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randall@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Cool! &amp;nbsp;What i havw always argued for is a global property that turned on or off the behavior that the changing of any var or property generated a message. &amp;nbsp;The message would only happen if a property &amp;quot;sharechanges&amp;quot; of all vars and props (by default false) was set to true. The message would be sent with context and old value parameters.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; on rect_changed, context, oldval
&lt;br&gt;&amp;gt; &amp;nbsp;Storecontexthistory
&lt;br&gt;&amp;gt; &amp;nbsp;Bla bla bla
&lt;br&gt;&amp;gt; End rect_changed
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; randall
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &amp;quot;Andre Garzia&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19226757&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andre@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &amp;quot;How to use Revolution&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19226757&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: 8/29/2008 1:55 AM
&lt;br&gt;&amp;gt; Subject: One step closer to closures, or, &amp;nbsp; &amp;nbsp; &amp;nbsp; how I captured variables by clever use of context switches.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Folks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is the kind of post you get when I keep code until 5:15 AM. Today
&lt;br&gt;&amp;gt; I've set a goal to produce a library that would allow me to create
&lt;br&gt;&amp;gt; persistent variables, by persistent variables I mean that when the
&lt;br&gt;&amp;gt; program finishes it somehow saves the variable contents and when it
&lt;br&gt;&amp;gt; loads, it inserts the content back. I know about custom properties,
&lt;br&gt;&amp;gt; SQL Databases, stack files, that's how we usually solve this kind of
&lt;br&gt;&amp;gt; issue, but I'd decided to try something different and work with actual
&lt;br&gt;&amp;gt; variables.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; To solve this problem, I've decomposed the task into two big
&lt;br&gt;&amp;gt; components, the saver and the loader. The loader is the piece of code
&lt;br&gt;&amp;gt; that picks the value and inserts back into the variable, this is
&lt;br&gt;&amp;gt; trivial, you just read the value from somewhere and insert it back,
&lt;br&gt;&amp;gt; the tricky thing is the saver.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Picking values from global variables is easy, you just declare a
&lt;br&gt;&amp;gt; global and grab the value. Script local variables are easy to access
&lt;br&gt;&amp;gt; when you're in the same script. Temporary variables, well, those are
&lt;br&gt;&amp;gt; tricky to grab when you're not in the same handler as them. So the big
&lt;br&gt;&amp;gt; task is, how to we access variables that were defined and used in a
&lt;br&gt;&amp;gt; different context? For those new to transcript let me put a simple
&lt;br&gt;&amp;gt; example below:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; on firstHandler
&lt;br&gt;&amp;gt; &amp;nbsp;local temp
&lt;br&gt;&amp;gt; &amp;nbsp;put &amp;quot;I am a happy variable&amp;quot; into temp
&lt;br&gt;&amp;gt; end firstHandler
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No code outside &amp;quot;firstHandler&amp;quot; can query the value of the temp
&lt;br&gt;&amp;gt; variable, it is defined in the context of that handler. Now, imagine
&lt;br&gt;&amp;gt; that you have the following piece:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; on firstHandler
&lt;br&gt;&amp;gt; &amp;nbsp;local temp
&lt;br&gt;&amp;gt; &amp;nbsp;put &amp;quot;I am a happy variable&amp;quot; into temp
&lt;br&gt;&amp;gt; &amp;nbsp;newPersistentVariable &amp;quot;temp&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;put &amp;quot;I've just changed the value of temp.&amp;quot; into temp
&lt;br&gt;&amp;gt; &amp;nbsp;secondHandler
&lt;br&gt;&amp;gt; end firstHandler
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; on secondHandler
&lt;br&gt;&amp;gt; &amp;nbsp;put captureVariable(&amp;quot;temp&amp;quot;)
&lt;br&gt;&amp;gt; end secondHandler
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And when secondHandler runs, it outputs &amp;quot;I've just changed the value
&lt;br&gt;&amp;gt; of temp.&amp;quot;. If you look carefully at the code above, you'll see that
&lt;br&gt;&amp;gt; this is not an easy task. We have a strange handler called
&lt;br&gt;&amp;gt; newPersistentVariable which we don't know what it is and on the
&lt;br&gt;&amp;gt; secondHandler we have a function that is supposed to return the value
&lt;br&gt;&amp;gt; from a variable on the other handler.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now, even without the details about those two functions, you can see
&lt;br&gt;&amp;gt; that we're redefining the content of the temp variable after calling
&lt;br&gt;&amp;gt; newPersistentVariable, so in a magic way, captureVariable function is
&lt;br&gt;&amp;gt; returning the last value of temp .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How does it works? It works by capturing the context and switching to
&lt;br&gt;&amp;gt; it when needed. When newPersistentVariable is called it receives a
&lt;br&gt;&amp;gt; param which is the variable name that you want to keep track (not it's
&lt;br&gt;&amp;gt; value). newPersistentVariable then checks the executioncontexts and
&lt;br&gt;&amp;gt; save it for later reference. When we call captureVariable() &amp;nbsp;we pass
&lt;br&gt;&amp;gt; it a variable name, it then checks to see in which context that
&lt;br&gt;&amp;gt; variable was defined, it switch there and with a little hack, picks
&lt;br&gt;&amp;gt; the value from there.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The code for both functions is:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; local lPersistentVariablesA
&lt;br&gt;&amp;gt; global gVar
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; function captureVariable pVariable
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;put lPersistentVariablesA[pVariable] into tContextsRaw
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;put 0 into tNum
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;repeat for each line tLine in tContextsRaw
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;add 1 to tNum
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;put return &amp; tNum &amp; comma &amp; tLine after tBuf
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;end repeat
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;delete char 1 of tBuf
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;set the cREVScriptDebugMode of stack &amp;quot;revPreferences&amp;quot; to true
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;set the debugcontext to (item 1 of line -2 of tBuf)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;put format(&amp;quot;global gVar; put %s into gVar&amp;quot;, pVariable) into tCmd
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;debugdo tCmd
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;set the debugcontext to empty
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;set the cREVScriptDebugMode of stack &amp;quot;revPreferences&amp;quot; to false
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;return gVar
&lt;br&gt;&amp;gt; end captureVariable
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; on newPersistentVariable pVariable
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;put the executioncontexts into lPersistentVariablesA[pVariable]
&lt;br&gt;&amp;gt; end newPersistentVariable
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now, why this is useful? Well, as you can see from the code, we have
&lt;br&gt;&amp;gt; an array called lPersistentVariablesA, we could simply loop the keys
&lt;br&gt;&amp;gt; of that array and capture and save all variables on shutdownRequest.
&lt;br&gt;&amp;gt; We could modify the newPersistentVariable to check for the saved
&lt;br&gt;&amp;gt; content and insert it back.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Whats wrong with my current code? (A-Ha!) Right now, if you nest to
&lt;br&gt;&amp;gt; many handlers, the context switch fails somehow... it's hard to debug
&lt;br&gt;&amp;gt; this. I think that as Rev exits the handlers it drops the contexts
&lt;br&gt;&amp;gt; (can we call that backtracking?). So if we go from firstHandler into
&lt;br&gt;&amp;gt; secondHandler into thirdHandler, then in the thirdHandler we can
&lt;br&gt;&amp;gt; capture variables from them all, but if we go from firstHandler into
&lt;br&gt;&amp;gt; secondHandler out of secondHandler and into thirdHandler, then
&lt;br&gt;&amp;gt; anything from secondHandler is lost.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anyway, it still a nice hack and it still useful. I've developed this
&lt;br&gt;&amp;gt; to use with CGI programming, and in CGIs most things happen in the
&lt;br&gt;&amp;gt; startup script or very near it, so I can still use these routines to
&lt;br&gt;&amp;gt; pick variables from contexts that I know are still alive.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How to solve this? Well, I don't know, I just wanted to play and try
&lt;br&gt;&amp;gt; to build myself something that would allow me to freeze the execution
&lt;br&gt;&amp;gt; contexts in time so that I could re-use them later (still trying to
&lt;br&gt;&amp;gt; create state out of the stateless nature of cgis, order from
&lt;br&gt;&amp;gt; chaos...).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Andre
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.andregarzia.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.andregarzia.com&lt;/a&gt;&amp;nbsp;All We Do Is Code.
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; use-revolution mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19226757&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; use-revolution mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19226757&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://www.andregarzia.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.andregarzia.com&lt;/a&gt;&amp;nbsp;All We Do Is Code.
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19226757&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/RE%3A-One-step-closer-to-closures%2C-or%2C%09how-I-captured-variables-by-clever-use-of-context-switches.-tp19224101p19226757.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19225581</id>
	<title>function: text_Utf8ToHtml</title>
	<published>2008-08-29T11:54:26Z</published>
	<updated>2008-08-29T11:54:26Z</updated>
	<author>
		<name>david bovill</name>
	</author>
	<content type="html">Guess this will have to do. Seems to work:
&lt;br&gt;&lt;br&gt;function text_Utf8ToHtml someUtf8, someField
&lt;br&gt;&amp;nbsp; &amp;nbsp; lock screen
&lt;br&gt;&amp;nbsp; &amp;nbsp; put the htmltext of someField into oHtml
&lt;br&gt;&amp;nbsp; &amp;nbsp; put uniencode(someUtf8, &amp;quot;UTF8&amp;quot;) into someU16
&lt;br&gt;&amp;nbsp; &amp;nbsp; set the unicodetext of someField to someU16
&lt;br&gt;&amp;nbsp; &amp;nbsp; put the htmltext of someField into someHtml
&lt;br&gt;&amp;nbsp; &amp;nbsp; set the htmltext of someField to oHtml
&lt;br&gt;&amp;nbsp; &amp;nbsp; unlock screen
&lt;br&gt;&amp;nbsp; &amp;nbsp; delete char 1 to 3 of someHtml
&lt;br&gt;&amp;nbsp; &amp;nbsp; delete char -4 to -1 of someHtml
&lt;br&gt;&amp;nbsp; &amp;nbsp; return someHtml
&lt;br&gt;end text_Utf8ToHtml
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19225581&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/function%3A-text_Utf8ToHtml-tp19225581p19225581.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19224795</id>
	<title>Basic Unicode issue</title>
	<published>2008-08-29T11:03:15Z</published>
	<updated>2008-08-29T11:03:15Z</updated>
	<author>
		<name>david bovill</name>
	</author>
	<content type="html">AFAIK Rev uses UTF16 natively for unicodetext, and for interconversion
&lt;br&gt;between formats. So if you have UTF8 text from XML you need to convert it up
&lt;br&gt;to UTF16 before you do something with it. So far so good - or am I missing
&lt;br&gt;something?
&lt;br&gt;&lt;br&gt;*Mixing unicode and htmltext*
&lt;br&gt;The question I have is about html links with unicode. At the moment the
&lt;br&gt;display uses code that directly writes out htmltext, and includes
&lt;br&gt;hyperlinks. So the question is how do I get the UTF8 text into htmltext?
&lt;br&gt;&lt;br&gt;The ony way I can think of doing it is either to:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;1. convert the chunks utf8 to htmltext through the ugly hack of setting
&lt;br&gt;&amp;nbsp; &amp;nbsp;and getting the text of a hidden or off screen field --&amp;gt; adding the htmltext
&lt;br&gt;&amp;nbsp; &amp;nbsp;to the final output in the normal way
&lt;br&gt;&amp;nbsp; &amp;nbsp;2. well cant think of one?
&lt;br&gt;&lt;br&gt;Is there any other way?
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224795&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Basic-Unicode-issue-tp19224795p19224795.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19224101</id>
	<title>RE: One step closer to closures, or,	how I captured variables by clever use of context switches.</title>
	<published>2008-08-29T10:14:53Z</published>
	<updated>2008-08-29T10:14:53Z</updated>
	<author>
		<name>Randall Reetz</name>
	</author>
	<content type="html">Cool! &amp;nbsp;What i havw always argued for is a global property that turned on or off the behavior that the changing of any var or property generated a message. &amp;nbsp;The message would only happen if a property &amp;quot;sharechanges&amp;quot; of all vars and props (by default false) was set to true. The message would be sent with context and old value parameters.
&lt;br&gt;&lt;br&gt;on rect_changed, context, oldval
&lt;br&gt;&amp;nbsp; Storecontexthistory
&lt;br&gt;&amp;nbsp; Bla bla bla
&lt;br&gt;End rect_changed
&lt;br&gt;&lt;br&gt;randall
&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &amp;quot;Andre Garzia&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224101&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andre@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;How to use Revolution&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224101&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: 8/29/2008 1:55 AM
&lt;br&gt;Subject: One step closer to closures, or,	how I captured variables by clever use of context switches.
&lt;br&gt;&lt;br&gt;Folks,
&lt;br&gt;&lt;br&gt;This is the kind of post you get when I keep code until 5:15 AM. Today
&lt;br&gt;I've set a goal to produce a library that would allow me to create
&lt;br&gt;persistent variables, by persistent variables I mean that when the
&lt;br&gt;program finishes it somehow saves the variable contents and when it
&lt;br&gt;loads, it inserts the content back. I know about custom properties,
&lt;br&gt;SQL Databases, stack files, that's how we usually solve this kind of
&lt;br&gt;issue, but I'd decided to try something different and work with actual
&lt;br&gt;variables.
&lt;br&gt;&lt;br&gt;To solve this problem, I've decomposed the task into two big
&lt;br&gt;components, the saver and the loader. The loader is the piece of code
&lt;br&gt;that picks the value and inserts back into the variable, this is
&lt;br&gt;trivial, you just read the value from somewhere and insert it back,
&lt;br&gt;the tricky thing is the saver.
&lt;br&gt;&lt;br&gt;Picking values from global variables is easy, you just declare a
&lt;br&gt;global and grab the value. Script local variables are easy to access
&lt;br&gt;when you're in the same script. Temporary variables, well, those are
&lt;br&gt;tricky to grab when you're not in the same handler as them. So the big
&lt;br&gt;task is, how to we access variables that were defined and used in a
&lt;br&gt;different context? For those new to transcript let me put a simple
&lt;br&gt;example below:
&lt;br&gt;&lt;br&gt;on firstHandler
&lt;br&gt;&amp;nbsp; local temp
&lt;br&gt;&amp;nbsp; put &amp;quot;I am a happy variable&amp;quot; into temp
&lt;br&gt;end firstHandler
&lt;br&gt;&lt;br&gt;No code outside &amp;quot;firstHandler&amp;quot; can query the value of the temp
&lt;br&gt;variable, it is defined in the context of that handler. Now, imagine
&lt;br&gt;that you have the following piece:
&lt;br&gt;&lt;br&gt;on firstHandler
&lt;br&gt;&amp;nbsp; local temp
&lt;br&gt;&amp;nbsp; put &amp;quot;I am a happy variable&amp;quot; into temp
&lt;br&gt;&amp;nbsp; newPersistentVariable &amp;quot;temp&amp;quot;
&lt;br&gt;&amp;nbsp; put &amp;quot;I've just changed the value of temp.&amp;quot; into temp
&lt;br&gt;&amp;nbsp; secondHandler
&lt;br&gt;end firstHandler
&lt;br&gt;&lt;br&gt;on secondHandler
&lt;br&gt;&amp;nbsp; put captureVariable(&amp;quot;temp&amp;quot;)
&lt;br&gt;end secondHandler
&lt;br&gt;&lt;br&gt;And when secondHandler runs, it outputs &amp;quot;I've just changed the value
&lt;br&gt;of temp.&amp;quot;. If you look carefully at the code above, you'll see that
&lt;br&gt;this is not an easy task. We have a strange handler called
&lt;br&gt;newPersistentVariable which we don't know what it is and on the
&lt;br&gt;secondHandler we have a function that is supposed to return the value
&lt;br&gt;from a variable on the other handler.
&lt;br&gt;&lt;br&gt;Now, even without the details about those two functions, you can see
&lt;br&gt;that we're redefining the content of the temp variable after calling
&lt;br&gt;newPersistentVariable, so in a magic way, captureVariable function is
&lt;br&gt;returning the last value of temp .
&lt;br&gt;&lt;br&gt;How does it works? It works by capturing the context and switching to
&lt;br&gt;it when needed. When newPersistentVariable is called it receives a
&lt;br&gt;param which is the variable name that you want to keep track (not it's
&lt;br&gt;value). newPersistentVariable then checks the executioncontexts and
&lt;br&gt;save it for later reference. When we call captureVariable() &amp;nbsp;we pass
&lt;br&gt;it a variable name, it then checks to see in which context that
&lt;br&gt;variable was defined, it switch there and with a little hack, picks
&lt;br&gt;the value from there.
&lt;br&gt;&lt;br&gt;The code for both functions is:
&lt;br&gt;&lt;br&gt;local lPersistentVariablesA
&lt;br&gt;global gVar
&lt;br&gt;&lt;br&gt;function captureVariable pVariable
&lt;br&gt;&amp;nbsp; &amp;nbsp; put lPersistentVariablesA[pVariable] into tContextsRaw
&lt;br&gt;&amp;nbsp; &amp;nbsp; put 0 into tNum
&lt;br&gt;&amp;nbsp; &amp;nbsp; repeat for each line tLine in tContextsRaw
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add 1 to tNum
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put return &amp; tNum &amp; comma &amp; tLine after tBuf
&lt;br&gt;&amp;nbsp; &amp;nbsp; end repeat
&lt;br&gt;&amp;nbsp; &amp;nbsp; delete char 1 of tBuf
&lt;br&gt;&amp;nbsp; &amp;nbsp; set the cREVScriptDebugMode of stack &amp;quot;revPreferences&amp;quot; to true
&lt;br&gt;&amp;nbsp; &amp;nbsp; set the debugcontext to (item 1 of line -2 of tBuf)
&lt;br&gt;&amp;nbsp; &amp;nbsp; put format(&amp;quot;global gVar; put %s into gVar&amp;quot;, pVariable) into tCmd
&lt;br&gt;&amp;nbsp; &amp;nbsp; debugdo tCmd
&lt;br&gt;&amp;nbsp; &amp;nbsp; set the debugcontext to empty
&lt;br&gt;&amp;nbsp; &amp;nbsp; set the cREVScriptDebugMode of stack &amp;quot;revPreferences&amp;quot; to false
&lt;br&gt;&amp;nbsp; &amp;nbsp; return gVar
&lt;br&gt;end captureVariable
&lt;br&gt;&lt;br&gt;on newPersistentVariable pVariable
&lt;br&gt;&amp;nbsp; &amp;nbsp; put the executioncontexts into lPersistentVariablesA[pVariable]
&lt;br&gt;end newPersistentVariable
&lt;br&gt;&lt;br&gt;Now, why this is useful? Well, as you can see from the code, we have
&lt;br&gt;an array called lPersistentVariablesA, we could simply loop the keys
&lt;br&gt;of that array and capture and save all variables on shutdownRequest.
&lt;br&gt;We could modify the newPersistentVariable to check for the saved
&lt;br&gt;content and insert it back.
&lt;br&gt;&lt;br&gt;Whats wrong with my current code? (A-Ha!) Right now, if you nest to
&lt;br&gt;many handlers, the context switch fails somehow... it's hard to debug
&lt;br&gt;this. I think that as Rev exits the handlers it drops the contexts
&lt;br&gt;(can we call that backtracking?). So if we go from firstHandler into
&lt;br&gt;secondHandler into thirdHandler, then in the thirdHandler we can
&lt;br&gt;capture variables from them all, but if we go from firstHandler into
&lt;br&gt;secondHandler out of secondHandler and into thirdHandler, then
&lt;br&gt;anything from secondHandler is lost.
&lt;br&gt;&lt;br&gt;Anyway, it still a nice hack and it still useful. I've developed this
&lt;br&gt;to use with CGI programming, and in CGIs most things happen in the
&lt;br&gt;startup script or very near it, so I can still use these routines to
&lt;br&gt;pick variables from contexts that I know are still alive.
&lt;br&gt;&lt;br&gt;How to solve this? Well, I don't know, I just wanted to play and try
&lt;br&gt;to build myself something that would allow me to freeze the execution
&lt;br&gt;contexts in time so that I could re-use them later (still trying to
&lt;br&gt;create state out of the stateless nature of cgis, order from
&lt;br&gt;chaos...).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Andre
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://www.andregarzia.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.andregarzia.com&lt;/a&gt;&amp;nbsp;All We Do Is Code.
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224101&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224101&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/RE%3A-One-step-closer-to-closures%2C-or%2C%09how-I-captured-variables-by-clever-use-of-context-switches.-tp19224101p19224101.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19223731</id>
	<title>Re: [OT] Gorilla Marketing</title>
	<published>2008-08-29T09:54:06Z</published>
	<updated>2008-08-29T09:54:06Z</updated>
	<author>
		<name>Judy Perry-2</name>
	</author>
	<content type="html">And have fun watching them pinch one another ;-)
&lt;br&gt;&lt;br&gt;Gives the phrase 'slap and tickle' a whole new dimension, doesn't it?
&lt;br&gt;&lt;br&gt;Judy
&lt;br&gt;&lt;br&gt;On Fri, Aug 29, 2008 at 5:10 AM, Colin Holgate &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19223731&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;coiin@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I think the term is Guerilla Marketing. Gorilla Marketing would be things
&lt;br&gt;&amp;gt; like &amp;quot;Get your King Kongs Here!&amp;quot;.
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19223731&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-OT--Gorilla-Marketing-tp19218639p19223731.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19221774</id>
	<title>[OT] Gorilla Marketing</title>
	<published>2008-08-29T08:09:41Z</published>
	<updated>2008-08-29T08:09:41Z</updated>
	<author>
		<name>Richmond Mathewson</name>
	</author>
	<content type="html">Dear Malte,
&lt;br&gt;&amp;nbsp; My posting about &amp;quot;Gorilla Marketing&amp;quot; was not an attack on your &amp;quot;Guerilla Marketing&amp;quot;; far from it:
&lt;br&gt;&lt;br&gt;&amp;gt;From my point of view Gorillas grab everything, steal, smash and grab,
&lt;br&gt;&lt;br&gt;little boys tend to do that unintentionally.
&lt;br&gt;&lt;br&gt;Guerillas tend to be much more sneaky / subtle / underhand than Gorillas, and are, therefore much more difficult to detect and counter-act, as described in
&lt;br&gt;&lt;br&gt;&amp;quot;The War of the Flea&amp;quot; by Robert Taber &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://members.chello.nl/jsteenis/letter32.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://members.chello.nl/jsteenis/letter32.htm&lt;/a&gt;&lt;br&gt;&lt;br&gt;I dislike both Gorillas and Guerillas, however, having been a teenage boy once-upon-a-time,and having committed a fair number of youthful and not-so-youthful follies in my time my reaction to silly teenagers using stuff of mine for their own silly purposes (with a strong emphasis on the word 'silly') would be firm but kind: i.e. &amp;quot;stop using my stuff you silly teenager&amp;quot; rather than heavy, heavy stuff.
&lt;br&gt;&lt;br&gt;Now, re open source / sauce. &amp;nbsp;You, Malte, and anybody else, are quite within your rights to protect all your work in whatever way you want (well, perhaps within the law), or, should you choose, let things go as free as a bird - I choose to do the latter for a number of simple reasons:
&lt;br&gt;&lt;br&gt;1. I am not a particularly competent computer programmer,
&lt;br&gt;&lt;br&gt;2. I manage to make a living doing something else.
&lt;br&gt;&lt;br&gt;In fact,I am extremely grateful I don't have to depend on computer-programming for my income; the thought frightens me.
&lt;br&gt;&lt;br&gt;Personally,I like the open-source idea; but I cannot for the life of me envisage a world without commercial software; I believe that open-source and commercial software (and all the types of intermediate stuff) act as healthy sparring partners.
&lt;br&gt;&lt;br&gt;Yes, I know I have used some of your ideas (having asked you first); however I would like to believe that that has been amply repaid by my releasing all sorts of stuff into the free domain:
&lt;br&gt;&lt;br&gt;on RevOnline &amp;nbsp;and
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://groups.yahoo.com/group/richmondsrrr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/richmondsrrr/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://groups.yahoo.com/group/RRgraphix/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/RRgraphix/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://groups.yahoo.com/group/RRNiftyHints/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/RRNiftyHints/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://groups.yahoo.com/group/RRRThesis/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/RRRThesis/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://groups.yahoo.com/group/rrtexttricks/?yguid=254544547&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/rrtexttricks/?yguid=254544547&lt;/a&gt;&lt;br&gt;&lt;br&gt;sincerely, Richmond Mathewson
&lt;br&gt;&lt;br&gt;____________________________________________________________ 
&lt;br&gt;&lt;br&gt;A Thorn in the flesh is better than a failed Systems Development Life Cycle.
&lt;br&gt;____________________________________________________________
&lt;br&gt;&lt;br&gt;Send instant messages to your online friends &lt;a href=&quot;http://uk.messenger.yahoo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://uk.messenger.yahoo.com&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19221774&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-OT--Gorilla-Marketing-tp19221774p19221774.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19221392</id>
	<title>Re: Print stack as PDF</title>
	<published>2008-08-29T07:50:19Z</published>
	<updated>2008-08-29T07:50:19Z</updated>
	<author>
		<name>Rob Cozens</name>
	</author>
	<content type="html">Paolo, et al:
&lt;br&gt;&lt;br&gt;&amp;gt;I wuold like to find solution for the windows platform without any
&lt;br&gt;&amp;gt;external software.
&lt;br&gt;&lt;br&gt;&amp;nbsp;From the CutePDF download site 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.cutepdf.com/Products/CutePDF/writer.asp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cutepdf.com/Products/CutePDF/writer.asp&lt;/a&gt;&lt;br&gt;&amp;nbsp;&amp;gt;:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Installation Requirements
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;* Supports Microsoft Windows 98/ME/2000/XP/2003/Vista (x32/x64).
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;* Requires PS2PDF converter such as Ghostscript (recommended).
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;* You can get the free GPL Ghostscript 
&lt;br&gt;&amp;gt; 8.15 
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.cutepdf.com/Products/CutePDF/../../download/converter.exe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cutepdf.com/Products/CutePDF/../../download/converter.exe&lt;/a&gt;&amp;gt;here.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;gt;[]
&lt;br&gt;&amp;gt; &amp;nbsp;GNU Ghostscript is an open-source interpreter for the PostScript 
&lt;br&gt;&amp;gt; language and the PDF file format. It is distributed under the 
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.gnu.org/copyleft/gpl.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/copyleft/gpl.html&lt;/a&gt;&amp;gt;GNU General Public License. 
&lt;br&gt;&amp;gt; You may obtain the source code for GPL Ghostscript 8.15 
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=1897&amp;package_id=108733&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/project/showfiles.php?group_id=1897&amp;package_id=108733&lt;/a&gt;&amp;gt;here. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Perhaps GNU Ghostscript would provide a starting point? &amp;nbsp;Maybe you 
&lt;br&gt;could convert the source to Transcript?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Rob Cozens
&lt;br&gt;&lt;br&gt;&amp;quot;The way to destroy the power of the Corporate State
&lt;br&gt;&amp;nbsp; &amp;nbsp;is to live differently now.&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; -- Charles Reich, The Greening of America 
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19221392&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Print-stack-as-PDF-tp19163309p19221392.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19220519</id>
	<title>Re: mySQL question + rev drivers</title>
	<published>2008-08-29T06:59:53Z</published>
	<updated>2008-08-29T06:59:53Z</updated>
	<author>
		<name>Jim Ault</name>
	</author>
	<content type="html">&lt;br&gt;On 8/28/08 11:35 PM, &amp;quot;Mark Schonewille&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19220519&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.schonewille@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Jim,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For old downloads, write to support. They took away all the files from
&lt;br&gt;&amp;gt; their FTP account, otherwise I would have referred you to that.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What's Eev? Do yo mean Rev? the latest version of Revolution is 2.9 of
&lt;br&gt;&amp;gt; course. You should be able to use this engine as CGI engine.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What else do you need to know?
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;According to Jaque's tutorial, the latest version of the Rev engine that
&lt;br&gt;will run with OSX Darwin is 2.1.2
&lt;br&gt;&lt;br&gt;This means that the local host is the computer you are working on, and in my
&lt;br&gt;case, I have a static IP so clients and other servers can access my local
&lt;br&gt;hosted web server. &amp;nbsp;This local hosted web server is Apache/php using the Rev
&lt;br&gt;2.1.2 engine.
&lt;br&gt;&lt;br&gt;None of the Rev engine configurations on my current web hosting account work
&lt;br&gt;even with the simple echo.mt or hello.cgi scripts.
&lt;br&gt;&lt;br&gt;Once some development and proof of concept is accomplished the customer will
&lt;br&gt;open a Dreamhost account, which does run the 2.9 engine
&lt;br&gt;&lt;br&gt;Thanks for the reply!
&lt;br&gt;&lt;br&gt;Jim Ault
&lt;br&gt;Las Vegas
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19220519&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19220519.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19219383</id>
	<title>Re: ANN: libRevCurl</title>
	<published>2008-08-29T06:00:12Z</published>
	<updated>2008-08-29T06:00:12Z</updated>
	<author>
		<name>Mark Smith-46</name>
	</author>
	<content type="html">I've made a small change to libRevCurl to fix the fact that it was &amp;nbsp;
&lt;br&gt;failing under Rev 3.0 on windows, due to a mistake on my part which &amp;nbsp;
&lt;br&gt;came to light because &amp;quot;the tempname&amp;quot; has changed slightly under rev 3.0.
&lt;br&gt;&lt;br&gt;FWIW, the details may be useful to some:
&lt;br&gt;&lt;br&gt;The library uses a temp file and passes the path to it to an external &amp;nbsp;
&lt;br&gt;process (curl). My mistake was that I was not quoting the path, which &amp;nbsp;
&lt;br&gt;was fine as long as there were no spaces in the path...
&lt;br&gt;Under 2.9, &amp;quot;the tempname&amp;quot; returns this: &amp;quot;C:/DOCUME~1/OWNER/LOCALS~1/ 
&lt;br&gt;Temp/temp1&amp;quot;, which is evidently windows shorthand,
&lt;br&gt;but under 3.0 &amp;quot;the tempname&amp;quot; return this: &amp;quot;C:/Documents and Settings/ 
&lt;br&gt;Owner/Local Settings/Temp/temp1&amp;quot; which is the long version containing &amp;nbsp;
&lt;br&gt;spaces...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;&lt;br&gt;Mark
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19219383&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/ANN%3A-libRevCurl-tp18882600p19219383.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19219246</id>
	<title>Re: [OT] Gorilla Marketing</title>
	<published>2008-08-29T05:50:23Z</published>
	<updated>2008-08-29T05:50:23Z</updated>
	<author>
		<name>Malte Brill</name>
	</author>
	<content type="html">Dear Richmond,
&lt;br&gt;&lt;br&gt;if you have something to say to me, I always have an open ear for you, &amp;nbsp;
&lt;br&gt;but do not try to be subtle on me, k? Does not work for non native &amp;nbsp;
&lt;br&gt;speakers. I at least have the guts to address the kid directly without &amp;nbsp;
&lt;br&gt;posting some vague messages. (Left out smiley intentionally)
&lt;br&gt;&lt;br&gt;The &amp;quot;subtile&amp;quot; note your message brings across to me leads me to the &amp;nbsp;
&lt;br&gt;conclusion that you did not get the point. If he wants to use my &amp;nbsp;
&lt;br&gt;artwork this is not a big deal, I am pretty relaxed about copyright. I &amp;nbsp;
&lt;br&gt;am not the suits and would not go unleashing the bloodhounds on the &amp;nbsp;
&lt;br&gt;poor kids parents. However there is something the kid id propably not &amp;nbsp;
&lt;br&gt;aware of, but which truly gets me upset. I do not want to pay for &amp;nbsp;
&lt;br&gt;somebody elses cosmetics! If that makes me a gorilla, fine. If it does &amp;nbsp;
&lt;br&gt;not fit your open sauce attitude also fine. You know me long enough &amp;nbsp;
&lt;br&gt;from this list, to be able to judge that I am always willing to help &amp;nbsp;
&lt;br&gt;out with stuff. If I am asked. Actually you used some of my stuff in &amp;nbsp;
&lt;br&gt;your early demo stacks. You cared to ask me and that´s fine. I would &amp;nbsp;
&lt;br&gt;not not have bothered if you wouldn´t have asked, as you did not put &amp;nbsp;
&lt;br&gt;the hand in my wallet. So it would be unlikely your usage of my stuff &amp;nbsp;
&lt;br&gt;had the potential to drive me out of business. I still have to pay for &amp;nbsp;
&lt;br&gt;the traffic on my server and a *linked* image on a youtube profile can &amp;nbsp;
&lt;br&gt;go terribly wrong. Each time that boys profile is viewed he causes &amp;nbsp;
&lt;br&gt;load on my server that I have better use for. Now let him do the next &amp;nbsp;
&lt;br&gt;&amp;quot;big thing&amp;quot; there and I will be unable to feed my family.
&lt;br&gt;&lt;br&gt;Now, if you feel like it, continue being &amp;quot;subtle&amp;quot;. &amp;lt;g&amp;gt;
&lt;br&gt;&lt;br&gt;Malte
&lt;br&gt;&lt;br&gt;&amp;gt; Frankly if some teenage boy feels the urge to pinch the registered &amp;nbsp;
&lt;br&gt;&amp;gt; logo of my language school and use it in the background of a YouTube &amp;nbsp;
&lt;br&gt;&amp;gt; movie I would be tickled pink.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When things go wrong is when 'Gorillas' (we have a lot in Bulgaria; &amp;nbsp;
&lt;br&gt;&amp;gt; especially in Parliament) pinch logos and use them for vicious &amp;nbsp;
&lt;br&gt;&amp;gt; marketing of some completely unrelated product.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; sincerely, Richmond Marketing
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19219246&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-OT--Gorilla-Marketing-tp19219063p19219246.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19219063</id>
	<title>[OT] Gorilla Marketing</title>
	<published>2008-08-29T05:38:41Z</published>
	<updated>2008-08-29T05:38:41Z</updated>
	<author>
		<name>Richmond Mathewson</name>
	</author>
	<content type="html">Headless Great Apes.
&lt;br&gt;&lt;br&gt;____________________________________________________________
&lt;br&gt;&lt;br&gt;A Thorn in the flesh is better than a failed Systems Development Life Cycle.
&lt;br&gt;____________________________________________________________
&lt;br&gt;&lt;br&gt;Send instant messages to your online friends &lt;a href=&quot;http://uk.messenger.yahoo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://uk.messenger.yahoo.com&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19219063&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-OT--Gorilla-Marketing-tp19219063p19219063.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19219046</id>
	<title>(no subject)</title>
	<published>2008-08-29T05:37:32Z</published>
	<updated>2008-08-29T05:37:32Z</updated>
	<author>
		<name>Richmond Mathewson</name>
	</author>
	<content type="html">Colin Holgate wrote:
&lt;br&gt;&lt;br&gt;&amp;quot;I think the term is Guerilla Marketing. Gorilla Marketing would be &amp;nbsp;
&lt;br&gt;things like &amp;quot;Get your King Kongs Here!&amp;quot;.&amp;quot;
&lt;br&gt;&lt;br&gt;Awfully sorry to disabuse you; I am well aware of the difference between Guerillas and Gorillas, and my message was sent by way of monkeying round!
&lt;br&gt;&lt;br&gt;Kisses, Richmond.
&lt;br&gt;____________________________________________________________
&lt;br&gt;&lt;br&gt;A Thorn in the flesh is better than a failed Systems Development Life Cycle.
&lt;br&gt;____________________________________________________________
&lt;br&gt;&lt;br&gt;Send instant messages to your online friends &lt;a href=&quot;http://uk.messenger.yahoo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://uk.messenger.yahoo.com&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19219046&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28no-subject%29-tp19219046p19219046.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19218694</id>
	<title>Re: [OT] Gorilla Marketing</title>
	<published>2008-08-29T05:10:21Z</published>
	<updated>2008-08-29T05:10:21Z</updated>
	<author>
		<name>Colin Holgate</name>
	</author>
	<content type="html">I think the term is Guerilla Marketing. Gorilla Marketing would be &amp;nbsp;
&lt;br&gt;things like &amp;quot;Get your King Kongs Here!&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19218694&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-OT--Gorilla-Marketing-tp19218639p19218694.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19218639</id>
	<title>[OT] Gorilla Marketing</title>
	<published>2008-08-29T05:05:59Z</published>
	<updated>2008-08-29T05:05:59Z</updated>
	<author>
		<name>Richmond Mathewson</name>
	</author>
	<content type="html">Frankly if some teenage boy feels the urge to pinch the registered logo of my language school and use it in the background of a YouTube movie I would be tickled pink. 
&lt;br&gt;&lt;br&gt;When things go wrong is when 'Gorillas' (we have a lot in Bulgaria; especially in Parliament) pinch logos and use them for vicious marketing of some completely unrelated product.
&lt;br&gt;&lt;br&gt;sincerely, Richmond Marketing
&lt;br&gt;&lt;br&gt;____________________________________________________________
&lt;br&gt;&lt;br&gt;A Thorn in the flesh is better than a failed Systems Development Life Cycle.
&lt;br&gt;____________________________________________________________
&lt;br&gt;&lt;br&gt;Send instant messages to your online friends &lt;a href=&quot;http://uk.messenger.yahoo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://uk.messenger.yahoo.com&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19218639&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-OT--Gorilla-Marketing-tp19218639p19218639.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19218142</id>
	<title>Re: Print stack as PDF</title>
	<published>2008-08-29T04:28:45Z</published>
	<updated>2008-08-29T04:28:45Z</updated>
	<author>
		<name>Jan Schenkel</name>
	</author>
	<content type="html">--- Klaus Major &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19218142&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;klaus@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Buongiorno Paolo,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Jan, Rob,
&lt;br&gt;&amp;gt; &amp;gt; your messages have been very helpfull.
&lt;br&gt;&amp;gt; &amp;gt; in MacOSX command &amp;quot;printerOutput&amp;quot; does a good job,
&lt;br&gt;&amp;gt; printing a stack &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; in PDF
&lt;br&gt;&amp;gt; &amp;gt; from revolution.
&lt;br&gt;&amp;gt; &amp;gt; Still, I wuold like to find solution for the
&lt;br&gt;&amp;gt; windows platform &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; without any
&lt;br&gt;&amp;gt; &amp;gt; external software.
&lt;br&gt;&amp;gt; &amp;gt; I wonder, if Quartam PDF Library, combined with
&lt;br&gt;&amp;gt; command &amp;quot;import &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; shapshot&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; can produce a PDF file &amp;nbsp;similar to the one you get
&lt;br&gt;&amp;gt; from the &amp;quot;printer
&lt;br&gt;&amp;gt; &amp;gt; output&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sure it does, I do it all the time! :-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I do this:
&lt;br&gt;&amp;gt; 1. Export a Screenshot to a temporary file (the
&lt;br&gt;&amp;gt; tempname &amp; &amp;quot;.jpg&amp;quot; or &amp;nbsp;
&lt;br&gt;&amp;gt; whatever)
&lt;br&gt;&amp;gt; 2. &amp;quot;Wrap&amp;quot; some PDF around it
&lt;br&gt;&amp;gt; -&amp;gt; Use the library to create a simply PDF with only
&lt;br&gt;&amp;gt; this image in it
&lt;br&gt;&amp;gt; 3. Save this PDF to disk
&lt;br&gt;&amp;gt; 4. No step 4!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Done :-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Thanks a lot.
&lt;br&gt;&amp;gt; &amp;gt; Paolo
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Klaus Major
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Hi Klaus and Paolo,
&lt;br&gt;&lt;br&gt;The 'export snapshot' trick will definitely work, but
&lt;br&gt;has as downside that text in fields cannot be selected
&lt;br&gt;and copied, and you'll see artifacts when you zoom in,
&lt;br&gt;as graphics (especially roundrects, ovals, lines and
&lt;br&gt;polygons) are also 'flattened' to pixels.
&lt;br&gt;&lt;br&gt;If you want to do it 'step-by-step', then you'll see
&lt;br&gt;that converting graphics is pretty easy with the
&lt;br&gt;built-in commands of the library, but you'll run into
&lt;br&gt;limitations when it comes to text handling. Someday
&lt;br&gt;all the pieces will be there - but today is not that
&lt;br&gt;day I'm afraid.
&lt;br&gt;&lt;br&gt;Quartam PDF Library 1.1 will have a number of new
&lt;br&gt;features that will bring us one step closer, but I'm
&lt;br&gt;still finalizing the plans and research for features
&lt;br&gt;that I haven't scripted yet. Once I have the exact
&lt;br&gt;list and a beta, I'll drop a note on this list.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Jan Schenkel.
&lt;br&gt;&lt;br&gt;Quartam Reports &amp; PDF Library for Revolution
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.quartam.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.quartam.com&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;=====
&lt;br&gt;&amp;quot;As we grow older, we grow both wiser and more foolish at the same time.&amp;quot; &amp;nbsp;(La Rochefoucauld)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19218142&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Print-stack-as-PDF-tp19163309p19218142.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19217676</id>
	<title>Re: Re: XML Question</title>
	<published>2008-08-29T03:51:09Z</published>
	<updated>2008-08-29T03:51:09Z</updated>
	<author>
		<name>david bovill</name>
	</author>
	<content type="html">Below is the parsing script. All the tags from the feedML end up in the
&lt;br&gt;arrays. Only the tags with name spaces (ie colons in their names are failing
&lt;br&gt;to be found).
&lt;br&gt;&lt;br&gt;on mouseUp
&lt;br&gt;&amp;nbsp; &amp;nbsp; put &amp;quot;&lt;a href=&quot;http://feeds.delicious.com/v2/rss/fortyfoxes/RunRev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://feeds.delicious.com/v2/rss/fortyfoxes/RunRev&lt;/a&gt;&amp;quot; into feedXML
&lt;br&gt;&amp;nbsp; &amp;nbsp; delicious_ParseTaggedUserBookmarks feedXml, metaArray, feedArray,
&lt;br&gt;tagArray
&lt;br&gt;end mouseUp
&lt;br&gt;&lt;br&gt;on delicious_ParseTaggedUserBookmarks feedXml, @metaArray, @feedArray,
&lt;br&gt;@tagArray
&lt;br&gt;&amp;nbsp; &amp;nbsp; put revCreateXMLTree(feedXml, true, true, false) into treeID
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; set the itemdelimiter to &amp;quot;/&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; put &amp;quot;rss/channel&amp;quot; into startNode
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; repeat for each item feedTag in &amp;quot;title/link/description/atom:link&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put startNode &amp; &amp;quot;/&amp;quot; &amp; feedTag into metaNode
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; get revXMLNodeContents(treeID, metaNode)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put it into metaArray [feedTag]
&lt;br&gt;&amp;nbsp; &amp;nbsp; end repeat
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; put revXMLNumberOfChildren(treeID, startNode, &amp;quot;item&amp;quot;, 1) into
&lt;br&gt;maxItemNodes
&lt;br&gt;&amp;nbsp; &amp;nbsp; repeat with itemNum = 1 to maxItemNodes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put &amp;quot;rss/channel/item[&amp;quot; &amp; itemNum &amp; &amp;quot;]&amp;quot; into itemNode
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put revXMLNodeContents(treeID, (itemNode &amp; &amp;quot;/guid&amp;quot;)) into idUrl
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put item -1 of idUrl into hashID
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; repeat for each item tagName in
&lt;br&gt;&amp;quot;title/pubDate/link/dc:creator/comments/wfm:commentRss/source&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; breakpoint
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put itemNode &amp; &amp;quot;/&amp;quot; &amp; tagName into itemChildNode
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put revXMLNodeContents(treeID, itemChildNode) into itemValue
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put itemValue into itemArray [tagName]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end repeat
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put empty into someTags
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put revXMLNumberOfChildren(treeID, itemNode, &amp;quot;category&amp;quot;, 1) into
&lt;br&gt;maxCatNodes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; repeat with catNum = 1 to maxCatNodes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put itemNode &amp; &amp;quot;/category[&amp;quot; &amp; catNum &amp; &amp;quot;]/&amp;quot; into catNode
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put word 1 to -1 of revXMLNodeContents(treeID, catNode) into
&lt;br&gt;someTag
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put text_Utf8Decode(someTag) &amp; comma after someTags
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end repeat
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete char -1 of someTags
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put someTags into itemArray [&amp;quot;tagList&amp;quot;]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; replace comma with CR in someTags
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put someTags into tagArray [hashID]
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; combine itemArray with CR and tab
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put itemArray into feedArray [hashID]
&lt;br&gt;&amp;nbsp; &amp;nbsp; end repeat
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; revDeleteXMLTree treeID
&lt;br&gt;&amp;nbsp; &amp;nbsp; return feedArray
&lt;br&gt;end delicious_ParseTaggedUserBookmarks
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19217676&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19217676.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19217389</id>
	<title>Re: Re: XML Question</title>
	<published>2008-08-29T03:25:12Z</published>
	<updated>2008-08-29T03:25:12Z</updated>
	<author>
		<name>Malte Brill</name>
	</author>
	<content type="html">Hi David,
&lt;br&gt;&lt;br&gt;could you send me the XML you are trying to parse and your script?
&lt;br&gt;I did not bother parsing atom feeds as yet, but have been working with &amp;nbsp;
&lt;br&gt;XML quite a lot the last 1.5 years.
&lt;br&gt;&lt;br&gt;Taking the example you posted in your previous mail (and adding the &amp;nbsp;
&lt;br&gt;tag that you said would fail) just parses fine over here.
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;rss version=&amp;quot;2.0&amp;quot; xmlns:atom=&amp;quot;&lt;a href=&quot;http://www.w3.org/2005/Atom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/Atom&lt;/a&gt;&amp;quot; &amp;nbsp;
&lt;br&gt;xmlns:content=&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://purl.org/rss/1.0/modules/content/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://purl.org/rss/1.0/modules/content/&lt;/a&gt;&amp;quot; xmlns:wfw=&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://wellformedweb.org/CommentAPI/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wellformedweb.org/CommentAPI/&lt;/a&gt;&amp;quot; xmlns:rdf=&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&lt;/a&gt;&amp;quot; xmlns:dc=&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://purl.org/dc/elements/1.1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://purl.org/dc/elements/1.1/&lt;/a&gt;&amp;quot; xmlns:cc=&amp;quot;&lt;a href=&quot;http://web.resource.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://web.resource.org/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;cc/&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;wfw:commentRss&amp;gt;Just a comment&amp;lt;/wfw:commentRss&amp;gt;
&lt;br&gt;&amp;lt;/rss&amp;gt;
&lt;br&gt;&lt;br&gt;Yields this XML Text in Rev:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;rss xmlns:atom=&amp;quot;&lt;a href=&quot;http://www.w3.org/2005/Atom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/Atom&lt;/a&gt;&amp;quot; xmlns:content=&amp;quot; &lt;a href=&quot;http://purl.org/rss/1.0/modules/content/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://purl.org/rss/1.0/modules/content/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;quot; xmlns:wfw=&amp;quot; &lt;a href=&quot;http://wellformedweb.org/CommentAPI/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wellformedweb.org/CommentAPI/&lt;/a&gt;&amp;quot; xmlns:rdf=&amp;quot; &lt;a href=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;quot; xmlns:dc=&amp;quot; &lt;a href=&quot;http://purl.org/dc/elements/1.1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://purl.org/dc/elements/1.1/&lt;/a&gt;&amp;quot; xmlns:cc=&amp;quot;&lt;a href=&quot;http://web.resource.org/cc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://web.resource.org/cc/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;quot; version=&amp;quot;2.0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;wfw:commentRss&amp;gt;Just a comment&amp;lt;/wfw:commentRss&amp;gt;
&lt;br&gt;&amp;lt;/rss&amp;gt;
&lt;br&gt;&lt;br&gt;So I would like to see an actual feed you are trying to parse and the &amp;nbsp;
&lt;br&gt;script you are using to do so. Are you trying to parse only a part of &amp;nbsp;
&lt;br&gt;the feed?
&lt;br&gt;&lt;br&gt;Not that it helps you in anyway, but if you do a google search for &amp;nbsp;
&lt;br&gt;&amp;quot;atom XML namespaces&amp;quot; shows that people using other environments have &amp;nbsp;
&lt;br&gt;(or have had) some headaches too.
&lt;br&gt;&lt;br&gt;All the best,
&lt;br&gt;&lt;br&gt;Malte
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19217389&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19217389.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19216968</id>
	<title>Fill up a form using revbrowser</title>
	<published>2008-08-29T02:52:59Z</published>
	<updated>2008-08-29T02:52:59Z</updated>
	<author>
		<name>paolo mazza</name>
	</author>
	<content type="html">Using a script from Revolution, I wuold like to:
&lt;br&gt;- &amp;nbsp;open a web page with a form (RevBrowser )
&lt;br&gt;- put some text into a field of a form &amp;nbsp;
&lt;br&gt;- click the button to send the form.
&lt;br&gt;Is it possible?
&lt;br&gt;Any idea?
&lt;br&gt;&lt;br&gt;******************************************
&lt;br&gt;&lt;br&gt;Paolo Mazza
&lt;br&gt;NEOL SRL
&lt;br&gt;Società partecipata da Università di Padova
&lt;br&gt;via N. Tommaseo 84
&lt;br&gt;35131 - Padova (Italy)
&lt;br&gt;Tel 049- 2050147 - Fax 049-7964386
&lt;br&gt;www.neol.it
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216968&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Fill-up-a-form-using-revbrowser-tp19216968p19216968.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19216815</id>
	<title>Re: Print stack as PDF</title>
	<published>2008-08-29T02:40:17Z</published>
	<updated>2008-08-29T02:40:17Z</updated>
	<author>
		<name>Klaus Major</name>
	</author>
	<content type="html">Buongiorno Paolo,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Jan, Rob,
&lt;br&gt;&amp;gt; your messages have been very helpfull.
&lt;br&gt;&amp;gt; in MacOSX command &amp;quot;printerOutput&amp;quot; does a good job, printing a stack &amp;nbsp;
&lt;br&gt;&amp;gt; in PDF
&lt;br&gt;&amp;gt; from revolution.
&lt;br&gt;&amp;gt; Still, I wuold like to find solution for the windows platform &amp;nbsp;
&lt;br&gt;&amp;gt; without any
&lt;br&gt;&amp;gt; external software.
&lt;br&gt;&amp;gt; I wonder, if Quartam PDF Library, combined with command &amp;quot;import &amp;nbsp;
&lt;br&gt;&amp;gt; shapshot&amp;quot;,
&lt;br&gt;&amp;gt; can produce a PDF file &amp;nbsp;similar to the one you get from the &amp;quot;printer
&lt;br&gt;&amp;gt; output&amp;quot;.
&lt;/div&gt;&lt;br&gt;Sure it does, I do it all the time! :-)
&lt;br&gt;&lt;br&gt;I do this:
&lt;br&gt;1. Export a Screenshot to a temporary file (the tempname &amp; &amp;quot;.jpg&amp;quot; or &amp;nbsp;
&lt;br&gt;whatever)
&lt;br&gt;2. &amp;quot;Wrap&amp;quot; some PDF around it
&lt;br&gt;-&amp;gt; Use the library to create a simply PDF with only this image in it
&lt;br&gt;3. Save this PDF to disk
&lt;br&gt;4. No step 4!
&lt;br&gt;&lt;br&gt;Done :-)
&lt;br&gt;&lt;br&gt;&amp;gt; Thanks a lot.
&lt;br&gt;&amp;gt; Paolo
&lt;br&gt;&lt;br&gt;Best
&lt;br&gt;&lt;br&gt;Klaus Major
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216815&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;klaus@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.major-k.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.major-k.de&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216815&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Print-stack-as-PDF-tp19163309p19216815.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19216580</id>
	<title>Re: Print stack as PDF</title>
	<published>2008-08-29T02:23:05Z</published>
	<updated>2008-08-29T02:23:05Z</updated>
	<author>
		<name>paolo mazza</name>
	</author>
	<content type="html">Jan, Rob,
&lt;br&gt;your messages have been very helpfull.
&lt;br&gt;in MacOSX command &amp;quot;printerOutput&amp;quot; does a good job, printing a stack in PDF
&lt;br&gt;from revolution.
&lt;br&gt;Still, I wuold like to find solution for the windows platform without any
&lt;br&gt;external software.
&lt;br&gt;I wonder, if Quartam PDF Library, combined with command &amp;quot;import shapshot&amp;quot;,
&lt;br&gt;can produce a PDF file &amp;nbsp;similar to the one you get from the &amp;quot;printer
&lt;br&gt;output&amp;quot;.
&lt;br&gt;Thanks a lot.
&lt;br&gt;Paolo
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Hi Paulo,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;If your app runs on MacOSX, you can set the
&lt;br&gt;&amp;gt;'printerOutput' to a filepath, and that will churn out
&lt;br&gt;&amp;gt;a PDF file. However, this doesn't work on Windows or
&lt;br&gt;&amp;gt;Linux: the Windows engine produces XPS files
&lt;br&gt;&amp;gt;[Microsoft's PDF rival format], and the Linux engine
&lt;br&gt;&amp;gt;produces postscript files.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Quartam PDF Library is not capable of turning just
&lt;br&gt;&amp;gt;about any stack into a PDF file - there are a lot of
&lt;br&gt;&amp;gt;Revolution properties that make it hard to interpret
&lt;br&gt;&amp;gt;what to do (for instance, should I go for the literal
&lt;br&gt;&amp;gt;interpretation of certain property combinations or try
&lt;br&gt;&amp;gt;and mimick the way Rev renders it on each platform and
&lt;br&gt;&amp;gt;OS version?)
&lt;br&gt;&amp;gt;And admittedly, a few more items need to be put in
&lt;br&gt;&amp;gt;place (blending, clipping, arbitrary fonts, htmlText
&lt;br&gt;&amp;gt;support, etc.) before I can even start on that generic
&lt;br&gt;&amp;gt;PDF conversion.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Hope this clarified it,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Jan Schenkel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Hi Paolo,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;how can I print a stack as PDF from revolution 3.0?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;For Windows systems, you can download and install CutePDFWriter free 
&lt;br&gt;&amp;gt;from &amp;lt;&lt;a href=&quot;http://www.cutepdf.com/Products/CutePDF/writer.asp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cutepdf.com/Products/CutePDF/writer.asp&lt;/a&gt;&amp;gt;. &amp;nbsp;Once 
&lt;br&gt;&amp;gt;installed, any printer output can be saved as a pdf file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Rob Cozens, Director
&lt;br&gt;&amp;gt;Resighini Rancheria Environmental Protection Authority
&lt;br&gt;&amp;gt;Klamath, California
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;******************************************
&lt;br&gt;&lt;br&gt;Paolo Mazza
&lt;br&gt;NEOL SRL
&lt;br&gt;Società partecipata da Università di Padova
&lt;br&gt;via N. Tommaseo 84
&lt;br&gt;35131 - Padova (Italy)
&lt;br&gt;Tel 049- 2050147 - Fax 049-7964386
&lt;br&gt;www.neol.it
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216580&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Print-stack-as-PDF-tp19163309p19216580.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19216451</id>
	<title>Re: XML Question</title>
	<published>2008-08-29T02:14:05Z</published>
	<updated>2008-08-29T02:14:05Z</updated>
	<author>
		<name>Andre Garzia-3</name>
	</author>
	<content type="html">David,
&lt;br&gt;&lt;br&gt;Not only Kens XML Lib can handle those, but it also comes with RSS routines :-D
&lt;br&gt;&lt;br&gt;stsXMLLib is slower than revXML, but it can handle namespaces and
&lt;br&gt;unicoded content, so I think it's a good option for parsing ATOM
&lt;br&gt;Feeds.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;andre
&lt;br&gt;PS: who is secretly working on some atom routines too
&lt;br&gt;&lt;br&gt;On Fri, Aug 29, 2008 at 6:10 AM, David Bovill &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216451&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; OK. I have not yet had to pay much attention to these XML DTD / name space
&lt;br&gt;&amp;gt; issues - so help me out on this. AFAIK the name space is defined in the
&lt;br&gt;&amp;gt; header of the XML, i this case the standard Atom header:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;rss version=&amp;quot;2.0&amp;quot; xmlns:atom=&amp;quot;&lt;a href=&quot;http://www.w3.org/2005/Atom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/Atom&lt;/a&gt;&amp;quot; xmlns:content=&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://purl.org/rss/1.0/modules/content/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://purl.org/rss/1.0/modules/content/&lt;/a&gt;&amp;quot; xmlns:wfw=&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://wellformedweb.org/CommentAPI/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wellformedweb.org/CommentAPI/&lt;/a&gt;&amp;quot; xmlns:rdf=&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&lt;/a&gt;&amp;quot; xmlns:dc=&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://purl.org/dc/elements/1.1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://purl.org/dc/elements/1.1/&lt;/a&gt;&amp;quot; xmlns:cc=&amp;quot;&lt;a href=&quot;http://web.resource.org/cc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://web.resource.org/cc/&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So my guess is that this would work in Rev if i tell the external how to
&lt;br&gt;&amp;gt; interpret the name spaces by pointin it to the DTD. however changeing the
&lt;br&gt;&amp;gt; revXmlcreateTree function to be strict and not ignore badly formed XML makes
&lt;br&gt;&amp;gt; no odds - and there does not sseem to be a way of hooking the external up to
&lt;br&gt;&amp;gt; the external DTDs other than a simple check.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2008/8/29 Malte Brill &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216451&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;revolution@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; While this is inconvenient behaviour, it might be argued that it is
&lt;br&gt;&amp;gt;&amp;gt; correct, or at least standard compliant. ;-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is a standard Atom feed - the XML name spaces are defined in the
&lt;br&gt;&amp;gt; headers with valid DTDs - or am I missing something?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; There are XML libraries for other environments, that handle the 1st case
&lt;br&gt;&amp;gt;&amp;gt; exactly the way rev does, others do not lose the namespace. As far as I can
&lt;br&gt;&amp;gt;&amp;gt; tell version 2 is W3C compliant while version 1 is not. A bug in Revs
&lt;br&gt;&amp;gt;&amp;gt; external? Not sure about that but eager to hear other opinions.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am not really able to comment on this knowledgeably. I'd be pretty
&lt;br&gt;&amp;gt; confident it is all standards compliant - but that is relying on the source
&lt;br&gt;&amp;gt; and my scattered reading around XML DTDs. From a user point of view - you
&lt;br&gt;&amp;gt; want to make it as easy as possible to parse the most common XML feeds out
&lt;br&gt;&amp;gt; here. It looks bad if it breaks with Atom feeds, and bad = bug in my
&lt;br&gt;&amp;gt; language.
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; use-revolution mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216451&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://www.andregarzia.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.andregarzia.com&lt;/a&gt;&amp;nbsp;All We Do Is Code.
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216451&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19216451.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19216407</id>
	<title>Re: XML Question</title>
	<published>2008-08-29T02:10:20Z</published>
	<updated>2008-08-29T02:10:20Z</updated>
	<author>
		<name>david bovill</name>
	</author>
	<content type="html">OK. I have not yet had to pay much attention to these XML DTD / name space
&lt;br&gt;issues - so help me out on this. AFAIK the name space is defined in the
&lt;br&gt;header of the XML, i this case the standard Atom header:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;rss version=&amp;quot;2.0&amp;quot; xmlns:atom=&amp;quot;&lt;a href=&quot;http://www.w3.org/2005/Atom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/Atom&lt;/a&gt;&amp;quot; xmlns:content=&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://purl.org/rss/1.0/modules/content/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://purl.org/rss/1.0/modules/content/&lt;/a&gt;&amp;quot; xmlns:wfw=&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://wellformedweb.org/CommentAPI/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wellformedweb.org/CommentAPI/&lt;/a&gt;&amp;quot; xmlns:rdf=&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&lt;/a&gt;&amp;quot; xmlns:dc=&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://purl.org/dc/elements/1.1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://purl.org/dc/elements/1.1/&lt;/a&gt;&amp;quot; xmlns:cc=&amp;quot;&lt;a href=&quot;http://web.resource.org/cc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://web.resource.org/cc/&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;So my guess is that this would work in Rev if i tell the external how to
&lt;br&gt;interpret the name spaces by pointin it to the DTD. however changeing the
&lt;br&gt;revXmlcreateTree function to be strict and not ignore badly formed XML makes
&lt;br&gt;no odds - and there does not sseem to be a way of hooking the external up to
&lt;br&gt;the external DTDs other than a simple check.
&lt;br&gt;&lt;br&gt;2008/8/29 Malte Brill &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216407&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;revolution@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; While this is inconvenient behaviour, it might be argued that it is
&lt;br&gt;&amp;gt; correct, or at least standard compliant. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;This is a standard Atom feed - the XML name spaces are defined in the
&lt;br&gt;headers with valid DTDs - or am I missing something?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; There are XML libraries for other environments, that handle the 1st case
&lt;br&gt;&amp;gt; exactly the way rev does, others do not lose the namespace. As far as I can
&lt;br&gt;&amp;gt; tell version 2 is W3C compliant while version 1 is not. A bug in Revs
&lt;br&gt;&amp;gt; external? Not sure about that but eager to hear other opinions.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am not really able to comment on this knowledgeably. I'd be pretty
&lt;br&gt;confident it is all standards compliant - but that is relying on the source
&lt;br&gt;and my scattered reading around XML DTDs. From a user point of view - you
&lt;br&gt;want to make it as easy as possible to parse the most common XML feeds out
&lt;br&gt;here. It looks bad if it breaks with Atom feeds, and bad = bug in my
&lt;br&gt;language.
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216407&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19216407.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19216219</id>
	<title>One step closer to closures, or, how I captured variables by clever use of context switches.</title>
	<published>2008-08-29T01:55:26Z</published>
	<updated>2008-08-29T01:55:26Z</updated>
	<author>
		<name>Andre Garzia-3</name>
	</author>
	<content type="html">Folks,
&lt;br&gt;&lt;br&gt;This is the kind of post you get when I keep code until 5:15 AM. Today
&lt;br&gt;I've set a goal to produce a library that would allow me to create
&lt;br&gt;persistent variables, by persistent variables I mean that when the
&lt;br&gt;program finishes it somehow saves the variable contents and when it
&lt;br&gt;loads, it inserts the content back. I know about custom properties,
&lt;br&gt;SQL Databases, stack files, that's how we usually solve this kind of
&lt;br&gt;issue, but I'd decided to try something different and work with actual
&lt;br&gt;variables.
&lt;br&gt;&lt;br&gt;To solve this problem, I've decomposed the task into two big
&lt;br&gt;components, the saver and the loader. The loader is the piece of code
&lt;br&gt;that picks the value and inserts back into the variable, this is
&lt;br&gt;trivial, you just read the value from somewhere and insert it back,
&lt;br&gt;the tricky thing is the saver.
&lt;br&gt;&lt;br&gt;Picking values from global variables is easy, you just declare a
&lt;br&gt;global and grab the value. Script local variables are easy to access
&lt;br&gt;when you're in the same script. Temporary variables, well, those are
&lt;br&gt;tricky to grab when you're not in the same handler as them. So the big
&lt;br&gt;task is, how to we access variables that were defined and used in a
&lt;br&gt;different context? For those new to transcript let me put a simple
&lt;br&gt;example below:
&lt;br&gt;&lt;br&gt;on firstHandler
&lt;br&gt;&amp;nbsp; local temp
&lt;br&gt;&amp;nbsp; put &amp;quot;I am a happy variable&amp;quot; into temp
&lt;br&gt;end firstHandler
&lt;br&gt;&lt;br&gt;No code outside &amp;quot;firstHandler&amp;quot; can query the value of the temp
&lt;br&gt;variable, it is defined in the context of that handler. Now, imagine
&lt;br&gt;that you have the following piece:
&lt;br&gt;&lt;br&gt;on firstHandler
&lt;br&gt;&amp;nbsp; local temp
&lt;br&gt;&amp;nbsp; put &amp;quot;I am a happy variable&amp;quot; into temp
&lt;br&gt;&amp;nbsp; newPersistentVariable &amp;quot;temp&amp;quot;
&lt;br&gt;&amp;nbsp; put &amp;quot;I've just changed the value of temp.&amp;quot; into temp
&lt;br&gt;&amp;nbsp; secondHandler
&lt;br&gt;end firstHandler
&lt;br&gt;&lt;br&gt;on secondHandler
&lt;br&gt;&amp;nbsp; put captureVariable(&amp;quot;temp&amp;quot;)
&lt;br&gt;end secondHandler
&lt;br&gt;&lt;br&gt;And when secondHandler runs, it outputs &amp;quot;I've just changed the value
&lt;br&gt;of temp.&amp;quot;. If you look carefully at the code above, you'll see that
&lt;br&gt;this is not an easy task. We have a strange handler called
&lt;br&gt;newPersistentVariable which we don't know what it is and on the
&lt;br&gt;secondHandler we have a function that is supposed to return the value
&lt;br&gt;from a variable on the other handler.
&lt;br&gt;&lt;br&gt;Now, even without the details about those two functions, you can see
&lt;br&gt;that we're redefining the content of the temp variable after calling
&lt;br&gt;newPersistentVariable, so in a magic way, captureVariable function is
&lt;br&gt;returning the last value of temp .
&lt;br&gt;&lt;br&gt;How does it works? It works by capturing the context and switching to
&lt;br&gt;it when needed. When newPersistentVariable is called it receives a
&lt;br&gt;param which is the variable name that you want to keep track (not it's
&lt;br&gt;value). newPersistentVariable then checks the executioncontexts and
&lt;br&gt;save it for later reference. When we call captureVariable() &amp;nbsp;we pass
&lt;br&gt;it a variable name, it then checks to see in which context that
&lt;br&gt;variable was defined, it switch there and with a little hack, picks
&lt;br&gt;the value from there.
&lt;br&gt;&lt;br&gt;The code for both functions is:
&lt;br&gt;&lt;br&gt;local lPersistentVariablesA
&lt;br&gt;global gVar
&lt;br&gt;&lt;br&gt;function captureVariable pVariable
&lt;br&gt;&amp;nbsp; &amp;nbsp; put lPersistentVariablesA[pVariable] into tContextsRaw
&lt;br&gt;&amp;nbsp; &amp;nbsp; put 0 into tNum
&lt;br&gt;&amp;nbsp; &amp;nbsp; repeat for each line tLine in tContextsRaw
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add 1 to tNum
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put return &amp; tNum &amp; comma &amp; tLine after tBuf
&lt;br&gt;&amp;nbsp; &amp;nbsp; end repeat
&lt;br&gt;&amp;nbsp; &amp;nbsp; delete char 1 of tBuf
&lt;br&gt;&amp;nbsp; &amp;nbsp; set the cREVScriptDebugMode of stack &amp;quot;revPreferences&amp;quot; to true
&lt;br&gt;&amp;nbsp; &amp;nbsp; set the debugcontext to (item 1 of line -2 of tBuf)
&lt;br&gt;&amp;nbsp; &amp;nbsp; put format(&amp;quot;global gVar; put %s into gVar&amp;quot;, pVariable) into tCmd
&lt;br&gt;&amp;nbsp; &amp;nbsp; debugdo tCmd
&lt;br&gt;&amp;nbsp; &amp;nbsp; set the debugcontext to empty
&lt;br&gt;&amp;nbsp; &amp;nbsp; set the cREVScriptDebugMode of stack &amp;quot;revPreferences&amp;quot; to false
&lt;br&gt;&amp;nbsp; &amp;nbsp; return gVar
&lt;br&gt;end captureVariable
&lt;br&gt;&lt;br&gt;on newPersistentVariable pVariable
&lt;br&gt;&amp;nbsp; &amp;nbsp; put the executioncontexts into lPersistentVariablesA[pVariable]
&lt;br&gt;end newPersistentVariable
&lt;br&gt;&lt;br&gt;Now, why this is useful? Well, as you can see from the code, we have
&lt;br&gt;an array called lPersistentVariablesA, we could simply loop the keys
&lt;br&gt;of that array and capture and save all variables on shutdownRequest.
&lt;br&gt;We could modify the newPersistentVariable to check for the saved
&lt;br&gt;content and insert it back.
&lt;br&gt;&lt;br&gt;Whats wrong with my current code? (A-Ha!) Right now, if you nest to
&lt;br&gt;many handlers, the context switch fails somehow... it's hard to debug
&lt;br&gt;this. I think that as Rev exits the handlers it drops the contexts
&lt;br&gt;(can we call that backtracking?). So if we go from firstHandler into
&lt;br&gt;secondHandler into thirdHandler, then in the thirdHandler we can
&lt;br&gt;capture variables from them all, but if we go from firstHandler into
&lt;br&gt;secondHandler out of secondHandler and into thirdHandler, then
&lt;br&gt;anything from secondHandler is lost.
&lt;br&gt;&lt;br&gt;Anyway, it still a nice hack and it still useful. I've developed this
&lt;br&gt;to use with CGI programming, and in CGIs most things happen in the
&lt;br&gt;startup script or very near it, so I can still use these routines to
&lt;br&gt;pick variables from contexts that I know are still alive.
&lt;br&gt;&lt;br&gt;How to solve this? Well, I don't know, I just wanted to play and try
&lt;br&gt;to build myself something that would allow me to freeze the execution
&lt;br&gt;contexts in time so that I could re-use them later (still trying to
&lt;br&gt;create state out of the stateless nature of cgis, order from
&lt;br&gt;chaos...).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Andre
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://www.andregarzia.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.andregarzia.com&lt;/a&gt;&amp;nbsp;All We Do Is Code.
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216219&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/One-step-closer-to-closures%2C-or%2C-how-I-captured-variables-by-clever-use-of-context-switches.-tp19216219p19216219.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19216164</id>
	<title>Re: XML Question</title>
	<published>2008-08-29T01:52:15Z</published>
	<updated>2008-08-29T01:52:15Z</updated>
	<author>
		<name>david bovill</name>
	</author>
	<content type="html">2008/8/29 Terry Judd &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216164&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tsj@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Depending on how complex the xml is you may be better off writing your own
&lt;br&gt;&amp;gt; parser from scratch, bypassing the revXML routines altogether.
&lt;br&gt;&lt;br&gt;&lt;br&gt;That's what I have been doing - but this is surely a hack. With things like
&lt;br&gt;atom feeds, we should have simple generic standardized libraries. Personally
&lt;br&gt;I am a little tired of writing custom little parsers for every feed out
&lt;br&gt;there - isn't there a better way? Half my stuff is using revXML, and half
&lt;br&gt;replace / filter combinations. Most languages have standardised libraries
&lt;br&gt;for this sort of thing? Or no?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; xmlparser is great there a lots of times when I don't use it to extract
&lt;br&gt;&amp;gt; data
&lt;br&gt;&amp;gt; from xml files/data, particularly if I don't need to write stuff back into
&lt;br&gt;&amp;gt; that xml.
&lt;br&gt;&lt;br&gt;&lt;br&gt;My hope is that the new array structure will allow some generic way to deal
&lt;br&gt;with hierarchical structures - whether these are outlines, xml, json, or
&lt;br&gt;whatever. That still wouldn't deal with getting the data in - as there are
&lt;br&gt;inconsistent implementations.
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19216164&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19216164.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19214468</id>
	<title>Re: mySQL question + rev drivers</title>
	<published>2008-08-28T23:35:00Z</published>
	<updated>2008-08-28T23:35:00Z</updated>
	<author>
		<name>Mark Schonewille-3</name>
	</author>
	<content type="html">Jim,
&lt;br&gt;&lt;br&gt;For old downloads, write to support. They took away all the files from &amp;nbsp;
&lt;br&gt;their FTP account, otherwise I would have referred you to that.
&lt;br&gt;&lt;br&gt;What's Eev? Do yo mean Rev? the latest version of Revolution is 2.9 of &amp;nbsp;
&lt;br&gt;course. You should be able to use this engine as CGI engine.
&lt;br&gt;&lt;br&gt;What else do you need to know?
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Mark Schonewille
&lt;br&gt;&lt;br&gt;Economy-x-Talk Consulting and Software Engineering
&lt;br&gt;&lt;a href=&quot;http://economy-x-talk.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://economy-x-talk.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.salery.biz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.salery.biz&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://facebook.economy-x-talk.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://facebook.economy-x-talk.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;Benefit from our inexpensive hosting services. See &lt;a href=&quot;http://economy-x-talk.com/server.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://economy-x-talk.com/server.html&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; for more info.
&lt;br&gt;&lt;br&gt;On 29 aug 2008, at 07:13, Jim Ault wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am using Rev 2.6.1 to develop some cgi stacks.. because
&lt;br&gt;&amp;gt; I want to test the environment of scripts, stack and libraries on &amp;nbsp;
&lt;br&gt;&amp;gt; Mac OSX
&lt;br&gt;&amp;gt; web server.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; a) my current web host does not work for Rev 2.6.1, 2.7.2, 2.9
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; b) the lastest Eev for OSX seems to be 2.1.2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; c) &amp;nbsp;using 2.6.1 saves in legacy format
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I plan to move to DreamHost when my client is satisfied with the &amp;nbsp;
&lt;br&gt;&amp;gt; deveilpment
&lt;br&gt;&amp;gt; betas, so mySql will be the database available.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I will be using the MAMP install of Apache, Mysql, Php on OSX for &amp;nbsp;
&lt;br&gt;&amp;gt; testing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Checking the archives and such did not give a clear picture, nor do &amp;nbsp;
&lt;br&gt;&amp;gt; I know
&lt;br&gt;&amp;gt; where to download the drivers for older versions of Rev.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any help would be appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PS &amp;nbsp;My goal is to get onto DreamHost, run in 2.9 Rev with MySql.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for any help or pointers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Jim Ault
&lt;br&gt;&amp;gt; Las Vegas
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19214468&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19214468.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19214253</id>
	<title>Re: a regular expression question, or at least a text manipulation question</title>
	<published>2008-08-28T23:14:47Z</published>
	<updated>2008-08-28T23:14:47Z</updated>
	<author>
		<name>Peter Alcibiades</name>
	</author>
	<content type="html">Thanks a million everyone! &amp;nbsp;I'd never have found this stuff out without some pointers, and these are exactly what I needed.&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/a-regular-expression-question%2C-or-at-least-a-text-manipulation-question-tp19189206p19214253.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19213783</id>
	<title>mySQL question + rev drivers</title>
	<published>2008-08-28T22:13:34Z</published>
	<updated>2008-08-28T22:13:34Z</updated>
	<author>
		<name>Jim Ault</name>
	</author>
	<content type="html">I am using Rev 2.6.1 to develop some cgi stacks.. because
&lt;br&gt;I want to test the environment of scripts, stack and libraries on Mac OSX
&lt;br&gt;web server.
&lt;br&gt;&lt;br&gt;&amp;nbsp;a) my current web host does not work for Rev 2.6.1, 2.7.2, 2.9
&lt;br&gt;&lt;br&gt;&amp;nbsp;b) the lastest Eev for OSX seems to be 2.1.2
&lt;br&gt;&lt;br&gt;&amp;nbsp;c) &amp;nbsp;using 2.6.1 saves in legacy format
&lt;br&gt;&lt;br&gt;I plan to move to DreamHost when my client is satisfied with the deveilpment
&lt;br&gt;betas, so mySql will be the database available.
&lt;br&gt;&lt;br&gt;I will be using the MAMP install of Apache, Mysql, Php on OSX for testing.
&lt;br&gt;&lt;br&gt;Checking the archives and such did not give a clear picture, nor do I know
&lt;br&gt;where to download the drivers for older versions of Rev.
&lt;br&gt;&lt;br&gt;Any help would be appreciated.
&lt;br&gt;&lt;br&gt;PS &amp;nbsp;My goal is to get onto DreamHost, run in 2.9 Rev with MySql.
&lt;br&gt;&lt;br&gt;Thanks for any help or pointers.
&lt;br&gt;&lt;br&gt;Jim Ault
&lt;br&gt;Las Vegas
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19213783&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19213783.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19212833</id>
	<title>Re: XML Question</title>
	<published>2008-08-28T19:50:08Z</published>
	<updated>2008-08-28T19:50:08Z</updated>
	<author>
		<name>Jim Ault</name>
	</author>
	<content type="html">Just as we define local and global variables, xml what are called
&lt;br&gt;'namespace' tags. &amp;nbsp;Most sophisticated servers (like Goggle Reader) use
&lt;br&gt;these. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I just build a small parser for a particular RSS feed where the data between
&lt;br&gt;each tag is urlEncoded. &amp;nbsp;Since I am only interested in the &amp;lt;entry&amp;gt; tag data,
&lt;br&gt;I only have to deal with a gs: namespace tag, and I delete it since my data
&lt;br&gt;set does not need this.
&lt;br&gt;&lt;br&gt;Since data is stored in various ways in xml, I don't want to depend on a
&lt;br&gt;library being updated in order to do correct parsing for my needs.
&lt;br&gt;&lt;br&gt;I agree with Terry.. it is easier to roll your own in Transcript, but be
&lt;br&gt;sure to include good notes.
&lt;br&gt;&lt;br&gt;Jim Ault 
&lt;br&gt;Las Vegas
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 8/28/08 5:50 PM, &amp;quot;David Bovill&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212833&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks Terry - so it's a known issue? I think I'll ignore those tags for now
&lt;br&gt;&amp;gt; in the hope that it get fixed.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2008/8/29 Terry Judd &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212833&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tsj@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; David,
&lt;br&gt;&amp;gt;&amp;gt; You could replace them before you load the xml (maybe with an underscore)
&lt;br&gt;&amp;gt;&amp;gt; or
&lt;br&gt;&amp;gt;&amp;gt; perhaps try Ken Ray's (excellent) 'transcript'-based XML library, which I'm
&lt;br&gt;&amp;gt;&amp;gt; pretty sure can deal with these types of entities.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.sonsothunder.com/products/xmllib/xmllib.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sonsothunder.com/products/xmllib/xmllib.htm&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; HTH,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Terry..
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; use-revolution mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212833&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Please visit this url to subscribe, unsubscribe and manage your subscription
&lt;br&gt;&amp;gt; preferences:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212833&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19212833.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19212563</id>
	<title>Re: Re: [OT] Copyright infringement, sometimes a good way to do guerilla marketing :o)</title>
	<published>2008-08-28T19:10:39Z</published>
	<updated>2008-08-28T19:10:39Z</updated>
	<author>
		<name>Malte Brill</name>
	</author>
	<content type="html">Thanks for the hint about htaccess. Right now his traffic is not going &amp;nbsp;
&lt;br&gt;to drive me out of business, so I leave the image on for the fun of &amp;nbsp;
&lt;br&gt;it. If there is more to tell, I will post it on my blog &lt;a href=&quot;http://theindustryandme.blogspot.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://theindustryandme.blogspot.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Malte
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212563&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-OT--Copyright-infringement%2C-sometimes-a-good-way-to-do-guerilla-marketing-%3Ao%29-tp19177312p19212563.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19212489</id>
	<title>Re: XML Question</title>
	<published>2008-08-28T19:00:21Z</published>
	<updated>2008-08-28T19:00:21Z</updated>
	<author>
		<name>Malte Brill</name>
	</author>
	<content type="html">While this is inconvenient behaviour, it might be argued that it is &amp;nbsp;
&lt;br&gt;correct, or at least standard compliant. ;-)
&lt;br&gt;So before the behaviour is changed I would like this discussed. I &amp;nbsp;
&lt;br&gt;think the reason why you seem to lose the tag is that the namespace is &amp;nbsp;
&lt;br&gt;not defined.
&lt;br&gt;The tag is not lost, but loses the undefined namespace identifier &amp;nbsp;
&lt;br&gt;though.
&lt;br&gt;&lt;br&gt;If you parse XML like this:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;feed xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/2005/Atom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/Atom&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;wfw:commentRss&amp;gt;Just a comment&amp;lt;/wfw:commentRss&amp;gt;
&lt;br&gt;&amp;lt;/feed&amp;gt;
&lt;br&gt;&lt;br&gt;You end up with this XMLText:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;feed xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/2005/Atom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/Atom&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;commentRss&amp;gt;Just a comment&amp;lt;/commentRss&amp;gt;
&lt;br&gt;&amp;lt;/feed&amp;gt;
&lt;br&gt;&lt;br&gt;You could now still access the tags by looping over all children and &amp;nbsp;
&lt;br&gt;siblings recursively.
&lt;br&gt;&lt;br&gt;&lt;br&gt;However, parsing a valid XML file like this:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;f:table xmlns:f=&amp;quot;&lt;a href=&quot;http://www.w3schools.com/furniture&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3schools.com/furniture&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;f:name&amp;gt;African Coffee Table&amp;lt;/f:name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;f:width&amp;gt;80&amp;lt;/f:width&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;f:length&amp;gt;120&amp;lt;/f:length&amp;gt;
&lt;br&gt;&amp;lt;/f:table&amp;gt;
&lt;br&gt;&lt;br&gt;ends up with this XMLText:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;f:table xmlns:f=&amp;quot;&lt;a href=&quot;http://www.w3schools.com/furniture&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3schools.com/furniture&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;f:name&amp;gt;African Coffee Table&amp;lt;/f:name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;f:width&amp;gt;80&amp;lt;/f:width&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;f:length&amp;gt;120&amp;lt;/f:length&amp;gt;
&lt;br&gt;&amp;lt;/f:table&amp;gt;
&lt;br&gt;&lt;br&gt;This would allow accessing the tags including the namespaces.
&lt;br&gt;&lt;br&gt;There are XML libraries for other environments, that handle the 1st &amp;nbsp;
&lt;br&gt;case exactly the way rev does, others do not lose the namespace. As &amp;nbsp;
&lt;br&gt;far as I can tell version 2 is W3C compliant while version 1 is not. A &amp;nbsp;
&lt;br&gt;bug in Revs external? Not sure about that but eager to hear other &amp;nbsp;
&lt;br&gt;opinions.
&lt;br&gt;&lt;br&gt;All the best,
&lt;br&gt;&lt;br&gt;Malte
&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212489&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19212489.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19212095</id>
	<title>Re: XML Question</title>
	<published>2008-08-28T18:08:49Z</published>
	<updated>2008-08-28T18:08:49Z</updated>
	<author>
		<name>Terry Judd</name>
	</author>
	<content type="html">I wouldn't hold my breath ;)
&lt;br&gt;&lt;br&gt;Depending on how complex the xml is you may be better off writing your own
&lt;br&gt;parser from scratch, bypassing the revXML routines altogether. While the
&lt;br&gt;xmlparser is great there a lots of times when I don't use it to extract data
&lt;br&gt;from xml files/data, particularly if I don't need to write stuff back into
&lt;br&gt;that xml. You'd be surprised how quickly you can whip your data into shape
&lt;br&gt;with a few targetted replace and lineoffset routines.
&lt;br&gt;&lt;br&gt;Terry...
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 29/8/08 10:50 AM, &amp;quot;David Bovill&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212095&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks Terry - so it's a known issue? I think I'll ignore those tags for now
&lt;br&gt;&amp;gt; in the hope that it get fixed.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2008/8/29 Terry Judd &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212095&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tsj@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; David,
&lt;br&gt;&amp;gt;&amp;gt; You could replace them before you load the xml (maybe with an underscore)
&lt;br&gt;&amp;gt;&amp;gt; or
&lt;br&gt;&amp;gt;&amp;gt; perhaps try Ken Ray's (excellent) 'transcript'-based XML library, which I'm
&lt;br&gt;&amp;gt;&amp;gt; pretty sure can deal with these types of entities.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.sonsothunder.com/products/xmllib/xmllib.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sonsothunder.com/products/xmllib/xmllib.htm&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; HTH,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Terry..
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; use-revolution mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212095&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Please visit this url to subscribe, unsubscribe and manage your subscription
&lt;br&gt;&amp;gt; preferences:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Dr Terry Judd
&lt;br&gt;Lecturer in Educational Technology (Design)
&lt;br&gt;Biomedical Multimedia Unit
&lt;br&gt;Faculty of Medicine, Dentistry &amp; Health Sciences
&lt;br&gt;The University of Melbourne
&lt;br&gt;Parkville VIC 3052
&lt;br&gt;AUSTRALIA
&lt;br&gt;&lt;br&gt;61-3 8344 0187
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;use-revolution mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212095&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;use-revolution@...&lt;/a&gt;
&lt;br&gt;Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
&lt;br&gt;&lt;a href=&quot;http://lists.runrev.com/mailman/listinfo/use-revolution&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.runrev.com/mailman/listinfo/use-revolution&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Revolution---User-f2297.html&quot; embed=&quot;fixTarget[2297]&quot; target=&quot;_top&quot; &gt;Revolution - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XML-Question-tp19211805p19212095.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19211948</id>
	<title>Re: XML Question</title>
	<published>2008-08-28T17:50:46Z</published>
	<updated>2008-08-28T17:50:46Z</updated>
	<author>
		<name>david bovill</name>
	</author>
	<content type="html">Thanks Terry - so it's a known issue? I think I'll ignore those tags for now
&lt;br&gt;in the hope that it get fixed.
&lt;br&gt;&lt;br&gt;2008/8/29 Terry Judd &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19211948&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tsj@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; David,
&lt;br&gt;&amp;gt; You could replace them before you load the xml (maybe with an underscore)
&lt;br&gt;&amp;gt; or
&lt;br&gt;&amp;gt; perhaps try Ken Ray's (excellent) 'transcript'-based XML library, which I'm
&lt;br&gt;&amp;gt; pretty sure can deal with these types of entities.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.sonsothunder.com/products/xmllib/xmllib.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sonsothunder.com/products/xm