RE: Somebody knows if is there any render or plugin to use

<[email protected]>
Newsgroups gmane.comp.lang.xul.general
Organization Netspedition Inc.
Message-ID <[email protected]>
Leo,

Zulu is a XUL engine that runs on any Flash-enabled browser.
It supports only a few XUL tags at the moment, though.
Have a look at http://zulu.netspedition.com

Ovi



> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] 
> Sent: Friday, April 16, 2004 11:16 PM
> To: [email protected]
> Subject: xul-talk digest, Vol 1 #85 - 6 msgs
> 
> Send xul-talk mailing list submissions to
> 	[email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/xul-talk
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
> 
> You can reach the person managing the list at
> 	[email protected]
> 
> When replying, please edit your Subject line so it is more 
> specific than "Re: Contents of xul-talk digest..."
> 
> 
> Today's Topics:
> 
>    1. newbies template question (P.vanKemenade)
>    2. Looking for a C++ parser for XUL & CSS (CPHennessy)
>    3. Somebody knows if is there any render or plugin to use 
> xul on internet explorer? (Leo)
>    4. Re: Looking for a C++ parser for XUL & CSS (Gerald Bauer)
>    5. Re: Somebody knows if is there any render or plugin to 
> use xul on internet explorer? (Gerald Bauer)
>    6. Alternative Lisp-Style Compact (Non-XML) Syntax (Gerald Bauer)
> 
> --__--__--
> 
> Message: 1
> To: [email protected]
> From: P.van Kemenade <[email protected]>
> Date: Tue, 13 Apr 2004 14:02:01 +0200
> Subject: [xul-talk] newbies template question
> Reply-To: [email protected]
> 
> Hi
> 
> I have this very plain RDF file for which I tried to write a 
> XUL template, I figured out several ways to do it but nothing 
> works. I'm left with a very complicated solution, and I feel 
> I'm doing something wrong ....
> could anyone hint me ?
> 
> The RDF is 1 single resource with a few plain properties.
> No RDF:Seq in this file, just 1 resource with props
> + I dont want to change the rdf format just for mozilla :-)
> <rdf:RDF  blah>
> 	<rss:item rdf:about="&rssbase;deaf/1996.rdf">
> 		<rss:title>DEAF 1996: Digital Territories</rss:title>
> 		<rss:description/>
> 		...
> 	</rss:item>
> </rdf:RDF>
> 
> ( i can read and parse the template with xul ok, there's one 
> full example here
> 	
> http://v2archive.v2.nl/~portal2004/rsstest/_rss/test/deaf/1996.rdf )
> 
> 
> The template should generate a textbox for each property
> that is found, but _not_ generate a textbox if a certain
> property is not found. I can (have to) hardcode all the
> optional properties in the xul, but that's ok.
> 
> One way to go would be to have the props as ?bindings and set the
> uri of each textbox to such a binding, but it doesnt work  (why?):
> <template>
> 	<rule>
> 		<conditions>
> 			<content uri="?item"/>
> 			<!-- dummy condition -->
> 			<triple subject="?item"  
> predicate="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"  
> object="?root"/>
> 		</conditions>
> 		<bindings>
> 			<binding subject="?item"  
> predicate="http://purl.org/rss/1.0/title"  
> object="?title"/>
> 			<binding subject="?item"  
> predicate="http://purl.org/rss/1.0/description" 
> object="?description"/>
> 			....
> 		</bindings>
> 		<action>
> 			 <textbox  uri="?title" value="?title" />
> 			 <textbox  uri="?description" 
> value="?description" />
> 		</action>
> 	</rule>
> </template>
> 
> Another way to go would be "multiple rules", but it doesnt 
> work (why?):
> 
> <template container="?item" member="?prop">
> 	<rule>
> 		<conditions>
> 			<content uri="?item"/>
> 			<triple subject="?item"  
> predicate="http://purl.org/rss/1.0/title" 
> object="?prop"/>
> 		</conditions>
> 		<action> <textbox  uri="?prop" value="?prop" /></action>
> 	</rule>
> 	<rule>
> 		<conditions>
> 			<content uri="?item"/>
> 			<triple subject="?item"  
> predicate="http://purl.org/rss/1.0/description" object="?prop"/>
> 		</conditions>
> 		<action> <textbox  uri="?prop" value="?prop" /></action>
> 	</rule>
> 	...
> </template>
> 
> The last way to go would be multiple templates (one for each 
> property), 
> that works, but
> it creates a whole bunch of datasources and builders to be 
> updated  all 
> the
> time, it's heavy and slow and generally ugly.
> 
> How would you guys do this ?
> 
> thanks,
> *pike
> 
> =============
> "Nada does nothing for everybody"
> http://www.bernardbelanger.com/computing/NaDa/
> 
> 
> 
> --__--__--
> 
> Message: 2
> To: [email protected]
> From: CPHennessy <[email protected]>
> Date: Wed, 14 Apr 2004 11:11:35 +0100
> Subject: [xul-talk] Looking for a C++ parser for XUL & CSS
> Reply-To: [email protected]
> 
> Hi,
>   I'm very interested in XUL and I am currently using it on 
> top of Mozilla.
> However for another personal project I'd like to use XUL & CSS as a
> description for the UI of OpenOffice.org. 
> OpenOffice.org is written in C++ and already has cross platform widget
> rendering, so what I then really need is a XUL & CSS parser and DOM
> generator from which I would like to use the OpenOffice.org 
> framework to
> render the DOM. I'd prefer that the parser and DOM generator 
> to be C++ if
> anyone knows of one.
> 
> If it was possible to structure Mozilla code into such it would be
> brilliant.
> 
> Thanks
> CPH
> 
> 
> 
> --__--__--
> 
> Message: 3
> To: [email protected]
> From: Leo <[email protected]>
> Date: Thu, 15 Apr 2004 11:29:42 +0000 (UTC)
> Subject: [xul-talk] Somebody knows if is there any render or 
> plugin to use xul on internet explorer?
> Reply-To: [email protected]
> 
> Does any one knows if is there any render to use xul on 
> internet explorer? 
> Plase, if somebody knows, tell me as son as possible. 
> Thanks.
> 
> 
> 
> --__--__--
> 
> Message: 4
> Date: Fri, 16 Apr 2004 00:19:14 -0700 (PDT)
> From: Gerald Bauer <[email protected]>
> Subject: Re: [xul-talk] Looking for a C++ parser for XUL & CSS
> To: [email protected]
> Reply-To: [email protected]
> 
> Hello CPHennessy,
> 
>   First some admin stuff: Please note that you can
> only post to xul-talk if you're a subscribed member.
> Unfortunately, I had to turn on the members-only
> mailinglist option because of constant spam attacks.
> If you post as a non-member your post ends up in the
> spam queue which I don't check daily as you can
> imagine but only about once a month if you're lucky.
> 
> > So what I then really need is a XUL & CSS
> > parser and DOM
> > generator from which I would like to use the
> > OpenOffice.org framework to
> > render the DOM. I'd prefer that the parser and DOM
> > generator to be C++ if
> > anyone knows of one.
> 
>   For a CSS parser in C++ you might wonna check out
> the XUL News Wire story titled "Open Source CSS
> Parsers in Java and C - Libcroco and Cypress" online @
> http://article.gmane.org/gmane.comp.lang.xul.announce/272
> 
>   Let us know if you find anything of use and what way
> you decide to go.
> 
>   - Gerald
> 
> PS: If you switch to C# you might consider MyXaml
> online @ http://myxaml.com
> 
> 
> --__--__--
> 
> Message: 5
> Date: Fri, 16 Apr 2004 00:25:59 -0700 (PDT)
> From: Gerald Bauer <[email protected]>
> Subject: Re: [xul-talk] Somebody knows if is there any render 
> or plugin to use xul on internet explorer?
> To: [email protected]
> Reply-To: [email protected]
> 
> Hello Leo,
> 
>   First some admin stuff: Please note that you can
> only post to xul-talk if you're a subscribed member.
> Unfortunately, I had to turn on the members-only
> mailinglist option because of constant spam attacks.
> If you post as a non-member your post ends up in the
> spam queue which I don't check daily as you can
> imagine but only about once a month if you're lucky.
> 
> > Does any one knows if is there any render to use xul
> > on internet explorer? 
> > Plase, if somebody knows, tell me as son as
> > possible. 
> 
>   Well, as far as I know there's an ActiveX plugin for
> the Mozilla Gecko XUL engine. 
> 
>   If you're looking for something lighter you might
> check out Ibex (formerly XWT) that is also available
> as a self-installing ActiveX plugin. Note, that also
> Ibex is coded in Java it doesn't require a Java
> runtime because it gets compiled down to machine code
> using the GNU Compiler for Java (gcj). See
> http://www.xwt.org for details.  
> 
>   Finally, you can use XUL motors in Java in "applet
> mode". I'm not sure if this is of any use. For some
> live samples check out the Bambookit online @
> http://www.bambookit.com
> 
>   - Gerald
> 
> 
> --__--__--
> 
> Message: 6
> Date: Fri, 16 Apr 2004 06:27:18 -0700 (PDT)
> From: Gerald Bauer <[email protected]>
> To: [email protected]
> Subject: [xul-talk] Alternative Lisp-Style Compact (Non-XML) Syntax
> Reply-To: [email protected]
> 
> Hello,
> 
>   allow me to repost Pete Kirkham's compact non-XML
> syntax comments and sample posted to xml-dev.
> 
>    Here we go:
> 
> [...]
> Would the 'lisp' form support macros? You can get some
> way towards having the code look like the gui if you
> do (see example below). It also would seem more
> natural to use keyword symbols rather than @foo for
> the lisp form.
> [...]
> 
>   --
> ;; example use of macros to build gui
> 
> ;; some reusable macros
> (defmacro cbxen (&rest labels) `(hbox ,(mapcar (lambda
> (label) `(checkbox :label ,label)) labels)))
> (defmacro gbx (id caption &rest contents) `(groupbox
> ,id (caption :label ,caption) ,@(macroexpand
> contents)))
> 
> (defmacro horizontally (&rest widgets) `(hbox
> ,@(macroexpand `(buildwidgets ,@widgets))))
> (defmacro vertically (&rest widgets) `(vbox
> ,@(macroexpand `(buildwidgets ,@widgets))))
> (defmacro buildwidgets (&rest widgets)
>   (mapcar (lambda (widget)
>             (cond ((stringp widget) `(label :value
> ,widget))
>                   (T (macroexpand widget))))
>           widgets))
> 
> ;; this expands to the example gui (modulo a nested
> hbox)
> (macroexpand
>  '(gbx bedView
>        "Ordering Your New Bed"
>        (horizontally "Name:" (textbox name )
> "Address:" (textbox address :cols 30 ))
> 
>        (horizontally "City:"  (textbox city ) "State:"
> (textbox state :cols 2 )
>                      "Zipcode:"  (textbox zip :cols 5
> ) "Customer Code:" (password code :cols 8 ))
> 
>        (horizontally "Type of wood:" (choice woodtype
> :list woodtype) "Size:"  (choice size :list size :type
> radio ))
>  
>        (horizontally "Extras:" (cbxen "Footband"
> "Drawers (for underneath)" "Casters" "Squeak proofing"
> ))
>  
>        (vertically
>         "Please share any suggestions or comments with
> us:"
>         (textarea comments :rows 3 :cols 65 ))
>  
>        (horizontally (button submit :label "Order Bed"
> ) (button reset :label "Start Over" ))))  
> 
> 
>    Any comments? 
> 
>   - Gerald
> 
> PS: Sorry if the formatting is a little messed up. 
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> xul-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xul-talk
> 
> 
> End of xul-talk Digest
> 
> 
> 




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.