Lively Kernel canvas
null
ProjectcreationwithLivelyWiki
30
4
1
false
null
33
null
null
UseraccountThefollowingfewpagesdemonstratehowyoucancreateownprojectsandhowyoucanaddbehaviortothem.Ifyouhavenolivelykernel.sunlabs.comaccountitisrecommendtocreateonehere.Withanuseraccountyouwillbeabletocreateandeditxhtmlprojectpages(worlds).AuthenticationCreatinganewworldcanbedonefromeverywhere.However,youmustbeloggedintodoso.Openaworldmenu(alt+clickinthebluebackground)andchoose'authenticateforwriteaccess'.Aloginwindowwillappearinwhichyoucanenteryourusernameandpassword.CreateanewworldWhenyouareloggedin,createanewworldbyopeningtheworldmenuandchoose'publishworldas...'.Youwillbeabletoenteranewnamefortheworld.Noticethatthereareafewnameswhichyoucannotuse.Everythingbeginningwith'lively'or'non-'aswellas'index.xhtml'and'example.xhtml'areinvalidnames.
463
false
null
582
null
14
null
null
false
null
null
AsyouplayaroundwiththeLivelyWikiyoumightnoticeseveralbugs.Ifyouencounteronepleasereportthebug!Thankyou!OneproblemwhichoccursoftenisthatsavingworldswithspecificMorphsliketheSystemBrowsercanleadtoerrorswhenloadingthatworldagain.Alsootherchangesmaydestroyaworldwhenitissaved.WhentheerrorpreventyoufromrevertingthechangeswiththeWikiNavigator(thethinginthetopleftcorner)youcanevaluatethefollowingscriptafterlogginginfromanyotherLivelyWikiworld(justchangethevalueoffile).file='myBrokenWorld.xhtml';//enteryourfilenamehereurl=URL.source.getDirectory();dir=newFileDirectory(url);res=newSVNResource(url.toString(),Record.newPlainInstance({URL:url+file,Metadata:null,HeadRevision:null}));res.fetchMetadata(true,null);timestamps=res.getMetadata();revs=timestamps.collect(function(ea){returnea.toString().match(/.*Revision(.*)/)[1]});secondNewestRev=revs[1];oldContent=dir.fileContent(file,secondNewestRev);dir.writeFileNamed(file,oldContent);
null
true
true
false
0
false
null
533
null
7
null
true
false
false
1
true
false
true
false
null
false
null
false
null
false
Inthecaseofanemergency...
null
false
null
false
false
false
null
false
false
null
null
null
null
false
null
Next
22
2
false
null
1
null
null
1233871162591
37917
1
17
null
1233871162
null