cc-devel AT lists.ibiblio.org
Subject: Developer discussion for Creative Commons technology and tools
List archive
Re: [cc-devel] Legal code and technical implementation: your input wanted
- From: Dan Mills <dan AT creativecommons.org>
- To: Maarten Zeinstra <mz AT kl.nl>
- Cc: cc-devel AT lists.ibiblio.org
- Subject: Re: [cc-devel] Legal code and technical implementation: your input wanted
- Date: Thu, 18 Apr 2013 11:20:49 -0700
Can you explain a bit more what you mean? Not sure I get how it's different from what I'm suggesting.
Dan
On Thursday, April 18, 2013 at 11:19 AM, Dan Mills wrote:
This is not actually about Markdown.This is about having a minimal document that we transform into the page the user sees, by adding styling, headers, errata, links to translations, or whatever the legal team wants to add. Markdown is just one example of a format that would make that easy.I completely agree that there should be some immutable version of the license, the discussion is about what that should look like.DanOn Thursday, April 18, 2013 at 11:14 AM, Maarten Zeinstra wrote:
But really that is just silly.What legal is requesting is a way to get to the 'real' legal code, but actually they are asking for a simple representation of that code. As I see it they want something like a 'print-version' of the legal code. That would still mean that there is markup in some way.I would have one basic html document, slightly different than Kinkades example (I would stack css classes), and have two pages. One for web viewing and another completely dressed down for print.I think given the option of a print version or a markdown version the legal-team will probably choose the former.--Kennisland| www.kennisland.nl | t +31205756720 | m +31643053919 | @mzeinstra
On Apr 18, 2013, at 20:10 , Dan Mills <dan AT creativecommons.org> wrote:No, end users would use HTML when used in a web context, of course. But consider the two use-cases I mentioned:* Adding translation links at the bottom of the legal code page.* Embedding the legal code into the deed in some manner.Both are HTML for the end user, but *different HTML*.So again, the point is that we need:1) a *minimal* format to express the licenses themselves, and nothing more.2) some tooling to take those licenses and format them as needed depending on context.And although we could write that tooling today with the HTML as-is, I would *much* rather write tools that know less about the license content.DanOn Thursday, April 18, 2013 at 10:57 AM, Greg Grossmeier wrote:
I guess the miscommunication here is:what tooling will you build that needs to use something other than HTMLto display the license?What use-case do you have in mind, Dan?Greg<quote name="Dan Mills" date="2013-04-18" time="10:50:26 -0700">Hi,The licenses still contain too much information which is not actually part of the licenses. Just open that link, view source, and behold.Of course we could parse it, but how would you decide what you can remove and what is part of the license? We need to minimize the amount of code that has such decisions embedded in it.DanOn Thursday, April 18, 2013 at 10:45 AM, Nathan Kinkade wrote:All of the CC licenses validate as XHTML 1.0 Transitional. There area lot of really great XML parsers out there for manipulating suchdocuments. It would be trivial for us to clean up the HTML in the 4.0licenses to more minimal, using better nesting of id and classes so wecan use more accurate CSS selectors, and _javascript_ can more reliablynavigate the DOM. I have already started this when I put together theDraft 3 of the 4.0 licenses by giving a unique ID to each section andsubsection:NathanOn Thu, Apr 18, 2013 at 1:30 PM, Dan Mills <dan AT creativecommons.org (mailto:dan AT creativecommons.org)> wrote:Hi Bjorn & Maarten,I think you're missing a key point that Kat is making: the legal team islooking to change the pages that the licenses are on, to add translationlinks. I also know that they are thinking about ways of including thelicenses inside the deeds, which would also require some changes to thelicense pages.So the point is not "what do you think of Markdown" in a vacuum, it's: whatformat can we store that contains only the absolute minimum to beconsidered to be part of the licenses, so that we can build tooling to styleit appropriately depending on the context.We could obviously write tooling that takes the current HTML and transformsit, but such tooling would need to be highly content-aware: it would need toknow which parts of the HTML file it can remove or change, and which ones itcannot. We likely can't eliminate that completely regardless of the format,but we should try to minimize it.Markdown seems pretty close to the minimal format that lets us express whatwe need. We could also continue to use HTML, but we'd need to use a minimalsubset--not what we use now (which includes images, scripts, links not partof the license, etc).So, looking at your (Maarten's) four points with this in mind:1. Both markdown and HTML (HyperText Markup Language) are markuplanguages, it seems silly to convert one markup language into another.This is not a criteria for choosing a format to use.2. Adding markdown to the infrastructure creates extra dependancies ona conversion between markdown and HTML, one that will probably takesmore skill and time than doing these licenses immediately in htmlIt does, but the alternative is an HTML->HTML transformation, which isarguably more complex because HTML is so expressive. We could make it workif we enforced a very limited subset of HTML as the input, though.3. Markdown is not a standard and we cannot rely on it to stay thesame, HTML is.This is not actually true, the history of HTML is littered with examples:But you're right that Markdown is not currently led by any large standardsbody. I think there are two mitigating factors:(a) The primary uses for these files will be:- to be transformed for general consumption, and- to serve as an archive.The first is internal to CC only, the second requires at most that the filebe readable at some point in the future without our help. In other words, wedo not need every client (browser) to natively understand the format.(b) Markdown is so incredibly simple, it's hard to imagine a future wheresomeone will be unable to read it:4. Markdown basically is short hand for HTML, again why would we use it?Simplicity, and as a forcing function to get us to stop putting inextraneous content in our licenses.Dan_______________________________________________cc-devel mailing list_______________________________________________cc-devel mailing list--| Greg Grossmeier GPG: B2FA 27B1 F7EB D327 6B8E || http://grossmeier.net A18D 1138 8E47 FAC8 1C7D |_______________________________________________cc-devel mailing list_______________________________________________
cc-devel mailing list
cc-devel AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/cc-devel
-
Re: [cc-devel] Legal code and technical implementation: your input wanted
, (continued)
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
BjornW, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Dan Mills, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Nathan Kinkade, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Dan Mills, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Greg Grossmeier, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Maarten Zeinstra, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Dan Mills, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Maarten Zeinstra, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Maarten Zeinstra, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Dan Mills, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Dan Mills, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Maarten Zeinstra, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Dan Mills, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Diane Peters, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Maarten Zeinstra, 04/22/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Greg Grossmeier, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Dan Mills, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Nathan Kinkade, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Dan Mills, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
BjornW, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, yangzi2008, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Nathan Yergler, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Dan Mills, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Maarten Zeinstra, 04/18/2013
- Re: [cc-devel] Legal code and technical implementation: your input wanted, Dan Mills, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Maarten Zeinstra, 04/18/2013
-
Re: [cc-devel] Legal code and technical implementation: your input wanted,
Dan Mills, 04/18/2013
Archive powered by MHonArc 2.6.24.