Hi,
"e addRichEditorAspect: #contents for: document." Does not work. I still have a texterea. What am I missing ? Where is the code of TinyMCE in AIDA ? BTW, is there a RSS generator for Aida ? If not, how can I generate RSS ? Cheers, Nicolas -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma cl? GPG est disponible ici : http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D -------------- section suivante -------------- Une pi?ce jointe non texte a ?t? nettoy?e... Nom: non disponible Type: application/pgp-signature Taille: 189 octets Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071025/56f189d0/attachment.sig |
Nicolas,
You need to tell WebRichEditor where to find your javascript. I have a /jscripts/ directory at the same level as my /vw/ directory. My method looks like this: WebRichEditor >> ensureJavascriptForEditorInHeader | page url headerValue | page := self app. url := '/jscripts/tiny_mce/tiny_mce.js'. headerValue := ' src="', url, '" language="JavaScript" type="text/javascript"'. (page headers contains: [:each | each key = 'script' and: [each value = headerValue] ]) ifFalse: [page addHeader: 'script' value: headerValue. page addJavascript: self richEditorInitScript]. and then is called in my viewMain like this: element cell add: (self smallText: 'Text: ' attributes: #bold). element cell addRichEditorAspect: #body for: self newTopic size: 50 @ 20. (See my post of 12/9/07 where I submitted a zip file with code for a WebForum I have developed). I do not know about RSS and AIDA. Nicholas nicolas petton wrote: > Hi, > > "e addRichEditorAspect: #contents for: document." > Does not work. I still have a texterea. > > What am I missing ? Where is the code of TinyMCE in AIDA ? > > BTW, is there a RSS generator for Aida ? If not, how can I generate > RSS ? > > Cheers, > > Nicolas > > ------------------------------------------------------------------------ > > _______________________________________________ > Aida mailing list > Aida at aidaweb.si > http://lists.aidaweb.si/mailman/listinfo/aida > -- *Nicholas J Moore* +44 845 632 1966 +33 555 092 140 +33 682 904 357 *TSR International *Thought Leaders in Communication & Complexity www.TSR-i.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.aidaweb.si/pipermail/aida/attachments/20071025/3e68ee9f/attachment.htm |
Le jeudi 25 octobre 2007 ? 18:52 +0200, Nicholas Moore a ?crit : > Nicolas, > > You need to tell WebRichEditor where to find your javascript. I have > a /jscripts/ directory at the same level as my /vw/ directory. My > method looks like this: > > WebRichEditor >> ensureJavascriptForEditorInHeader > | page url headerValue | > page := self app. > url := '/jscripts/tiny_mce/tiny_mce.js'. > headerValue := ' src="', url, '" language="JavaScript" > type="text/javascript"'. > (page headers contains: [:each | each key = 'script' and: [each > value = headerValue] ]) ifFalse: > [page addHeader: 'script' value: headerValue. > page addJavascript: self richEditorInitScript]. > > and then is called in my viewMain like this: > > element cell add: (self smallText: 'Text: ' attributes: #bold). > element cell > addRichEditorAspect: #body > for: self newTopic > size: 50 @ 20. > > (See my post of 12/9/07 where I submitted a zip file with code for a > WebForum I have developed). Thank you Nicholas :) Where is your blog ? Nicolas > I do not know about RSS and AIDA. > > Nicholas > > nicolas petton wrote: > > Hi, > > > > "e addRichEditorAspect: #contents for: document." > > Does not work. I still have a texterea. > > > > What am I missing ? Where is the code of TinyMCE in AIDA ? > > > > BTW, is there a RSS generator for Aida ? If not, how can I generate > > RSS ? > > > > Cheers, > > > > Nicolas > > > > > > ____________________________________________________________________ > > > > _______________________________________________ > > Aida mailing list > > Aida at aidaweb.si > > http://lists.aidaweb.si/mailman/listinfo/aida > > > > -- > > > Nicholas J Moore > +44 845 632 1966 > +33 555 092 140 > +33 682 904 357 > TSR International > Thought Leaders in Communication & Complexity > www.TSR-i.com > > > > > _______________________________________________ > Aida mailing list > Aida at aidaweb.si > http://lists.aidaweb.si/mailman/listinfo/aida Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma cl? GPG est disponible ici : http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D -------------- section suivante -------------- Une pi?ce jointe non texte a ?t? nettoy?e... Nom: non disponible Type: application/pgp-signature Taille: 189 octets Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071025/acf65814/attachment.sig |
Le jeudi 25 octobre 2007 ? 19:02 +0200, nicolas petton a ?crit : > Le jeudi 25 octobre 2007 ? 18:52 +0200, Nicholas Moore a ?crit : > > Nicolas, > > > > You need to tell WebRichEditor where to find your javascript. I have > > a /jscripts/ directory at the same level as my /vw/ directory. My > > method looks like this: > > > > WebRichEditor >> ensureJavascriptForEditorInHeader > > | page url headerValue | > > page := self app. > > url := '/jscripts/tiny_mce/tiny_mce.js'. > > headerValue := ' src="', url, '" language="JavaScript" > > type="text/javascript"'. > > (page headers contains: [:each | each key = 'script' and: [each > > value = headerValue] ]) ifFalse: > > [page addHeader: 'script' value: headerValue. > > page addJavascript: self richEditorInitScript]. > > > > and then is called in my viewMain like this: > > > > element cell add: (self smallText: 'Text: ' attributes: #bold). > > element cell > > addRichEditorAspect: #body > > for: self newTopic > > size: 50 @ 20. > > > > (See my post of 12/9/07 where I submitted a zip file with code for a > > WebForum I have developed). > > Thank you Nicholas :) > Where is your blog ? Nicolas > > Nicolas > > I do not know about RSS and AIDA. > > > > Nicholas > > > > nicolas petton wrote: > > > Hi, > > > > > > "e addRichEditorAspect: #contents for: document." > > > Does not work. I still have a texterea. > > > > > > What am I missing ? Where is the code of TinyMCE in AIDA ? > > > > > > BTW, is there a RSS generator for Aida ? If not, how can I generate > > > RSS ? > > > > > > Cheers, > > > > > > Nicolas > > > > > > > > > ____________________________________________________________________ > > > > > > _______________________________________________ > > > Aida mailing list > > > Aida at aidaweb.si > > > http://lists.aidaweb.si/mailman/listinfo/aida > > > > > > > -- > > > > > > Nicholas J Moore > > +44 845 632 1966 > > +33 555 092 140 > > +33 682 904 357 > > TSR International > > Thought Leaders in Communication & Complexity > > www.TSR-i.com > > > > > > > > > > _______________________________________________ > > Aida mailing list > > Aida at aidaweb.si > > http://lists.aidaweb.si/mailman/listinfo/aida Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma cl? GPG est disponible ici : http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D -------------- section suivante -------------- Une pi?ce jointe non texte a ?t? nettoy?e... Nom: non disponible Type: application/pgp-signature Taille: 189 octets Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071025/b83966d6/attachment.sig |
In reply to this post by Nicolas Petton
Hi Nicolas,
nicolas petton a ?crit : > "e addRichEditorAspect: #contents for: document." > Does not work. I still have a texterea. > You need to install TinyMCE first, because it is not part of Aida in methods like other components as Date picker. Follow instructions from http://www.aidaweb.si/tinymce.html. > What am I missing ? Where is the code of TinyMCE in AIDA ? > > BTW, is there a RSS generator for Aida ? If not, how can I generate > RSS ? > Aida does not have RSS support but it would be fine to integrate some already written one, possibly in a portable way. Any ideas how to do that? Cheers from Madrid! Janko |
Le vendredi 26 octobre 2007 ? 10:52 +0200, Janko Miv?ek a ?crit : > Hi Nicolas, > > nicolas petton a ?crit : > > > "e addRichEditorAspect: #contents for: document." > > Does not work. I still have a texterea. > > > You need to install TinyMCE first, because it is not part of Aida in > methods like other components as Date picker. Follow instructions from > http://www.aidaweb.si/tinymce.html. Thank you Janko, it works :-). > > What am I missing ? Where is the code of TinyMCE in AIDA ? > > > > BTW, is there a RSS generator for Aida ? If not, how can I generate > > RSS ? > > > Aida does not have RSS support but it would be fine to integrate some > already written one, possibly in a portable way. Would it be difficult to create one from scratch ? > Any ideas how to do that? > > Cheers from Madrid! > Janko > _______________________________________________ > Aida mailing list > Aida at aidaweb.si > http://lists.aidaweb.si/mailman/listinfo/aida -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma cl? GPG est disponible ici : http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D -------------- section suivante -------------- Une pi?ce jointe non texte a ?t? nettoy?e... Nom: non disponible Type: application/pgp-signature Taille: 189 octets Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071026/e3b499d6/attachment.sig |
nicolas petton a ?crit :
>>> BTW, is there a RSS generator for Aida ? If not, how can I generate >>> RSS ? >>> >>> >> Aida does not have RSS support but it would be fine to integrate some >> already written one, possibly in a portable way. >> > Would it be difficult to create one from scratch ? I don't know, being without RSS experience so far. But I would recommend at least to look for existing RSS packages around. Pier guys have something, maybe it is general enough for us too? |
Le vendredi 26 octobre 2007 ? 14:01 +0200, Janko Miv?ek a ?crit : > nicolas petton a ?crit : > >>> BTW, is there a RSS generator for Aida ? If not, how can I generate > >>> RSS ? > >>> > >>> > >> Aida does not have RSS support but it would be fine to integrate some > >> already written one, possibly in a portable way. > >> > > Would it be difficult to create one from scratch ? > I don't know, being without RSS experience so far. But I would > recommend at least to look for existing RSS packages around. > Pier guys > have something, maybe it is general enough for us too? It's RSRSS, but I but it's not general at all, since it's based on Seaside classes (WAComponent, WARenderLoop, WACanvas, and WASession). Cheers, Nicolas > _______________________________________________ > Aida mailing list > Aida at aidaweb.si > http://lists.aidaweb.si/mailman/listinfo/aida -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma cl? GPG est disponible ici : http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D -------------- section suivante -------------- Une pi?ce jointe non texte a ?t? nettoy?e... Nom: non disponible Type: application/pgp-signature Taille: 189 octets Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071026/5f5d7936/attachment.sig |
In reply to this post by Nicolas Petton
Hi,
I don't know if it would be a good idea to start from scratch, if possible, There should be a package named RSRSS2 or SeasideRSRSS in the seaside world, and it seems that Nial Ross is trying to port it to VW to. probably could be a good idea to you to collaborate? I send this mail do Nial also, so you can eventually get in touch and discover if what I'm supposing here is feasible (IE: the stuff is not to much connected with Seaside). In any case that paccage could be a start for you to made one for AIda. HTH Giorgo Ferraris On 10/26/07, nicolas petton <petton.nicolas at gmail.com> wrote: > > > Le vendredi 26 octobre 2007 ? 10:52 +0200, Janko Miv?ek a ?crit : > > Hi Nicolas, > > > > nicolas petton a ?crit : > > > > > "e addRichEditorAspect: #contents for: document." > > > Does not work. I still have a texterea. > > > > > You need to install TinyMCE first, because it is not part of Aida in > > methods like other components as Date picker. Follow instructions from > > http://www.aidaweb.si/tinymce.html. > > Thank you Janko, it works :-). > > > What am I missing ? Where is the code of TinyMCE in AIDA ? > > > > > > BTW, is there a RSS generator for Aida ? If not, how can I generate > > > RSS ? > > > > > Aida does not have RSS support but it would be fine to integrate some > > already written one, possibly in a portable way. > Would it be difficult to create one from scratch ? > > Any ideas how to do that? > > > > Cheers from Madrid! > > Janko > > _______________________________________________ > > Aida mailing list > > Aida at aidaweb.si > > http://lists.aidaweb.si/mailman/listinfo/aida > -- > Nicolas Petton > http://nico.bioskop.fr > ___ > ooooooo > OOOOOOOOO > |Smalltalk| > OOOOOOOOO > ooooooo > \ / > [|] > -------------------------------- > Ma cl? GPG est disponible ici : > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D > > > _______________________________________________ > Aida mailing list > Aida at aidaweb.si > http://lists.aidaweb.si/mailman/listinfo/aida > > > An HTML attachment was scrubbed... URL: http://lists.aidaweb.si/pipermail/aida/attachments/20071026/a0918474/attachment-0001.htm |
In reply to this post by Nicolas Petton
nicolas petton a ?crit :
> Le vendredi 26 octobre 2007 ? 14:01 +0200, Janko Miv?ek a ?crit : > >> nicolas petton a ?crit : >> >>>>> BTW, is there a RSS generator for Aida ? If not, how can I generate >>>>> RSS ? >>>>> >>>>> >>>>> >>>> Aida does not have RSS support but it would be fine to integrate some >>>> already written one, possibly in a portable way. >>>> >>>> >>> Would it be difficult to create one from scratch ? >>> >> I don't know, being without RSS experience so far. But I would >> recommend at least to look for existing RSS packages around. >> > The only Smalltalk RSS package I know is RSRSS. > >> Pier guys >> have something, maybe it is general enough for us too? >> > It's RSRSS, but I but it's not general at all, since it's based on > Seaside classes (WAComponent, WARenderLoop, WACanvas, and WASession). Janko |
On 10/26/07, Janko Miv?ek <janko.mivsek en eranova.si> wrote:
> nicolas petton a ?crit : > > Le vendredi 26 octobre 2007 ? 14:01 +0200, Janko Miv?ek a ?crit : > >> nicolas petton a ?crit : > > > >> Pier guys > >> have something, maybe it is general enough for us too? > >> > > It's RSRSS, but I but it's not general at all, since it's based on > > Seaside classes (WAComponent, WARenderLoop, WACanvas, and WASession). > What about porting something from VW? Actually if we choose AIDA, I'm seriously considering using a mix, the WACanvas and WABrush'es are a neat approach to the problem of rendering (X)HTML. Best regards, -- Esteban A. Maringolo eMaringolo en gmail.com |
In reply to this post by giorgiof
Hi Giorgio, Nial and others,
giorgio ferraris a ?crit : > I don't know if it would be a good idea to start from scratch, if > possible, > There should be a package named RSRSS2 or SeasideRSRSS in the seaside > world, and it seems that Nial Ross is trying to port it to VW to. > probably could be a good idea to you to collaborate? > > I send this mail do Nial also, so you can eventually get in touch and > discover if what I'm supposing here is feasible (IE: the stuff is not > to much connected with Seaside). In any case that paccage could be a > start for you to made one for AIda. It would be just nice if we'll have a portable RSS support, which is layered like: - a general part (RSS protocol) - web framework specific (HTML rendering of posts). Do you think this can be done from current RSRSS2? Best regards Janko > On 10/26/07, *nicolas petton* <petton.nicolas na gmail.com > <mailto:petton.nicolas na gmail.com>> wrote: > > > Le vendredi 26 octobre 2007 ? 10:52 +0200, Janko Miv?ek a ?crit : > > Hi Nicolas, > > > > nicolas petton a ?crit : > > > > > "e addRichEditorAspect: #contents for: document." > > > Does not work. I still have a texterea. > > > > > You need to install TinyMCE first, because it is not part of > Aida in > > methods like other components as Date picker. Follow > instructions from > > http://www.aidaweb.si/tinymce.html. > > Thank you Janko, it works :-). > > > What am I missing ? Where is the code of TinyMCE in AIDA ? > > > > > > BTW, is there a RSS generator for Aida ? If not, how can I > generate > > > RSS ? > > > > > Aida does not have RSS support but it would be fine to integrate > some > > already written one, possibly in a portable way. > Would it be difficult to create one from scratch ? > > Any ideas how to do that? > > > > Cheers from Madrid! > > Janko > |
2007/10/28, Janko Miv?ek <janko.mivsek at eranova.si>:
> > Hi Giorgio, Nial and others, > > giorgio ferraris a ?crit : > > I don't know if it would be a good idea to start from scratch, if > > possible, > > There should be a package named RSRSS2 or SeasideRSRSS in the seaside > > world, and it seems that Nial Ross is trying to port it to VW to. > > probably could be a good idea to you to collaborate? > > > > I send this mail do Nial also, so you can eventually get in touch and > > discover if what I'm supposing here is feasible (IE: the stuff is not > > to much connected with Seaside). In any case that paccage could be a > > start for you to made one for AIda. > > It would be just nice if we'll have a portable RSS support, which is > layered like: > > - a general part (RSS protocol) > - web framework specific (HTML rendering of posts). > > Do you think this can be done from current RSRSS2? Yes, I think, but we need to change almost everything. But I think it would be easier to create something for AIDA, maybe based on some existing work. I'm going to adapt squeaksource rss generator (which is simple) to AIDA, just for a try. regards, Nicolas Best regards > Janko > > > On 10/26/07, *nicolas petton* <petton.nicolas at gmail.com > > <mailto:petton.nicolas at gmail.com>> wrote: > > > > > > Le vendredi 26 octobre 2007 ? 10:52 +0200, Janko Miv?ek a ?crit : > > > Hi Nicolas, > > > > > > nicolas petton a ?crit : > > > > > > > "e addRichEditorAspect: #contents for: document." > > > > Does not work. I still have a texterea. > > > > > > > You need to install TinyMCE first, because it is not part of > > Aida in > > > methods like other components as Date picker. Follow > > instructions from > > > http://www.aidaweb.si/tinymce.html. > > > > Thank you Janko, it works :-). > > > > What am I missing ? Where is the code of TinyMCE in AIDA ? > > > > > > > > BTW, is there a RSS generator for Aida ? If not, how can I > > generate > > > > RSS ? > > > > > > > Aida does not have RSS support but it would be fine to integrate > > some > > > already written one, possibly in a portable way. > > Would it be difficult to create one from scratch ? > > > Any ideas how to do that? > > > > > > Cheers from Madrid! > > > Janko > > > > _______________________________________________ > Aida mailing list > Aida at aidaweb.si > http://lists.aidaweb.si/mailman/listinfo/aida > -- Nicolas http://bioskop.wordpress.com -------------- section suivante -------------- Une pi?ce jointe HTML a ?t? nettoy?e... URL: http://lists.aidaweb.si/pipermail/aida/attachments/20071028/ea909e50/attachment.htm |
In reply to this post by Janko Mivšek
Hi,
As I said a couple of days ago, I'm working on a simple RSS support for Aida, based on SqueakSource. It works fine for me, I use it in my blog (powered by Aida of course). It's only a first try, and it's quite simple for now, but I'm working on some improvements. You can download Squeak package here : http://mc.bioskop.fr/AidaRSS/ Cheers, Nicolas -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma cl? GPG est disponible ici : http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D -------------- section suivante -------------- Une pi?ce jointe non texte a ?t? nettoy?e... Nom: non disponible Type: application/pgp-signature Taille: 189 octets Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071031/22d5f48f/attachment.sig |
nicolas petton wrote:
> Hi, > > As I said a couple of days ago, I'm working on a simple RSS support for > Aida, based on SqueakSource. It works fine for me, I use it in my blog > (powered by Aida of course). > It's only a first try, and it's quite simple for now, but I'm working on > some improvements. Darn, I just realized that a mail I sent never made it. We have a little bit of RSS related code in the Sophie project. Might be too late now, but for the curious: http://source.sophieproject.org/Sophie/Sophie-RSS-tat.6.mcz Michael |
Le mercredi 31 octobre 2007 ? 13:01 +0100, Michael Rueger a ?crit : > nicolas petton wrote: > > Hi, > > > > As I said a couple of days ago, I'm working on a simple RSS support for > > Aida, based on SqueakSource. It works fine for me, I use it in my blog > > (powered by Aida of course). > > It's only a first try, and it's quite simple for now, but I'm working on > > some improvements. > > Darn, I just realized that a mail I sent never made it. > > We have a little bit of RSS related code in the Sophie project. Might be > too late now, but for the curious: > http://source.sophieproject.org/Sophie/Sophie-RSS-tat.6.mcz Nicolas > > Michael > > _______________________________________________ > Aida mailing list > Aida at aidaweb.si > http://lists.aidaweb.si/mailman/listinfo/aida -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma cl? GPG est disponible ici : http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D -------------- section suivante -------------- Une pi?ce jointe non texte a ?t? nettoy?e... Nom: non disponible Type: application/pgp-signature Taille: 189 octets Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071031/8a3045cb/attachment.sig |
Free forum by Nabble | Edit this page |