<?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/"
	>

<channel>
	<title>Labs &#187; development</title>
	<atom:link href="http://labs.creativecommons.org/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.creativecommons.org</link>
	<description>by Creative Commons</description>
	<lastBuildDate>Mon, 09 Nov 2009 17:29:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creative Commons Drupal Module &#8212; GSoC 2009</title>
		<link>http://labs.creativecommons.org/2009/09/03/creative-commons-drupal-module-gsoc-2009/</link>
		<comments>http://labs.creativecommons.org/2009/09/03/creative-commons-drupal-module-gsoc-2009/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 00:29:05 +0000</pubDate>
		<dc:creator>Blaise Alleyne</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[summer of code]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[GSoC]]></category>

		<guid isPermaLink="false">http://labs.creativecommons.org/?p=358</guid>
		<description><![CDATA[This past year was my last at the University of Toronto, making this summer my last chance to participate in the Google Summer of Code. I searched hard for a project and mentor organization that would suit my interests, and when I noticed that the Creative Commons Drupal module was in need of some developer [...]]]></description>
			<content:encoded><![CDATA[<p>This past year was my last at the <a href="http://individual.utoronto.ca/balleyne">University of Toronto</a>, making this summer my last chance to participate in the Google Summer of Code. I searched hard for a project and mentor organization that would suit my interests, and when I noticed that the <a href="http://drupal.org/project/creativecommons">Creative Commons Drupal module</a> was in need of some developer love, I knew exactly what I wanted to spend my summer doing. With <a href="http://creativecommons.org/about/people#112">John Doig</a> as my CC mentor, and <a href="http://drupal.org/user/48877">Kevin Reynen</a> (the module&#8217;s maintainer and initial author) as an unofficial Drupal mentor, I&#8217;ve been privileged to have spent the past few months updating and extending the module.</p>
<p>A couple years ago, development for Drupal 4.7 was begun, but it was never quite completed. <a href="http://drupal.org/project/creativecommons_lite">CC Lite</a> came to be the reliable choice for Drupal 6. However, CC Lite&#8217;s scope is limited &#8212; it allows you to attach a license to content in Drupal, but that&#8217;s about it. The main CC module&#8217;s vision is broader &#8212; to fully integrate CC technology with the Drupal platform &#8212; and I hope I&#8217;ve helped to realize that just a little.</p>
<p>Some of the module&#8217;s features:</p>
<ul>
<li>it uses the CC API for license selection and information (so, for example, when <a href="http://creativecommons.org/weblog/entry/15990">new license versions are released</a>, they become available on your Drupal site automatically)</li>
<li>you can set a site-wide default license/jurisdictoin, and user&#8217;s can set their own default license/jurisdiction</li>
<li>ccREL metadata is supported, output in RDFa (and, optionally, RDF/XML for legacy systems)</li>
<li>supports CC0, along with the 6 standard licenses and the Public Domain Certification tool</li>
<li>you can control which licenses and metadata fields are available to users</li>
<li>basic support for the Views API has been added (including a default /creativecommons view)</li>
<li>there&#8217;s a CC site search option</li>
</ul>
<p>The module is still listed as a beta release, as some folks have been submitting bug fixes and patches over the past few weeks, though it&#8217;s quite usable. Special thanks to <a href="http://drupal.org/user/463154">Turadg Aleahmad</a>, who&#8217;s helped with a lot of the recent bug fixes towards the end of the GSoC term, and committed to being active in future development. If you&#8217;re into Drupal development, we could use help with testing, and any translations would be greatly appreciated too.</p>
<p>Right now, the focus is on getting to a stable release, but we&#8217;ve got lots of ideas for the future too. Thanks to John and Kevin for their support through the summer, and to Turadg for his recent help. I look forward to seeing the module put to good use!</p>
<p><a href="http://drupal.org/project/creativecommons/"><strong>Check it out!</strong></a></p>
<p><em>I&#8217;m a musician, writer, software developer, free culture / free software advocate and recent graduate of the University of Toronto &#8212; get in touch at <a href="http://blaise.ca/">http://blaise.ca/</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.creativecommons.org/2009/09/03/creative-commons-drupal-module-gsoc-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developers landing page revamp</title>
		<link>http://labs.creativecommons.org/2009/08/11/developers-landing-page-revamp/</link>
		<comments>http://labs.creativecommons.org/2009/08/11/developers-landing-page-revamp/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 20:08:22 +0000</pubDate>
		<dc:creator>Greg Grossmeier</dc:creator>
				<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://labs.creativecommons.org/?p=336</guid>
		<description><![CDATA[If you haven&#8217;t looked at the Developers landing page on the Creative Commons wiki lately, you&#8217;re missing out!  We&#8217;ve recently put a lot of effort into reorganizing the information, making the important things easier to find, and overall just making the whole place a bit more welcoming.

First of all, we&#8217;ve made the semantic split [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t looked at the <a href="http://wiki.creativecommons.org/Developers">Developers</a> landing page on the Creative Commons wiki lately, you&#8217;re missing out!  We&#8217;ve recently put a lot of effort into reorganizing the information, making the important things easier to find, and overall just making the whole place a bit more welcoming.</p>
<p><img src="http://labs.creativecommons.org/files/2009/08/developer_redesign_screenshot1.png" alt="developer_redesign_screenshot" title="developer_redesign_screenshot" width="500" height="387" class="alignnone size-full wp-image-342" /></p>
<p>First of all, we&#8217;ve made the semantic split between information for <a href="http://wiki.creativecommons.org/Desktop_Integration">desktop-based development</a> and <a href="http://wiki.creativecommons.org/Web_Integration">web-based development</a>.  At each page there is a list (and short description) of the various tools to help you integrate CC-license metadata functionality and a short list of <a href="http://wiki.creativecommons.org/Developer_challenges">open Developer Challenges</a>.  These challenges are things the developer community think would be cool to have; a wishlist everyone can help with!</p>
<p>Also, we&#8217;re starting to produce some more &#8220;HowTo&#8221; guides for developers who are interested in the best practices of integrating CC-license metadata.  Thus far we have one for <a href="http://wiki.creativecommons.org/Web_Integration/HowTo">Web Integration</a> which lists the various ways a service could support CC licenses with best practices examples (pictoral and code) of how they did it.  See, for example, the page on <a href=http://wiki.creativecommons.org/Web_Integration/FileUploadExample>adding license choice when uploading content</a>.</p>
<p>We hope this redesign will make it easier for developers to find the information they need to improve their services.  If you have any other suggestions, don&#8217;t hesitate to send an email to <a href="mailto:greg@creativecommons.org">greg@creativecommons.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.creativecommons.org/2009/08/11/developers-landing-page-revamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>License Engine path changes</title>
		<link>http://labs.creativecommons.org/2009/07/21/license-engine-path-changes/</link>
		<comments>http://labs.creativecommons.org/2009/07/21/license-engine-path-changes/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 23:19:57 +0000</pubDate>
		<dc:creator>Nathan Yergler</dc:creator>
				<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://labs.creativecommons.org/?p=332</guid>
		<description><![CDATA[We just pushed out a resolution to Issue 381, updating the path to the license engine.  The license engine (the cc.engine application) is responsible for handling the license selection portions of the website as well as the deeds.  Some background may be helpful.
When we launched CC0 earlier this year we made a conscious [...]]]></description>
			<content:encoded><![CDATA[<p>We just pushed out a resolution to <a href="http://code.creativecommons.org/issues/issue381">Issue 381</a>, updating the path to the license engine.  The license engine (the <a href="http://code.creativecommons.org/viewsvn/cc.engine/">cc.engine</a> application) is responsible for handling the license selection portions of the website as well as the deeds.  Some background may be helpful.</p>
<p>When we launched CC0 earlier this year we made a conscious decision to locate the deed on a different path than the rest of the license deeds.  CC0 is a <em>waiver</em>, not a <em>license</em>, so the deed appropriately is located at <a href="http://creativecommons.org/publicdomain/zero/1.0/">http://creativecommons.org/publicdomain/zero/1.0/</a> (as opposed to the license deeds which URLs that look like <a href="http://creativecommons.org/licenses/by/3.0/">http://creativecommons.org/licenses/by/3.0/</a>).  At the time we decided to leave the CC0 chooser in the same group as the other choosers.  This unfortunately gave us a URL that contained <code>license</code> in it &#8212; <code>http://creativecommons.org/license/zero/</code> &#8212; which caused confusion for some users.  Is it a license or isn&#8217;t it?</p>
<p>It&#8217;s not.  </p>
<p>So starting this afternoon we&#8217;ve relocated the license engine to <a href="http://creativecommons.org/choose">http://creativecommons.org/choose</a> and CC0 to <a href="http://creativecommons.org/choose/zero">http://creativecommons.org/choose/zero</a>.  Redirects are in place so you shouldn&#8217;t notice any changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.creativecommons.org/2009/07/21/license-engine-path-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git-svn with svn:externals</title>
		<link>http://labs.creativecommons.org/2009/07/21/git-svn-with-svnexternals/</link>
		<comments>http://labs.creativecommons.org/2009/07/21/git-svn-with-svnexternals/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 18:16:10 +0000</pubDate>
		<dc:creator>Nathan Yergler</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[gcs]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[git-svn]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://labs.creativecommons.org/?p=328</guid>
		<description><![CDATA[We&#8217;ve been slowly but surely moving projects from Subversion to git, but there are still large pieces of code that are sort of deadlocked in Subversion.  We make extensive use of svn:externals in our repository as a way to pull in dependencies and shared code (both within our repository and from other repositories, like [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been slowly but surely moving projects from Subversion to git, but there are still large pieces of code that are sort of deadlocked in Subversion.  We make extensive use of <code>svn:externals</code> in our repository as a way to pull in dependencies and shared code (both within our repository and from other repositories, like <a href="http://pypi.python.org/pypi/zc.buildout">zc.buildout&#8217;s</a> bootstrap).  This means that in order to convert something like the license engine (cc.engine) we need to also convert cc.license (which uses license_xsl), license.rdf and i18n.  Of course, the <a href="http://api.creativecommons.org">API</a> also uses license_xsl and the main site uses license.rdf.  Taking the time to move all of that wholesale isn&#8217;t something we have the time or desire to do right now.  It&#8217;s not just converting the repository &#8212; that&#8217;s the easy part; converting the deployments and surrounding tools is the real pain.</p>
<p>Last week I decided I wanted to use git to work on code currently in Subversion (my supporting tool chain really is that much better for git) and decided to check it out using git-svn.  And once again I was burned by our use of svn:externals.  So I wrote <strong>gsc</strong> &#8212; git subversion clone.  You can read more details <a href="http://yergler.net/blog/2009/07/21/git-svn-and-svnexternals/">on my blog</a> or find the code <a href="http://gitorious.org/gsc">on gitorious</a>.</p>
<p>Incidentally, cleaning up that dependency graph is very much on our radar.  I&#8217;m hoping to land work that we started last summer this fall that will remove some duplicated code and clean up the dependencies of the remaining code.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.creativecommons.org/2009/07/21/git-svn-with-svnexternals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New validator released!</title>
		<link>http://labs.creativecommons.org/2009/01/06/new-validator-released/</link>
		<comments>http://labs.creativecommons.org/2009/01/06/new-validator-released/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 18:52:16 +0000</pubDate>
		<dc:creator>asheesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[license engine]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[rdfa]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[summer of code]]></category>

		<guid isPermaLink="false">http://labs.creativecommons.org/?p=254</guid>
		<description><![CDATA[This past summer, Hugo Dworak worked with us (thanks to Google Summer of Code) on a new validator. This work was greatly overdue, and we are very pleased that Google could fund Hugo to work on it. Our previous validator had not been updated to reflect our new metadata standards, so we disabled it some [...]]]></description>
			<content:encoded><![CDATA[<p>This past summer, Hugo Dworak worked with us (<a href="http://labs.creativecommons.org/2008/05/26/license%E2%80%91oriented-metadata-validator-and-viewer-the-development-has-just-started/">thanks to Google Summer of Code</a>) on a new validator. This work was greatly overdue, and we are very pleased that Google could fund Hugo to work on it. Our previous validator had not been updated to reflect our new metadata standards, so we disabled it some time ago to avoid creating further confusion. The textbook on CC metadata is the <a href="http://wiki.creativecommons.org/CcREL">&#8220;Creative Commons Rights Expression Language&#8221;, or ccREL</a>, which specifies the use of RDFa on the web. (If this sounds like keyword soup, rest assured that the <a href="http://creativecommons.org/license/">License Engine</a> generates HTML that you can copy and paste; that HTML is fully compliant with ccREL.) We hoped Hugo&#8217;s work on a new validator would let us offer a validator to the Creative Commons community so that publishers can test their web pages to make sure they encode the information they intended.</p>
<p>Hugo&#8217;s work was a success; he <a href="http://labs.creativecommons.org/2008/08/16/license-oriented-metadata-validator-and-viewer-summertime-is-winding-up/">announced in August 2008 a test version of the validator</a>. He built on top of the work of others: the new validator uses the <a href="http://pylonshq.com/">Pylons</a> web framework, <a href="http://code.google.com/p/html5lib/">html5lib</a> for HTML parsing and tokenizing, and <a href="http://rdflib.net/">RDFlib</a> for working with RDF. He shared his source code under the recent free software license built for network services, <a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>.</p>
<p>So I am happy to announce that the test period is complete, and we are now running the new code at <a href="http://validator.creativecommons.org/">http://validator.creativecommons.org/</a>. Our thanks go out to Hugo, and we look forward to the new validator gaining some use as well as hearing your feedback. If you want to contribute to the validator&#8217;s development or check it out for any reason, take a look at <a href="http://wiki.creativecommons.org/CcValidator">the documentation</a> on the CC wiki.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.creativecommons.org/2009/01/06/new-validator-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>liblicense 0.8.1: The bugfixiest release ever</title>
		<link>http://labs.creativecommons.org/2008/12/25/liblicense-081-the-bugfixiest-release-ever/</link>
		<comments>http://labs.creativecommons.org/2008/12/25/liblicense-081-the-bugfixiest-release-ever/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 03:46:43 +0000</pubDate>
		<dc:creator>asheesh</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[embedding]]></category>
		<category><![CDATA[license]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[sanity]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://labs.creativecommons.org/?p=251</guid>
		<description><![CDATA[I&#8217;m greatly pleased to announce liblicense 0.8.1.  Steren and Greg found a number of major issues (Greg found a consistent crasher on amd64, and Steren found a consistent crasher in the Python bindings).  These issues, among
some others, are fixed by the wondrous liblicense 0.8.1.  I mentioned to Nathan Y. that liblicense is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m greatly pleased to announce liblicense 0.8.1.  Steren and Greg found a number of major issues (Greg found a consistent crasher on amd64, and Steren found a consistent crasher in the Python bindings).  These issues, among<br />
some others, are fixed by the wondrous liblicense 0.8.1.  I mentioned to Nathan Y. that liblicense is officially &#8220;no longer ghetto.&#8221;</p>
<p>The best way enjoy liblicense is from our Ubuntu and Debian package repository, at <a href="http://mirrors.creativecommons.org/packages/">http://mirrors.creativecommons.org/packages/</a>.  More information on what liblicense does is <a href="http://wiki.creativecommons.org/liblicense">available on our wiki page about liblicense</a>. You can also get them in fresh Fedora 11 packages.  And the source tarball is available for <a href="https://sourceforge.net/project/showfiles.php?group_id=80503&amp;package_id=238700&amp;release_id=649438">download from sourceforge.net</a>.</p>
<p>P.S. MERRY CHRISTMAS!</p>
<p>The full ChangeLog snippet goes like this:</p>
<p>liblicense 0.8.1 (2008-12-24):<br />
* Cleanups in the test suite: test_predicate_rw&#8217;s path joiner finally works<br />
* Tarball now includes data_empty.png<br />
* Dynamic tests and static tests treat $HOME the same way<br />
* Fix a major issue with requesting localized informational strings, namely that the first match would be returned rather than all matches (e.g., only the first license of a number of matching licenses). This fixes the Python bindings, which use localized strings.<br />
* Add a cooked PDF example that actually works with exempi; explain why that is not a general solution (not all PDFs have XMP packets, and the XMP packet cannot be resized by libexempi)<br />
* Add a test for writing license information to the XMP in a PNG<br />
* Fix a typo in exempi.c<br />
* Add basic support for storing LL_CREATOR in exempi.c<br />
* In the case that the system locale is unset (therefore, is of value &#8220;C&#8221;), assume English<br />
* Fix a bug with the TagLib module: some lists were not NULL-terminated<br />
* Use calloc() instead of malloc()+memset() in read_license.c; this improves efficiency and closes a crasher on amd64<br />
* Improve chooser_test.c so that it is not strict as to the *order* the results come back so long as they are the right licenses.<br />
* To help diagnose possible xdg_mime errors, if we detect the hopeless application/octet-stream MIME type, fprintf a warning to stderr.<br />
* Test that searching for unknown file types returns a NULL result rather than a segfault.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.creativecommons.org/2008/12/25/liblicense-081-the-bugfixiest-release-ever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>License-oriented metadata validator and viewer: summertime is winding up</title>
		<link>http://labs.creativecommons.org/2008/08/16/license-oriented-metadata-validator-and-viewer-summertime-is-winding-up/</link>
		<comments>http://labs.creativecommons.org/2008/08/16/license-oriented-metadata-validator-and-viewer-summertime-is-winding-up/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 20:41:50 +0000</pubDate>
		<dc:creator>Hugo Dworak</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[license]]></category>
		<category><![CDATA[licenses]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[rdfa]]></category>
		<category><![CDATA[summer of code]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://labs.creativecommons.org/?p=157</guid>
		<description><![CDATA[Google Summer of Code 2008 approaches its end, as less than forty-eight hours are left to submit the code that will then be evaluated by mentors, therefore it is fitting to pause for a moment and sum up the work that has been done with regard to the license-oriented metadata validator and viewer and to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/soc/2008/">Google Summer of Code 2008</a> approaches <a href="http://code.google.com/soc/2008/faqs.html#0.1_timeline" title="Google Summer of Code 2008 Timeline">its end</a>, as less than forty-eight hours are left to submit the code that will then be evaluated by mentors, therefore it is fitting to pause for a moment and sum up the work that has been done with regard to the license-oriented metadata validator and viewer and to confront it with <a href="http://wiki.creativecommons.org/Rewrite_Metadata_Validator/SoC_2008#Proposed_timeline">the original proposal for the project</a>.</p>
<p>A Web application capable of parsing and displaying license information embedded in both <a href="http://www.w3.org/TR/2006/REC-xml-20060816/#sec-well-formed">well-formed</a> and ill-formed Web pages has been developed. It supports the following means of embedding license information: <a href="http://dublincore.org/documents/dcq-html/">Dublin Core metadata</a>, <a href="http://www.w3.org/TR/rdfa-syntax/">RDFa</a>, <a href="http://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML</a> linked externally or embedded (utilising <a href="http://www.ietf.org/rfc/rfc2397.txt">the <span style="font-family: monospace">data</span> <abbr title="Uniform Resource Locator">URL</abbr> scheme</a>) using the <span style="font-family: monospace">link</span> and <span style="font-family: monospace">a</span> elements, and RDF/XML embedded in a comment or as an element (the last two being deprecated). This functionality has been proven by unit testing. The source code of a Web page can be uploaded or pasted by a user, there is also a possibility to provide a <a href="http://www.ietf.org/rfc/rfc3986.txt"><abbr title="Uniform Resource Identifier">URI</abbr></a> for the Web application to analyse it. The software has been written in <a href="http://www.python.org/">Python</a> and uses <a href="http://pylonshq.com/">the Pylons Web Framework</a> and <a href="http://genshi.edgewall.org/">the Genshi toolkit</a>. Should you be willing to test this <a href="http://lynx.isc.org/">Lynx</a>-friendly application, please visit <a href="http://validator-beta.creativecommons.org/" title="The temporary address of the license validator" rel="nofollow">its Web site</a>.</p>
<p>The Web application itself uses a library called “libvalidator”, which in turn is powered by cc.license (a library developed by Creative Commons that returns information about a given license), <a href="http://www.w3.org/2007/08/pyRdfa/">pyRdfa</a> (a distiller that generates the <a href="http://www.w3.org/RDF/"><abbr title="Resource Description Framework">RDF</abbr></a> triples from an (X)HTML+RDFa file), <a href="http://code.google.com/p/html5lib/">html5lib</a> (an <abbr title="HyperText Markup Language">HTML</abbr> parser/tokenizer), and <a href="http://rdflib.net/">RDFLib</a> (a library for working with RDF). The choice of this set of tools has not been obvious and the library had undergone several redesigns, which included removing the code that employed <a href="http://cthedot.de/encutils/">encutils</a>, <a href="http://www.w3.org/TR/xml-c14n"><abbr title="Extensible Markup Language">XML</abbr> canonicalization</a>, <a href="http://utidylib.berlios.de/">µTidylib</a>, and <a href="http://www.crummy.com/software/BeautifulSoup/">the BeautifulSoup</a>. The idea of using <a href="http://librdf.org/">librdf</a>, <a href="http://rdfa.digitalbazaar.com/librdfa/">librdfa</a>, rdfadict has been abandoned. The source code of both the Web application (licensed under <a href="http://www.gnu.org/licenses/agpl-3.0.txt">the GNU Affero General Public License version 3</a> or newer) and its core library (licensed under <a href="http://www.gnu.org/licenses/lgpl-3.0.txt">the GNU Lesser General Public License version 3</a> or newer) is available through <a href="http://code.creativecommons.org/viewgit">the Git repositories of Creative Commons</a>.</p>
<p>In contrast to the contents of the original proposal, the following goals have not been met: traversal of special links, syndication feeds parsing, statistics, and cloning the layout of the Creative Commons Web site. However, these were never <a href="http://wiki.creativecommons.org/Rewrite_Metadata_Validator">mandatory requirements for the Web application</a>. It is also worth noting that the software has been written from scratch, although a now-defunct metadata validator existed. Nevertheless, the development does not end with Google Summer of Code — these and several new features (such as validation of multimedia files via liblicense and support for different language versions) are planned to be added, albeit at a slower pace.</p>
<p>After the test period, the validator will be available under <a href="http://validator.creativecommons.org/">http://validator.creativecommons.org/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.creativecommons.org/2008/08/16/license-oriented-metadata-validator-and-viewer-summertime-is-winding-up/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>License-oriented metadata validator and viewer: libvalidator</title>
		<link>http://labs.creativecommons.org/2008/07/08/license-oriented-metadata-validator-and-viewer-libvalidator/</link>
		<comments>http://labs.creativecommons.org/2008/07/08/license-oriented-metadata-validator-and-viewer-libvalidator/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 12:20:56 +0000</pubDate>
		<dc:creator>Hugo Dworak</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[license]]></category>
		<category><![CDATA[licenses]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[summer of code]]></category>
		<category><![CDATA[rdfa]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://labs.creativecommons.org/?p=110</guid>
		<description><![CDATA[As the <a href="http://code.google.com/soc/2008/">Google Summer of Code 2008</a> midterm evaluation <a href="http://code.google.com/soc/2008/faqs.html#0.1_timeline">deadline is approaching</a>, it is a good time to report the progress when it comes to the license-oriented metadata validator and viewer.]]></description>
			<content:encoded><![CDATA[<p>As the <a href="http://code.google.com/soc/2008/">Google Summer of Code 2008</a> midterm evaluation <a href="http://code.google.com/soc/2008/faqs.html#0.1_timeline">deadline is approaching</a>, it is a good time to report the progress when it comes to the license-oriented metadata validator and viewer.</p>
<p>The source code is located in two dedicated <a href="http://git.or.cz/">git</a> repositories. The first being <a href="http://code.creativecommons.org/viewgit?r=validator.git">validator</a>, which contains the source code of the Web application based on <a href="http://pylonshq.com/">Pylons</a> and <a href="http://genshi.edgewall.org/">Genshi</a>. The second repository is <a href="http://code.creativecommons.org/viewgit?r=libvalidator.git">libvalidator</a>, which hosts the files that constitute the core library that the project will utilise. This is the component that the development focuses on right now.</p>
<p>The purpose of the aforementioned library is to parse input files, scan them for relevant license information, and output the results in a machine-readable fashion. More precisely, its workflow is the following: parse the file and associated <a href="http://www.w3.org/RDF/"><abbr title="Resource Description Framework">RDF</abbr></a> information so that a complete set of RDF data is available, filter the results with regard to license information (not only related to the document itself, but also to other objects described within it), and return the results in a manner preferable for the usage by the Web application.</p>
<p><a href="http://www.w3.org/2007/08/pyRdfa/">pyRdfa</a> seems to be the best tool for the parsing stage so far. It handles the current recommendation for embedding license metadata (namely <a href="http://www.w3.org/TR/rdfa-syntax/">RDFa</a>) as well as other non-deprecated methods: linking to an external or embedded (using <a href="http://www.ietf.org/rfc/rfc2397.txt">the &#8220;data&#8221; URL scheme</a>) RDF files and utilising the <a href="http://dublincore.org/">Dublin Core</a>. The significant lacking is handling of the invalid direct embedding of <a href="http://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML</a> within the <a href="http://www.w3.org/MarkUp/"><abbr title="HyperText Markup Language">HTML</abbr>/<abbr title="Extensible Hypertext Markup Language">XHTML</abbr></a> source code (as an element or in a comment) and this is resolved by first capturing all such instances using a regular expression and then parsing the data just as external RDF/XML files.</p>
<p>Once the RDF triples are extracted, one can use <a href="http://www.w3.org/TR/rdf-sparql-query/"><acronym title="SPARQL Protocol and RDF Query Language">SPARQL</acronym></a> to narrow the results just to the triples related to the licensed objects. Both <a href="http://librdf.org/">librdf</a> and <a href="http://rdflib.net/">rdflib</a> support this language. Moreover, the RDF/XML related to the license must be parsed, so that its conditions (permissions, requirements, and restrictions) are then presented to the user.</p>
<p>The library takes advantage of standard Python tools such as <a href="http://pypi.python.org/pypi/zc.buildout/">Buildout</a> and <a href="http://www.somethingaboutorange.com/mrl/projects/nose/">nose</a>. When it is completed, the project will be all about writing a Web application that will serve as an interface to libvalidator.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.creativecommons.org/2008/07/08/license-oriented-metadata-validator-and-viewer-libvalidator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flickr Image Re-Use for OpenOffice.org update</title>
		<link>http://labs.creativecommons.org/2008/06/13/flickr-image-re-use-for-openofficeorg-updates/</link>
		<comments>http://labs.creativecommons.org/2008/06/13/flickr-image-re-use-for-openofficeorg-updates/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 20:45:24 +0000</pubDate>
		<dc:creator>Mihai Husleag</dc:creator>
				<category><![CDATA[Add-In]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[summer of code]]></category>
		<category><![CDATA[flickr]]></category>

		<guid isPermaLink="false">http://techblog.creativecommons.org/2008/06/13/flickr-image-re-use-for-openofficeorg-updates/</guid>
		<description><![CDATA[I`m happy to announce that i succeeded in doing, in a basic manner, all the 3 requirements for this project : search photos by tags, by license and to insert one photo into a document.
Here you have a screenshot made after a search was done on tag mountains  and license Attribution License :

Also here [...]]]></description>
			<content:encoded><![CDATA[<p>I`m happy to announce that i succeeded in doing, in a basic manner, all the 3 requirements for this project : search photos by tags, by license and to insert one photo into a document.</p>
<p>Here you have a screenshot made after a search was done on tag <strong>mountains </strong> and license <strong>Attribution License</strong> :</p>
<p><a href="http://techblog.creativecommons.org/files/2008/06/ccflickr1.JPG" title="Results after a search on a tag and a license"><img src="http://techblog.creativecommons.org/files/2008/06/ccflickr1.JPG" alt="Results after a search on a tag and a license" /></a></p>
<p>Also here you have the screenshot with the photo inserted into a <a href="http://techblog.creativecommons.org/files/2008/06/ccflickr2.JPG" title="Photo">document </a>. As you can see the image was inserted with a default size, but this will be changed later.</p>
<p>What i`ll try to do next :</p>
<ul>
<li>add menus to each image with the available sizes</li>
<li>improve the searching</li>
<li>inserting the image into the document with the selected size</li>
<li>adding the license into the document</li>
<li>more testing</li>
</ul>
<p>I hope, that in less than 2 weeks i will make available a good version.</p>
<p>Any comments or suggestions are well appreciated.</p>
<p>ps : I came across this <a href="http://www.freesoftwaremagazine.com/columns/2008_google_summer_code_21_projects_im_excited_about" title="2008_google_summer_code_21_projects_im_excited_about">article</a>. &#8220;I for one can’t wait.&#8221; says <a href="http://www.freesoftwaremagazine.com/user/37372" title="Andrew Min">Andrew Min</a> about this project. I`ll try to not disappoint him :)</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.creativecommons.org/2008/06/13/flickr-image-re-use-for-openofficeorg-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wait, they test web apps now?</title>
		<link>http://labs.creativecommons.org/2008/06/10/wait-they-test-web-apps-now/</link>
		<comments>http://labs.creativecommons.org/2008/06/10/wait-they-test-web-apps-now/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 18:14:09 +0000</pubDate>
		<dc:creator>Frank Tobia</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[interns 2008]]></category>

		<guid isPermaLink="false">http://techblog.creativecommons.org/2008/06/10/wait-they-test-web-apps-now/</guid>
		<description><![CDATA[Greetings all. I&#8217;m Frank and I&#8217;m the other tech intern at CC for 2008.  I mainly focus on writing Python, though I&#8217;m comfortable with Java and I&#8217;ll deal with C when sufficiently coerced.
For my first task, I&#8217;ll be improving the test suite for the &#60;a href=&#8221;http://api.creativecommons.org/docs/&#8221;&#62;web service API&#60;/a&#62;. Currently it runs on &#60;a href=&#8221;http://cherrypy.org/&#8221;&#62;CherryPy&#60;/a&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Greetings all. I&#8217;m Frank and I&#8217;m the other tech intern at CC for 2008.  I mainly focus on writing Python, though I&#8217;m comfortable with Java and I&#8217;ll deal with C when sufficiently coerced.</p>
<p>For my first task, I&#8217;ll be improving the test suite for the &lt;a href=&#8221;http://api.creativecommons.org/docs/&#8221;&gt;web service API&lt;/a&gt;. Currently it runs on &lt;a href=&#8221;http://cherrypy.org/&#8221;&gt;CherryPy&lt;/a&gt; and the test suite is brittle and somewhat broken. I&#8217;ll be porting the tests over to &lt;a href=&#8221;http://pythonpaste.org/&#8221;&gt;Python Paste&lt;/a&gt;, getting them all to pass, and checking code coverage to see where more tests would be beneficial (testing is fun after all). The overarching goal is to get the API running on &lt;a href=&#8221;http://pylonshq.com/&#8221;&gt;Pylons&lt;/a&gt; so CC has fewer server stacks to maintain.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.creativecommons.org/2008/06/10/wait-they-test-web-apps-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
