I was who wish a "stupid person" Aida Swiki for replace olds ComSwiki.
Hope nobody feel hurt if still I think Aida/Scribo needs lots of work. From my own files , using 3.10 I could evaluate in a Workspace some like | doc | doc _ XMLDOMParser parseDocumentFrom: (FileDirectory default fileNamed: 'Discovery:Users:admin:SqueakDevelop:ComSwiki:swiki:prueba:pages:22.xml'). doc inspect Question: How I could this XMLDocument becomes a Aida/Swiki page ? In exchange I give this to all: For old images and new images not having Installer, here how to load bare functional Aida/Scribo. CodeLoader was into Squeak from 1999, and could do nice tricks ! I'm not sure, but seems old Squeaks could have Aida/Scribo too... !CodeLoader methodsFor: 'installing' stamp: 'edc 6/5/2008 09:51' prior: 73651835! installSourceFiles "Install the previously loaded source files" sourceFiles == nil ifTrue:[^self]. . sourceFiles do:[:req| (req url endsWith: '.mcz') ifTrue: [MczInstaller installStream: req contentStream] ifFalse: [self installSourceFile: req contentStream]]. sourceFiles _ nil.! ! | loader | loader _ CodeLoader new. loader baseURL:'http://www.squeaksource.com/SPort/'. loader loadSourceFiles: #('Sport-2.031.mcz' ). loader installSourceFiles. | loader | loader _ CodeLoader new. loader baseURL:'http://mc.bioskop.fr/Aida/'. loader loadSourceFiles: #('Aida5.6-np.49.mcz' ). loader installSourceFiles.! | loader | loader _ CodeLoader new. loader baseURL:'http://scribo.bioskop.fr/repository/'. loader loadSourceFiles: #('scribo-np.89.mcz' ). loader installSourceFiles.! Also I found troulbles with two methods, I add my bad solution here. Without this, I can't run Aida/Scribo !SpTimestamp methodsFor: 'private' stamp: 'edc 6/5/2008 10:26' prior: 73697887! underlyingTimestamp ^underlyingTimestamp asDate! !SpTimestamp methodsFor: 'converting' stamp: 'edc 6/5/2008 11:00' prior: 38169516! asRFC1123StringOn: targetStream "^self Code taken from Swazoo Timestamp extenton with the following comment: FIXME: Assumes server's clock is GMT. Should convert server's clock to GMT if it is not. Besides that, this whole method is really ugly." targetStream nextPutAll: (self underlyingTimestamp asDate weekday copyFrom: 1 to: 3); nextPutAll: ', '. self underlyingTimestamp day < 10 ifTrue: [targetStream nextPut: $0]. self underlyingTimestamp asDate printOn: targetStream format: #(1 2 3 $ 2 1). targetStream space. DateAndTime current printHMSOn: targetStream. targetStream nextPutAll: ' GMT'! ! _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Hi Edgar,
Welcome to the Aida mailing list! Edgar J. De Cleene wrote: > I was who wish a "stupid person" Aida Swiki for replace olds ComSwiki. > > Hope nobody feel hurt if still I think Aida/Scribo needs lots of work. Definitely, that's why it is not in beta yet. But the end goal is easy of use for end user, but on the other side a good framework for Smalltalkers to extend in many ways. Also note that Scribo has a background in commercial document system, with many years of experience in production, so don't worry, we will soon make Scribo ready too. >>From my own files , using 3.10 I could evaluate in a Workspace some like > > | doc | > doc _ XMLDOMParser parseDocumentFrom: (FileDirectory default fileNamed: > 'Discovery:Users:admin:SqueakDevelop:ComSwiki:swiki:prueba:pages:22.xml'). > doc inspect > > Question: > > How I could this XMLDocument becomes a Aida/Swiki page ? Convert it to HTML somehow, other is then easy. Put this HTML then in a body of WikiPage new, set the title of the page and add it to (AIDASite named: 'yoursite') wiki. Something like that. > In exchange I give this to all: > For old images and new images not having Installer, here how to load bare > functional Aida/Scribo. > > CodeLoader was into Squeak from 1999, and could do nice tricks ! > I'm not sure, but seems old Squeaks could have Aida/Scribo too... That's nice to hear! Aida don't use hard tricks so I can imagine it can be run in old Squeaks. Maybe you need to switch off Unicode support (see AIDASite class codepage converting) > !CodeLoader methodsFor: 'installing' stamp: 'edc 6/5/2008 09:51' prior: > 73651835! > installSourceFiles > "Install the previously loaded source files" > sourceFiles == nil ifTrue:[^self]. > > . > sourceFiles do:[:req| (req url endsWith: '.mcz') ifTrue: > [MczInstaller installStream: req contentStream] ifFalse: [self > installSourceFile: req contentStream]]. > sourceFiles _ nil.! ! > > | loader | > loader _ CodeLoader new. > loader baseURL:'http://www.squeaksource.com/SPort/'. > > loader loadSourceFiles: #('Sport-2.031.mcz' ). > > loader installSourceFiles. > > | loader | > loader _ CodeLoader new. > loader baseURL:'http://mc.bioskop.fr/Aida/'. > > loader loadSourceFiles: #('Aida5.6-np.49.mcz' ). > > loader installSourceFiles.! > > | loader | > loader _ CodeLoader new. > loader baseURL:'http://scribo.bioskop.fr/repository/'. > > loader loadSourceFiles: #('scribo-np.89.mcz' ). > > loader installSourceFiles.! > > Also I found troulbles with two methods, I add my bad solution here. > Without this, I can't run Aida/Scribo > > !SpTimestamp methodsFor: 'private' stamp: 'edc 6/5/2008 10:26' prior: > 73697887! > underlyingTimestamp > ^underlyingTimestamp asDate! > > !SpTimestamp methodsFor: 'converting' stamp: 'edc 6/5/2008 11:00' prior: > 38169516! > asRFC1123StringOn: targetStream > "^self > Code taken from Swazoo Timestamp extenton with the following comment: > FIXME: Assumes > server's clock is GMT. Should convert server's clock to GMT if it is > not. Besides that, > this whole method is really ugly." > targetStream nextPutAll: (self underlyingTimestamp asDate weekday > copyFrom: 1 to: 3); > nextPutAll: ', '. > self underlyingTimestamp day < 10 ifTrue: [targetStream nextPut: $0]. > self underlyingTimestamp asDate printOn: targetStream format: #(1 2 3 $ > 2 1). > targetStream space. > DateAndTime current printHMSOn: targetStream. > targetStream nextPutAll: ' GMT'! ! > > > _______________________________________________ > Aida mailing list > [hidden email] > http://lists.aidaweb.si/mailman/listinfo/aida > -- Janko Mivšek AIDA/Web Smalltalk Web Application Server http://www.aidaweb.si _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
In reply to this post by Edgar J. De Cleene
Hi Edgar,
2008/6/6 Edgar J. De Cleene <[hidden email]>: I was who wish a "stupid person" Aida Swiki for replace olds ComSwiki. Of course not, but could you be more specific? Cheers! Nico
-- Nicolas Petton http://nico.bioskop.fr _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Free forum by Nabble | Edit this page |