XSSFilter could not parse (X)HTML: <p>From yuri at sims.berkeley.edu Tue Dec 30 14:56:30 2008 From: yuri at sims.berkeley.edu (Yuri Takhteyev) Date: Tue Dec 30 14:04:27 2008 Subject: [Sputnik-list] recent changes Message-ID: <a href="mailto:fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com">fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com</a></p> <p>A long list of things from the last few weeks. Here is a brief outline, so you can decide what to read:</p> <ol> <li>Updates to "Sightings"</li> <li>A new vertical menu done with jquery</li> <li>YUI vs. Blueprint</li> <li>Storing templates in the node</li> <li>Redesigned edit forms</li> <li>Markitup integration</li> </ol> <p>First, eLua project is now using Sputnik. See eluaproject.org. As you can see, it has a somewhat different design, with a vertical navigation bar on the side, animated with jquery, instead of Sputnik's default tabs. This started with me wanting to help the eLua team to reproduce elements of the old eLua website design, which had a vertical javascript menu on the side. The original javascript menu had some issues, however, so I replaced it with an accordion menu done in 6 lines of jquery. Speaking of different designs, I added screenshots of some of the existing sputnik installations to http://sputnik.freewisdom.org/en/Sightings. If you have something to add to this, send me a link. (Links to sputnik sites that use default look and feel are also welcome, at the bottom.)</p> <p>After adding the vertical menu to eluaproject.org, I decided to add it to the default sputnik code. This change is now in the source tree. It's a little less smooth than the version on eLuaproject.org, but the plus side is that it uses the exact same HTML as the horizontal menu (though it needs to be inserted in a different place). I've been divided on which menu to use by default. The current code in git defaults to the new vertical menu, but it's easy to switch back to the original horizontal one. But we could go back to the tabs as the default. You can see a demo of the current default at http://sputnik.freewisdom.org/admin-demo/.</p> <p>While making this change I looked at some alternatives to YUI (our CSS framework). I ended up deciding to stick with YUI. The main reason is that it looks like only Blueprint has equal following at the moment. And between Blueprint and YUI, I decided that Blueprint would alienate too many of the people who feel strongly about fixed-width layout and the occasional horizontal scroll bars that it entails. YUI is also tiny (4K for the version that we are using, smaller than Blueprint) and fully free (BSD).</p> <p>I also decided that the older approach of storing all templates in a separate node ("sputnik/templates") linked via a parameter in the node ("templates") was too complicated for simple changes. So, I moved some of the templates to the node itself and gave each of them a separate edit box. I also finally integrated a change to the edit forms that Jim has done a while back. This change makes it possible to organize the fields into collapsible sections, so you don't get as overwhelmed. To see an example of this in action, go to http://sputnik.freewisdom.org/admin-demo/ and login as "admin" with password "admin". Then see http://sputnik.freewisdom.org/admin-demo/@Root.edit. (Don't save changes to @Root, use some other node if you want to experiment.) To change the appearance you would need to login as Admin, then go to @Root.edit, open "HTML Fields" section, and edit the fields in it.</p> <p>To move the side bar or hide it, you would need to edit the class of</p> <h1>doc3 on the first line of "body". The default is "yui-t1", which</h1> <p>gives you a thin side bar on the left. yui-t2, yui-t3, etc. give you different width, still on the left. t4-t6 give you a side bar on the right. "yui-t0" hides the side bar. Alternatively, you could leave the sidebar but remove the menu from it: just remove "$menu" from the "sidebar" field. If you want to add the menu at the top, put $menu in side #menu_bar div in "header" instead of "<br/><br/>".</p> <p>Finally, I tentatively integrated markitup. If you link the "sputnik-markitup" rock into your rock directory, then edit forms will use markitup. Basically, you still use markup, but you get a tool bar to help you out a little. See http://sputnik.freewisdom.org/en/Sandbox.edit. I haven't quite decided how much of a default to make it. Right now it's a separate rock, but I am tempted to include it by default.</p> <p>Any thoughts on any of those changes?</p> <ul> <li>yuri</li> </ul> <p>-- http://sputnik.freewisdom.org/</p> <p>From dadosutter at gmail.com Thu Jan 1 11:27:57 2009 From: dadosutter at gmail.com (Dado Sutter) Date: Thu Jan 1 10:36:41 2009 Subject: [Sputnik-list] recent changes In-Reply-To: <a href="mailto:fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com">fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com</a> References: <a href="mailto:fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com">fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com</a> Message-ID: <a href="mailto:d3b6d880901010527r6c414e3apb886b631bc12a739@mail.gmail.com">d3b6d880901010527r6c414e3apb886b631bc12a739@mail.gmail.com</a></p> <p>Hello Sputnikers :) Happy 2009 for all of you !!!</p> <p>On Tue, Dec 30, 2008 at 14:56, Yuri Takhteyev <a href="mailto:yuri@sims.berkeley.edu">yuri@sims.berkeley.edu</a>wrote:</p> <blockquote> <p>First, eLua project is now using Sputnik. See eluaproject.org. .....</p> </blockquote> <p>Pls note that the right URL is www.eluaproject.net And yes, we are proudly using Sputnik for the whole wiki, as well as for the Portuguese version that is comming soon (on www.eluaproject.net/pt Sputnik is fullfilling 99% of our needs and Yuri is always ready to help with the rest ! :)</p> <p>Best Dado -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.luaforge.net/pipermail/sputnik-list/attachments/20090101/e3053bd9/attachment.htm</p> <p>From sputnik-list-bounces@lists.luaforge.net Sun Jan 4 21:39:44 2009 Received: from pop.gmail.com (el-in-f109.google.com [209.85.163.109])</p> <pre><code>by chai (mpop-1.0.11) with POP3 for <yuri>; Sun, 04 Jan 2009 19:39:44 -0200 </code></pre> <p>Delivered-To: sputnik.list.archiver@gmail.com Received: by 10.142.242.18 with SMTP id p18cs850444wfh;</p> <pre><code> Sun, 4 Jan 2009 12:50:34 -0800 (PST) </code></pre> <p>Received: by 10.100.164.20 with SMTP id m20mr10703249ane.121.1231102233663;</p> <pre><code> Sun, 04 Jan 2009 12:50:33 -0800 (PST) </code></pre> <p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a> Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p> <pre><code> by mx.google.com with ESMTP id b32si8133239ana.14.2009.01.04.12.50.23; Sun, 04 Jan 2009 12:50:33 -0800 (PST) </code></pre> <p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p> <pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LJZ7X-00076N-I9; Sun, 04 Jan 2009 17:58:47 -0200 </code></pre> <p>Received: from mail-bw0-f16.google.com ([209.85.218.16])</p> <pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LJZ7V-000767-HD for sputnik-list@lists.luaforge.net; Sun, 04 Jan 2009 17:58:45 -0200 </code></pre> <p>Received: by bwz9 with SMTP id 9so17759345bwz.5</p> <pre><code>for <sputnik-list@lists.luaforge.net>; Sun, 04 Jan 2009 12:49:43 -0800 (PST) </code></pre> <p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p> <pre><code>h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=ubpUGX1uvz+XTbNg0Kl2Gzw9xy9xCq5cd/YqtiA4SR0=; b=FETGBbPRGcB3bgvDkzL4OOJf1K1tzjZOov6aCm09gk2CDlq9aMwBDZi0kGMYhcwlK1 WrSbFy5Wgh8+Gv6I9qFeXa+TdjKsyKAkgBkaWnZ3QtOC7MquJ91ERrVZXN3nxx0ikwnQ TLNNuYRY5wZgD54UrWMHqmyhYi/3gYn5qKo9c= </code></pre> <p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p> <pre><code>h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=ZBZfwasAec9Brr6Q75PXRDNPvfiLfdJNoCiJi74UvA9sNZ2ZQmah7033k3+hWKiJFS lWfdZPGpqD4+Kn4pjW9IpDKwN3xAFjrtQcMbQIApyVpSMvgq101UXI3YmVJd773L+Oa8 76Sb9MTxyKr/58vjafEJYaF1oHtsIxEINaG6w= </code></pre> <p>Received: by 10.103.244.4 with SMTP id w4mr7124458mur.90.1231102183664;</p> <pre><code>Sun, 04 Jan 2009 12:49:43 -0800 (PST) </code></pre> <p>Received: from ?192.168.1.4? ([84.227.183.255])</p> <pre><code>by mx.google.com with ESMTPS id i5sm22603716mue.46.2009.01.04.12.49.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 04 Jan 2009 12:49:43 -0800 (PST) </code></pre> <p>Message-Id: <a href="mailto:B990B530-0693-4D0A-A32E-34FC90EAD624@gmail.com">B990B530-0693-4D0A-A32E-34FC90EAD624@gmail.com</a> From: Petite Abeille <a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a> To: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a> In-Reply-To: <a href="mailto:fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com">fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com</a> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: [Sputnik-list] recent changes Date: Sun, 4 Jan 2009 21:49:41 +0100 References: <a href="mailto:fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com">fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com</a> X-Mailer: Apple Mail (2.930.3) X-BeenThere: sputnik-list@lists.luaforge.net X-Mailman-Version: 2.1.5 Precedence: list List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net> List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p> <pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe> </code></pre> <p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a> List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a> List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a> List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p> <pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe> </code></pre> <p>Sender: sputnik-list-bounces@lists.luaforge.net Errors-To: sputnik-list-bounces@lists.luaforge.net</p> <p>On Dec 30, 2008, at 5:56 PM, Yuri Takhteyev wrote:</p> <blockquote> <p>A long list of things from the last few weeks. Here is a brief outline, so you can decide what to read:</p> </blockquote> <p>Not sure if it is a recent change, but Sputnik now sports a RSS feed <br/> per page, e.g.:</p> <p>feed://sputnik.freewisdom.org/en/Kepler.rss</p> <p>Unfortunately, this raises an exception:</p> <p>Sputnik ran but failed due to an unexpected error.</p> <p>Error details:...kepler-1.1/rocks//sputnik/ cvs-1/lua/sputnik/init.lua:323: assertion failed! stack traceback: function '(for generator)' [string "<rss version="2.0">..."]: 90: in function <[string "<rss version="2.0">..."]:25> ....1/rocks// sputnik/cvs-1/lua/sputnik/actions/wiki.lua:462: in function <br/> 'action_function' ...kepler-1.1/rocks//sputnik/cvs-1/lua/sputnik/ init.lua:712: in function <...kepler-1.1/rocks//sputnik/cvs-1/lua/ sputnik/init.lua:658></p> <p>While the 'history' feed seems to return something, the links <br/> generated in that RSS 2.0 feed seem to be invalid, e.g.:</p> <p>http://sputnik.freewisdom.org/en/history.rss <link>http://sputnik.freewisdom.orghref%3d%27%2fen%2flist%2fsputnik %2dmbox%3a%5fintegrating%5fmailing%5flist%5farchives%5finto%5fSputnik %27%20class%3d%27local%27</link></p> <p>http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fsputnik.freewisdom.org%2Fen%2Fhistory.rss</p> <p>HTH,</p> <p>Cheers, PA.</p> <hr/> <p>Sputnik-list mailing list Sputnik-list@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p> <p>From sputnik-list-bounces@lists.luaforge.net Sun Jan 4 21:39:44 2009 Received: from pop.gmail.com (el-in-f109.google.com [209.85.163.109])</p> <pre><code>by chai (mpop-1.0.11) with POP3 for <yuri>; Sun, 04 Jan 2009 19:39:44 -0200 </code></pre> <p>Delivered-To: sputnik.list.archiver@gmail.com Received: by 10.142.242.18 with SMTP id p18cs851418wfh;</p> <pre><code> Sun, 4 Jan 2009 13:36:35 -0800 (PST) </code></pre> <p>Received: by 10.100.137.12 with SMTP id k12mr10739710and.55.1231104994441;</p> <pre><code> Sun, 04 Jan 2009 13:36:34 -0800 (PST) </code></pre> <p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a> Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p> <pre><code> by mx.google.com with ESMTP id c40si22011712anc.48.2009.01.04.13.36.24; Sun, 04 Jan 2009 13:36:34 -0800 (PST) </code></pre> <p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p> <pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LJZq4-0008Qo-ER; Sun, 04 Jan 2009 18:44:48 -0200 </code></pre> <p>Received: from rv-out-0506.google.com ([209.85.198.235])</p> <pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LJZq2-0008Qj-Sb for sputnik-list@lists.luaforge.net; Sun, 04 Jan 2009 18:44:47 -0200 </code></pre> <p>Received: by rv-out-0506.google.com with SMTP id k40so6749592rvb.29</p> <pre><code>for <sputnik-list@lists.luaforge.net>; Sun, 04 Jan 2009 13:36:15 -0800 (PST) </code></pre> <p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p> <pre><code>h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=zwmK/PD2VEScvA/CC4tDv2g59XQX000Ug2K7UV0heb8=; b=x4fK4pHb8A9awAgGysldjOHHihphpFFKylcXzkhjbq69MjItckKguv5StOuKc7O8D1 UA3z3jUN9MnFSGFvHKbCbTkUTW7upCLBHVw+CSH4Vfi7ueK16b198Q3wY40UZPsTldeG 3zguyupbzIIwRQxNR5pVnSe3V3UEkvXJdz/ms= </code></pre> <p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p> <pre><code>h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=dQ70Y7c2TSbwL+3gsyRT9JwsJGVMcvyjC+KB71LM17CPoqLqQVlytI9AgPs6c36cI+ LUxyRpG6dGt9PN+dSw2ZEJc+F/baKzkbEIZD1qrgxmVPmjuUDJNhc82VY6DX8Dn9W8mv GhIznGZpr9c0VAC2knL9Xrravoou2wJ+9zOgs= </code></pre> <p>Received: by 10.141.201.1 with SMTP id d1mr9994224rvq.293.1231104975349;</p> <pre><code>Sun, 04 Jan 2009 13:36:15 -0800 (PST) </code></pre> <p>Received: by 10.140.177.20 with HTTP; Sun, 4 Jan 2009 13:36:15 -0800 (PST) Message-ID: <a href="mailto:fa4efbc00901041336g20aab42k36e8150817fd754a@mail.gmail.com">fa4efbc00901041336g20aab42k36e8150817fd754a@mail.gmail.com</a> Date: Sun, 4 Jan 2009 19:36:15 -0200 From: "Yuri Takhteyev" <a href="mailto:yuri@sims.berkeley.edu">yuri@sims.berkeley.edu</a> To: "Petite Abeille" <a href="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</a> Subject: Re: [Sputnik-list] recent changes In-Reply-To: <a href="mailto:B990B530-0693-4D0A-A32E-34FC90EAD624@gmail.com">B990B530-0693-4D0A-A32E-34FC90EAD624@gmail.com</a> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <a href="mailto:fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com">fa4efbc00812300856y7963fbb2x2fe6deab028771b0@mail.gmail.com</a></p> <pre><code><B990B530-0693-4D0A-A32E-34FC90EAD624@gmail.com> </code></pre> <p>X-Google-Sender-Auth: b835ac59bc08734a Cc: Sputnik <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a> X-BeenThere: sputnik-list@lists.luaforge.net X-Mailman-Version: 2.1.5 Precedence: list List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net> List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p> <pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe> </code></pre> <p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a> List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a> List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a> List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p> <pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe> </code></pre> <p>Sender: sputnik-list-bounces@lists.luaforge.net Errors-To: sputnik-list-bounces@lists.luaforge.net</p> <blockquote> <p>Not sure if it is a recent change, but Sputnik now sports a RSS feed per page, e.g.:</p> </blockquote> <p>Per-page RSS feeds have been there since summer of 2007, I believe. (Just add ".rss" to any node name to get the RSS of changes to that node.)</p> <blockquote> <p>Unfortunately, this raises an exception:</p> </blockquote> <p>Whoops. The project wiki is running sputnik straight out git mainline, to assist with debugging. :) This problem was brought by a refactoring of history a couple of days ago. I just pushed the fix.</p> <blockquote> <p>While the 'history' feed seems to return something, the links generated in that RSS 2.0 feed seem to be invalid, e.g.:</p> </blockquote> <p>Same thing.</p> <blockquote> <p>http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fsputnik.freewisdom.org%2Fen%2Fhistory.rss</p> </blockquote> <p>The validator is happy now.</p> <blockquote> <p>HTH,</p> </blockquote> <p>Yes, thanks for catching the bugs.</p> <ul> <li>yuri</li> </ul> <p>-- http://sputnik.freewisdom.org/</p> <hr/> <p>Sputnik-list mailing list Sputnik-list@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>