<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">I guess I’ll jot down a few notes about the Swiki over the next few days in no particular order for anybody who’s interested. Some of this stuff will likely start to wilt under close scrutiny, but I think it should give a good quick sketch and save people time. I’ve started a new thread to make it easier to find in future. </div><div class=""><br class=""></div><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 27, 2020, at 9:02 PM, David T. Lewis <<a href="mailto:lewis@mail.msen.com" class="">lewis@mail.msen.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">It might be a good idea to open a new<span class="Apple-converted-space"> </span></span><a href="http://squeaksource.com/" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">squeaksource.com</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><span class="Apple-converted-space"> </span>project to</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">capture the existing (old) swiki code in a Monticello package, and</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">then apply updates to that as we bring things up to date. The new</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">project should have a pointer back to<span class="Apple-converted-space"> </span></span><a href="http://wiki.squeak.org/swiki/15" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://wiki.squeak.org/swiki/15</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">along with credits to the original authors.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote><div><br class=""></div><div>It’d be easy to push some code into <a href="http://squeaksource.com" class="">squeaksource.com</a>. I’m just not sure what parts.</div><div>There are basically three: Comanche stuff; Swiki-Comanche connection; and Swiki. The first two parts have to be thrown out. I don’t think Comanche works on 5.2 (nor should it.) I said this to Hannes and Edgar and they weren’t too thrilled with me. So, I’d guess it needs to be ported to WebServer. That means at the moment the only parts to save to SqueakSource would be Swiki categories with no server. It might be good to figure out its future server before pushing code into a repository. It’s a thought.  </div><div><br class=""></div><blockquote type="cite" class=""><div class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">I notice also that Nicola Mingotti has quite recently added some</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">swiki enhancements in<span class="Apple-converted-space"> </span></span><a href="http://www.squeaksource.com/SwikiExtraUtils" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">www.squeaksource.com/SwikiExtraUtils</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><span class="Apple-converted-space"> </span>so it may</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">well be that a few people have swiki enhancements waiting to be</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">adopted.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote></div><br class=""><div class="">I think this is a scraper for harvesting Swiki content. Likely to put it into HelpBook. </div><div class=""><br class=""></div><div class=""><div class="">. Get the text area of a '<a href="http://wiki.squeak.org" class="">wiki.squeak.org</a>' page. </div><div class="">. ----- Example -----</div><div class="">tmp := SwikiWeb getPageTextarea: '<a href="http://wiki.squeak.org/squeak/2821" class="">http://wiki.squeak.org/squeak/2821</a>' </div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>user: 'squeak' pass: 'viewpoints'. </div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span></div><div class="">tmp </div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">A few notes on Swiki. It uses a Shelf—>Book—>Page metaphor. If you visit this page <a href="http://wiki.squeak.org/" class="">http://wiki.squeak.org/</a> you will see one shelf with two books. Page are self explanatory, I think. If you visit this page <a href="https://swikis.ddo.jp/" class="">https://swikis.ddo.jp/</a> you’ll see one shelf with ten books. Swiki is meant to be a collection of wikis for a group of people. </div><div class=""><br class=""></div><div class="">In the Swiki-Structure category you’ll see SwikiShelf, SwikiBook and NuSwikiPage. I think Nu- means New and replaced some earlier version of a SwikiPage. </div><div class=""><br class=""></div><div class="">The behaviour<span class="Apple-tab-span" style="white-space:pre">        </span>is all in the image. The state is all in the files. </div><div class=""><br class=""></div><div class="">The file structure default is always a directory called swiki. It has three directories inside that ani, default, and refs. When you boot up a new image, you point the application at the swiki directory wherever it is. </div><div class=""><br class=""></div><div class="">When you start rooting around in these directories you will see files named things like 1.xml, 2.xml or just 1,2,3. Exploring these files in the desktop can feel sickening. You’re not supposed to do that. These are xml files and files containing snippets of Smalltalk code. </div><div class=""><br class=""></div><div class="">You’re supposed to explore those files using the SwikiBrowser. It’s a file browser looking into those directories on disk. You open it with something like: </div><div class=""><br class=""></div><div class="">(SwikiBrowser asMorphOnShelf: shelf label: label) openInWorld. </div><div class=""><br class=""></div><div class="">I guess I’ll leave it there for now. </div><div class=""><br class=""></div><div class="">Chris </div><div class=""><br class=""></div><div class="">The Police - Demolition Man</div><div class=""><a href="https://www.youtube.com/watch?v=VpYrXHT1v9g" class="">https://www.youtube.com/watch?v=VpYrXHT1v9g</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>