{"id":204,"date":"2006-09-08T04:28:27","date_gmt":"2006-09-08T08:28:27","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=204"},"modified":"2011-12-17T12:20:44","modified_gmt":"2011-12-17T16:20:44","slug":"roskilde-visit","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2006\/09\/roskilde-visit\/","title":{"rendered":"Roskilde Visit"},"content":{"rendered":"<p>Today I am at Roskilde University in Denmark.  My goal is to talk with the folks here and then to make a video that looks at the way Roskilde integrates Sakai into their very unique group riended curriculum.<\/p>\n<p><!--more--><br \/>\nA cool idea came up in a meeting &#8211; &#8220;tiny URLs&#8221; for resources in Sakai.  Here is a basic design.  (a) Make a TinyURL service which takes a long URL as a parameter and returns a short URL &#8211; storing the mapping between the tiny url and long URL in a simple two column table.  (b) change the getUrl method in<br \/>\ncontent\/impl\/src\/java\/org\/sakaiproject\/content\/impl\/BaseContentService.java<br \/>\nTo consult the tiny URL service before returning the URL and return the short URL.<br \/>\n(c) make a simple servlet &#8211; lets call it \/s that simply looks up the tiny URL and does a redispatch to the tinyurl&#8217;s destination.  I think that we could ignore all of the servlet filtering in this first servlet and let the destination do whatever it likes.  Perhaps a redirect would be better &#8211; but smarter people than me need to decide if a redirect or redispatch is better.  What does tinyurl do?  So Sakai tinyurls look like:<br \/>\nhttp:\/\/x.y.z\/s\/FaeD12\/<br \/>\nOf course this behavior would be controlled by yet another property because it would have a performance and storage impact as it would require some look up on each URL in the display of a resources page &#8211; some basic caching should be done &#8211; could be quite simple because the mapping is read only and no mapping is ever deleted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I am at Roskilde University in Denmark. My goal is to talk with the folks here and then to make a video that looks at the way Roskilde integrates Sakai into their very unique group riended curriculum.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=204"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/204\/revisions"}],"predecessor-version":[{"id":2312,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/204\/revisions\/2312"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}