<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Gonzalo Silverio's Weblog &#187; tips</title>
	<atom:link href="http://gonzalosilverio.wordpress.com/category/sakai/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://gonzalosilverio.wordpress.com</link>
	<description>Web presentation technologies, flyfishing, Nahuatl Court Poetry, pest control</description>
	<lastBuildDate>Wed, 20 May 2009 13:08:44 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='gonzalosilverio.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/1ab63a470b01e0b22db39181eeabdc88?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Gonzalo Silverio's Weblog &#187; tips</title>
		<link>http://gonzalosilverio.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gonzalosilverio.wordpress.com/osd.xml" title="Gonzalo Silverio&#8217;s Weblog" />
		<item>
		<title>Corners of Sakai 3 &#8211; Pseudo Hierarchy</title>
		<link>http://gonzalosilverio.wordpress.com/2008/08/22/corners-of-sakai-2-pseudo-hierarchy/</link>
		<comments>http://gonzalosilverio.wordpress.com/2008/08/22/corners-of-sakai-2-pseudo-hierarchy/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 17:43:02 +0000</pubDate>
		<dc:creator>gonzalosilverio</dc:creator>
				<category><![CDATA[sakai]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[sakai tips]]></category>

		<guid isPermaLink="false">http://gonzalosilverio.wordpress.com/?p=31</guid>
		<description><![CDATA[Suppose you want to relate several Sakai sites together. Some use cases:

a project site membership has a created a series of subsites to take care of committee work
you want to allow users of Fall 2008 course site access to all previous course sites for same course.  You can take care of the access issues [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gonzalosilverio.wordpress.com&blog=3110789&post=31&subd=gonzalosilverio&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Suppose you want to relate several Sakai sites together. Some use cases:</p>
<ol>
<li>a project site membership has a created a series of subsites to take care of committee work</li>
<li>you want to allow users of Fall 2008 course site access to all previous course sites for same course.  You can take care of the access issues &#8211; but how to make it easier for them to find these other sites?</li>
<li>a department needs to provide a set of documents to all courses in it. The sites of these courses  need to appear as &#8220;children&#8221; of the departmental site.</li>
<li>etc.</li>
</ol>
<p>What to do? Pseudo-hierarchy might fit the bill. Run up at an airport by Chuck Severance it establishes a <strong>user-interface-only</strong> relationship between the sites. This takes place in a breadcrumb that displays below the site navigation paraphernalia.</p>
<p>The full details are here: <a href="https://svn.oucs.ox.ac.uk/projects/vle/sakai/local-versions/reference/trunk/docs/architecture/sakai_pseudo_hierarchy.doc">sakai_pseudo_hierarchy.doc</a>.</p>
<p>The rendering bits are in any version of Sakai after 2.4.x. &#8211; to customize for your institution &#8211; add the following lines (36-53 in Sakai 2.5.x) from the default.css and then change to suit.</p>
<pre>/*site hierarchy breadcrumb*/
#siteHierarchy{
        clear:both;
        float:none;
        margin:0;
        list-style: none;
        padding:.5em 0;
}
/*style the standard breadcrumbseparator
   can set display:none if needed because the
   list-style is taking care of it*/
.breadSeparator{
}
#siteHierarchy li{
        display:inline;
}
#siteHierarchy li a, #siteHierarchy li a:visited{
        color:#09c;
}</pre>
<p>You can also add your own separator via the language bundle.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gonzalosilverio.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gonzalosilverio.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gonzalosilverio.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gonzalosilverio.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gonzalosilverio.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gonzalosilverio.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gonzalosilverio.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gonzalosilverio.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gonzalosilverio.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gonzalosilverio.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gonzalosilverio.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gonzalosilverio.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gonzalosilverio.wordpress.com&blog=3110789&post=31&subd=gonzalosilverio&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gonzalosilverio.wordpress.com/2008/08/22/corners-of-sakai-2-pseudo-hierarchy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/53c44f824ee4db9d068fdd4f8c6de656?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gonzalosilverio</media:title>
		</media:content>
	</item>
		<item>
		<title>Corners of Sakai 2 &#8211; Skinning Site Types</title>
		<link>http://gonzalosilverio.wordpress.com/2008/06/28/corners-of-sakai-2-skinning-site-types/</link>
		<comments>http://gonzalosilverio.wordpress.com/2008/06/28/corners-of-sakai-2-skinning-site-types/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 15:04:23 +0000</pubDate>
		<dc:creator>gonzalosilverio</dc:creator>
				<category><![CDATA[markup]]></category>
		<category><![CDATA[sakai]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[site types]]></category>

		<guid isPermaLink="false">http://gonzalosilverio.wordpress.com/?p=33</guid>
		<description><![CDATA[The ability for an institution to configure their local Sakai instance with site types I think underexploited. Or maybe I do not know what people are doing with it. I show how to serve different look and feel for different site types using the same skin. But first &#8211; what is a site type?
Let&#8217;s say [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gonzalosilverio.wordpress.com&blog=3110789&post=33&subd=gonzalosilverio&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The ability for an institution to configure their local Sakai instance with site types I think underexploited. Or maybe I do not know what people are doing with it. I show how to serve different look and feel for different site types using the same skin. But first &#8211; what is a site type?</p>
<p>Let&#8217;s say that your institution does not offer courses, but synergymnasiums, no seminars, but collaboratoriums, no discussion sections but hoedowns, etc. These choices can be presented to the user via configuration changes. But it goes beyond the name:  creation of different site types can be associated with different access level people. Maybe only administrators can create synergymnasiums, for example. Each site type also comes with a set of tools to choose from or forced to accept, and after 2.5.x, even with prebaked content into the bargain, etc. There is more to this that am aware of, but for our purposes here, the only thing that matters is that the site type is emitted as a class in the portal markup, allowing us to do different things to a portal depending on the site type. There are 3 spots where this happens:</p>
<p>In the portal masthead:</p>
<pre>&lt;div id="siteNavWrapper" class="workspace"&gt;
 &lt;div id="mastHead"&gt;
  ....
 &lt;/div&gt;
&lt;/div&gt;</pre>
<p>In the site navigation block:</p>
<pre>&lt;<span class="start-tag">div</span><span class="attribute-name"> class</span>=<span class="attribute-value">"siteNavWrap workspace"</span>&gt;
 &lt;<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"siteNav"</span>&gt;
  ...
 &lt;/div&gt;
&lt;/div&gt;</pre>
<p>and in the top most wrapping block of all site content:</p>
<pre>&lt;<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"container" </span><span class="attribute-name">class</span>=<span class="attribute-value">"workspace" </span>&gt;</pre>
<p>This means that you can get at, via inheritance, to almost any element in the portal, and do different things to it based on the site type.</p>
<p>At the University of Michigan we have 5 significant site types: workspace, course, project, gradtools, and unspecified. Here is how the first three look like, <strong>using the same skin</strong>:</p>
<h4>The user workspace:</h4>
<p><a href="http://gonzalosilverio.files.wordpress.com/2008/06/wsp-skin.jpg"><img class="alignnone size-full wp-image-37" src="http://gonzalosilverio.files.wordpress.com/2008/06/wsp-skin.jpg?w=450&#038;h=168" alt="" width="450" height="168" /></a></p>
<h4>The course site:</h4>
<p><a href="http://gonzalosilverio.files.wordpress.com/2008/06/crs-skin.jpg"><img class="alignnone size-full wp-image-35" src="http://gonzalosilverio.files.wordpress.com/2008/06/crs-skin.jpg?w=450&#038;h=190" alt="" width="450" height="190" /></a></p>
<h4>The project site:</h4>
<p><a href="http://gonzalosilverio.files.wordpress.com/2008/06/proj-skin.jpg"><img class="alignnone size-full wp-image-36" src="http://gonzalosilverio.files.wordpress.com/2008/06/proj-skin.jpg?w=450&#038;h=174" alt="" width="450" height="174" /></a></p>
<p>Since a given user will go from workspace to project (at Michigan any user can create project sites) to course site it was important to make sure they were <strong>only subtly different</strong> &#8211; or different enough to help the user locate herself,  not different to force them to remap things between site types. This was done via color only &#8211; the color of the banner text (a background image of one of the children of the .mastHead block), the bottom border of the site navigation, the text of the site title, the text of the current tool, other things. The most radical difference was with the workspace banner text &#8211; we found our users needed that extra flag to discern between workspace and worksite.</p>
<p>You can take a look at the <a title="CTools Portal css" href="http://ctools.umich.edu/ctlib/skin/ctools/portal.css">portal css of CTools</a> if you would like. All of this is documented as well in the <a title="Sakai Skin (ms word)" href="https://source.sakaiproject.org/svn/reference/trunk/docs/architecture/sakai_skin.doc">source documentation</a> in the reference.</p>
<p>The remaining site type is the <em>undeterminedSiteType</em> &#8211; the default. That is literally the name of the class you need to address, or ignore but provide a css default for to take care of:</p>
<p><a href="http://gonzalosilverio.files.wordpress.com/2008/06/unsp-skin.jpg"><img class="alignnone size-full wp-image-38" src="http://gonzalosilverio.files.wordpress.com/2008/06/unsp-skin.jpg?w=450&#038;h=146" alt="" width="450" height="146" /></a></p>
<p>Since the default will be triggered when the site type is unspecified, and the only possible cases would be during errors (like Site Unavailable above) or admin type sites &#8211; where the stakes are high, the reddish color seemed warranted.</p>
<p>Anyways, this is all short on detail &#8211; but the documentation linked to above covers that pretty well.</p>
<p><a href="http://gonzalosilverio.files.wordpress.com/2008/06/crs-skin.jpg"> </a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gonzalosilverio.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gonzalosilverio.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gonzalosilverio.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gonzalosilverio.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gonzalosilverio.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gonzalosilverio.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gonzalosilverio.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gonzalosilverio.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gonzalosilverio.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gonzalosilverio.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gonzalosilverio.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gonzalosilverio.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gonzalosilverio.wordpress.com&blog=3110789&post=33&subd=gonzalosilverio&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gonzalosilverio.wordpress.com/2008/06/28/corners-of-sakai-2-skinning-site-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/53c44f824ee4db9d068fdd4f8c6de656?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gonzalosilverio</media:title>
		</media:content>

		<media:content url="http://gonzalosilverio.files.wordpress.com/2008/06/wsp-skin.jpg" medium="image" />

		<media:content url="http://gonzalosilverio.files.wordpress.com/2008/06/crs-skin.jpg" medium="image" />

		<media:content url="http://gonzalosilverio.files.wordpress.com/2008/06/proj-skin.jpg" medium="image" />

		<media:content url="http://gonzalosilverio.files.wordpress.com/2008/06/unsp-skin.jpg" medium="image" />
	</item>
		<item>
		<title>Corners of Sakai 1 &#8211; the access servlet</title>
		<link>http://gonzalosilverio.wordpress.com/2008/06/26/corners-of-sakai-1-the-access-servlet/</link>
		<comments>http://gonzalosilverio.wordpress.com/2008/06/26/corners-of-sakai-1-the-access-servlet/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 13:45:52 +0000</pubDate>
		<dc:creator>gonzalosilverio</dc:creator>
				<category><![CDATA[sakai]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Resources tool]]></category>

		<guid isPermaLink="false">http://gonzalosilverio.wordpress.com/?p=26</guid>
		<description><![CDATA[Sakai has some functionality that may be of interest to solve particular problems but is not well known because:

it has not been fully tested or
was addressing very specific needs or
is not well documented or
has simply been forgotten

One of these is the Access Servlet. Have you wanted to point your group (define this as you will) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gonzalosilverio.wordpress.com&blog=3110789&post=26&subd=gonzalosilverio&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sakai has some functionality that may be of interest to solve particular problems but is not well known because:</p>
<ul>
<li>it has not been fully tested or</li>
<li>was addressing very specific needs or</li>
<li>is not well documented or</li>
<li>has simply been forgotten</li>
</ul>
<p>One of these is <strong>the Access Servlet. </strong>Have you wanted to point your group (define this as you will) to a specific slice of a Resource collection? Without all the Resource management paraphernalia of the Resource Tool? But will all the permissions in full operation? The Access Servlet is there to help.</p>
<p>1 &#8211; Choose &#8220;Edit Details&#8221; of the folder you want to share.<a href="http://gonzalosilverio.files.wordpress.com/2008/06/select-slice.png"><br />
</a></p>
<p><a href="http://gonzalosilverio.files.wordpress.com/2008/06/select-slice.png"><img class="alignnone size-medium wp-image-28" src="http://gonzalosilverio.files.wordpress.com/2008/06/select-slice.png?w=300&#038;h=93" alt="" width="300" height="93" /></a></p>
<p>2 &#8211; Then click on the &#8220;Open&#8221; link</p>
<p><a href="http://gonzalosilverio.files.wordpress.com/2008/06/open-access.png"><img class="alignnone size-medium wp-image-29" src="http://gonzalosilverio.files.wordpress.com/2008/06/open-access.png?w=300&#038;h=66" alt="" width="300" height="66" /></a></p>
<p>3 &#8211; The link will open a new window with the contents of the folder &#8211; but using the access servlet &#8211; looking like this:</p>
<p><a href="http://gonzalosilverio.files.wordpress.com/2008/06/access-listing.png"><img class="alignnone size-medium wp-image-30" src="http://gonzalosilverio.files.wordpress.com/2008/06/access-listing.png?w=232&#038;h=300" alt="" width="232" height="300" /></a></p>
<p>All of the &#8220;file management&#8221; stuff is gone. Also the descriptions are available in the list itself (displayed by default &#8211; here toggled closed for the screen shot), which they are not in the OOTB Resources tool. The markup has been been pared down to the bone (an actual list with list items) and the scripting reduced to a nothing.  More importantly &#8211; all of the access control settings for the whole selected hierarchy are intact &#8211; if Folder 2 contents is only available to members of a specific group only members of that specific group will see a link to it. Same obtains for all the other conditional disclosure settings of the folder.</p>
<p><strong>Note and caveat:</strong> the functionality is available in Sakai 2.4 onwards, not sure who provided it &#8211; but the above screenshots are taken from a trunk build plus 2 patches  available at <a href="http://bugs.sakaiproject.org/jira/browse/SAK-13694">SAK-13694</a> and <a href="http://bugs.sakaiproject.org/jira/browse/SAK-3804">SAK-3804</a>. Please read the comments  to both  for the caveats and gaps.</p>
<p>An enterprising developer could add an action to a Resource folder to automate this &#8211; perhaps adding a tool link targeting the slice to the tool navigation menu. Some institutions, like Oxford seem to be planning to use the access servlet as the main and only public face of the Resources tool it seems, not sure how they are going about that.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gonzalosilverio.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gonzalosilverio.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gonzalosilverio.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gonzalosilverio.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gonzalosilverio.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gonzalosilverio.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gonzalosilverio.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gonzalosilverio.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gonzalosilverio.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gonzalosilverio.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gonzalosilverio.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gonzalosilverio.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gonzalosilverio.wordpress.com&blog=3110789&post=26&subd=gonzalosilverio&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gonzalosilverio.wordpress.com/2008/06/26/corners-of-sakai-1-the-access-servlet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/53c44f824ee4db9d068fdd4f8c6de656?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gonzalosilverio</media:title>
		</media:content>

		<media:content url="http://gonzalosilverio.files.wordpress.com/2008/06/select-slice.png?w=300" medium="image" />

		<media:content url="http://gonzalosilverio.files.wordpress.com/2008/06/open-access.png?w=300" medium="image" />

		<media:content url="http://gonzalosilverio.files.wordpress.com/2008/06/access-listing.png?w=232" medium="image" />
	</item>
	</channel>
</rss>