Introducing WP-CC

View 66 Comments »
Share |

Last Friday, on the freeculture.org mailing list, Lawrence Lessig (one of the foremost intellectuals of the Free Culture movement and arguably its primary legal scholar) responded to a comment about WordPress’ radicalness with,

of course, if it integrated CC licenses the way MT does, that would make it even better ….

Like many WP users, seeing it compared unfavourably with Movable Type raises my hackles. So I responded,

I’m not sure what integrating CC licenses would mean… all MT does it put in a bit of metadata that you can copy/paste into your WP template after going through the creativecommons.org wizard. It’s really pretty trivial.

In any case, I suppose I can make a WP plugin that lets you select a license and gives you a template-type tag that MT does. Still don’t see the point, though.

Et voila, I went and wrote 700 lines of php to save a minute or two of pasting here and there: behold WP-CC.

Actually, my site hadn’t been ‘properly’ marked either (ie. with RDF), not because it was hard to do but because I couldn’t couldn’t be bothered. Now that it is, WP-CC has come in use already.

(A few hours before I was done, Chris Davis—who made the excellent visual theme my website currently uses—pointed out that he had made a Per Post Copyright hack last May. Oops. However, WP-CC is not a hack, it’s a proper plugin. And per-post copyrights are on the roadmap. WP-CC is geared towards both simplicity of use and hardcore robustness. This will become obvious a couple releases down the road.)

Talking to masquerade (Robert Deaton) and Carthik Sharma in IRC led me to make a real admin menu interface (thanks for your help, guys!), so I figured I’d go the whole way and package it properly before even the first release, documentation and all.

I must emphasise that this is the first release, version 0.1—this plugin has a long way to go. By the time it’s 0.5, WP will have much more powerful, flexible and carefully implemented CC support than any publishing platform out there. It’s a dare—try us.

There are something things I can already think of for 0.2. Better integration with external tools (cclicense looks good). More specificity, in terms of (a) more precision in specifying author and work metadata and using the full range of multijurisdictional licenses and (b) more flexibility–such things as setting licenses for parts of your site, snippets of text or certain images. And I’ll be putting some thought into the architecture, perhaps even making tester classes. Not until after few weeks though.

Kazi Ferdous made WP-CC a nice header image (thanks!) and here we go: Download WP-CC 0.1. Get it while it’s hot!

Sidenote: this is my first code release ever. Rock on.

Related posts:

  1. Project Log for April 01 ’05
            Summary: Project Log for April 1 '05: wp-contactform and wp-cc....
  2. Metadata Musings
            Summary: Random metadata musings, and a note about language information....
  3. Kramer: A Plugin for Technorati Inbound Links
            Summary: On Kramer, a new plugin for WordPress that picks...
  4. Wow
            Summary: Thoughts on WP-CC, and an version update....
  5. Really Stupid Syndication
            Summary: RSS, Atom, etc. all suck. XHTML can already do...

  • http://www.aronchi.org/kblog Alessandro Ronchi k-blog

    Gennaio 24, 2005 on 3:01 am | In software | No Comments Firasd has made a CC plugin for wordpress, that let the user choice a CC license for his posts. You can read more and download it on: http://firasd.org/studio/wp/wp-cc/ http://www.firasd.org/weblog/2005/01/10/introducing-wp-cc and http://www.lessig.org/blog/archives/002386.shtml

  • http://www.aronchi.org/kblog/2005/01/10/gentoo-rpm-similar-command/ Alessandro Ronchi k-blog

    Gennaio 24, 2005 on 3:01 am | In software | No Comments Firasd has made a CC plugin for wordpress, that let the user choice a CC license for his posts. You can read more and download it on: http://firasd.org/studio/wp/wp-cc/ http://www.firasd.org/weblog/2005/01/10/introducing-wp-cc and http://www.lessig.org/blog/archives/002386.shtml

  • http://www.cyberlaw.se/kalle Karl Jonsson

    Cool! :-) Though, I agree that the need is limited. Once it's "done", getting it into the official WordPress releases might be a good idea, however. As, Lessig pointed out, the point is to make it idiot friendly (my word, not his). ;-)

  • http://www.cyberlaw.se/kalle Karl Jonsson

    Oh no! It's him again . . . ;-) Just out of curiosity, what other licenses are you considering?

  • http://firasd.org Firas

    Yeah, I hadn't really seen the need but I've grown to like the plugin, it's an interesting experiment with metadata if nothing else.

    I'm a bit uncomfortable with the GPL, so I may consider a BSD-type license. The reason I said I may switch is that I haven't exactly given too much thought to the options—just chose the GPL by default.

  • http://antti.vilpponen.net Antti

    Excellent work :) I'm going to give this a try as soon as I get home from work!

  • http://www.boobam.org William Loughborough

    Firas says "…an interesting experiment with metadata" and hoofuckingray for that. The "when" question about the Semantic Web and RDF-type metadata in general will be answered by generaliz(s)ing from such work. Sean Palmer did a little thing a few years back at http://www.uwimp.com that is a very preliminary stab at making most (all?) authoring more aware of the need to index as you create and this new thingie is further evidence that we can indeed get closer to making access' enhancement more quickly lead to truly Ambient Information.

    Love.

  • http://www.cyberlaw.se/kalle/index.php?p=238 Karl Jonsson’s Weblog

    CC Plugin for WordPress Released

    Firas Durri has just written a plugin for WordPress called WP-CC, that facilitates the use of Creative Commons licenses.

  • http://creativecommons.org/about/people#21 Mike Linksvayer

    Hi Firas, thanks for creating this, now noted on the CC weblog. For future versions you might want to take a look at our partner interface or web services. These will always make available the latest set of licenses, including those ported to other jurisdictions.

    One other tiny comment: In the example text you say "All content is by Bridget Jones …". It might be better to say in the example "All content by Bridget Jones …" (remove the is) as it is pretty common for bloggers to include content they didn't create.

    Great job, and congrats on your first code release!

  • http://karchner.com/blog Ross Notes

    Firas Durr gives the world a Creative Commons plugin for WordPress. Rock on.<img src="http://static.technorati.com/images/bubble_h17.gif&quot; align="right" border="0">

  • http://teuvo.vaisanen.name Stedi

    Installed on my testblog 1.5 beta 1 (11.1.2005), but in the admin ui, wp-admin/admin.php?page=wp-cc.php :

    Fatal error: Cannot redeclare cc_output_metadata() in /myfolder/wp-content/plugins/wp-cc.php on line 42

  • http://firasd.org Firas

    Stedi: Looks like the script failed to die after loading the Config page. Did the Config page finish loading and is it usable (ie. does it process your option changes?)

  • http://www.refundersrefuge.org/blog/ George

    Got this error:

    Fatal error: Call to undefined function: is_plugin_page() in /{root directory of my html files}/wordpress/wp-content/plugins/wp-cc.php on line 16

    Which version of WP is this for? I'm on 1.2.1. It looks like you are using 1.5 beta, so maybe that is the problem?

  • http://firasd.org Firas

    George: yeah, definitely. I should make it clearer on the download page, but it's not for 1.2.x.

  • http://www.theinflux.com/blog/2005/01/11/creative-commons-wordpress/ Everything Is In/Flux

    Creative Commons + WordPress!

    Via Lawrence Lessig’s blog I discovered the invention of WP-CC, a plugin for WordPress that lets you easily manage your Creative Commons license. I have previously discussed the inclusion of such a license in this space. You can see the license at t…

  • http://karchner.com/blog/archives/2005/01/11/some-rights-reserved/ Ross Notes

    Creative Commons plugin for WordPress. Rock on.<img src="http://static.technorati.com/images/bubble_h17.gif&quot; align="right" border="0">

  • http://ogum.metareciclagem.org/fff/index.php?p=884 fff

    firasd.org » Introducing WP-CC Vou instalar aqui.<img src="http://static.technorati.com/images/bubble_h17.gif&quot; align="right" border="0">

  • http://ogum.metareciclagem.org/fff fff

    firasd.org » Introducing WP-CC Vou instalar aqui.<img src="http://static.technorati.com/images/bubble_h17.gif&quot; align="right" border="0">

  • http://bluealpha.com/ Justin

    This is very exciting. I can't wait for the WP 1.5 release and give it a go. Thanks so much!

  • http://resonancedsky.jugem.cc/?eid=238 Resonanced Sky *note

    Introducing WP-CC(firasd.org) ã?®è¨˜äº‹ä¸‹ã?®æ–&sup1;ã?‹ã‚‰DLå?¯èƒ&frac12;ã?ªã‚ˆã?†ã?§ã?™ã€‚<img src="http://static.technorati.com/images/bubble_h17.gif&quot; align="right" border="0">

  • http://www.cs.grinnell.edu/~maynicho Nicholas E. May

    Why are you uncomfortable with the GNU GPL?

    Also, I thought I read somewhere that the plugin is for Windows,

    but could not find that again. Is it platform-independent?

  • http://nelson.freeculture.org Nelson Pavlosky

    Hey Firas, do you think that you could bill this as a project of "Free Culture Labs"? Downhill Battle has a "Lab", and we'd like to start developing software to support free culture as well. We already have another software project in the planning stages, an open-source cross-platform collaborative editor (or SubEthaEdit replacement) called CoEd. http://software.thecrypto.org/coed/

    I think that students developing open source software could potentially be a powerful force :-)

  • http://firasd.org Firas

    Nicholas: ah, I'm not wary of the GPL, I was just saying that I wanted to consider my options. However, by now it seems that GPL is the best way to 'protect my investment', so to speak (ie. to make sure that derived code is always available to the community.)

    About platform-compatibility: WP-CC is only dependent on WordPress; WP in turn is only dependent on PHP and MySQL. Any other aspects of the platform (operating system, etc.) don't matter.

  • http://firasd.org Firas

    Nelson: Sounds pretty good to me! But the question in my mind is, 'what does WP-CC gain by coming under the freeculture.org banner?' Hmm.

    PS. Actually, I'm warming to the idea, maybe being part of FC.o can help get WP-CC localized with translation files?

  • http://www.arielvercelli.org/blog/index.php?p=52 Ariel Vercelli

    Plug-in de WordPress para licencias Creative Commons

    Haca unos das que en la lista de freeculture.org vena circulando informacin y se venan intercambiando ideas sobre la posibilidad de desarrollar un plug-in para WordPress que facilite el trabajo de los autores al momento de seleccin de licencias …

  • http://rssbase.com RSSBASE.COM

    [IMG source] WordPress CC. Firas has created a Creative Commons plugin for WordPress, perhaps the most popular open source blog software. Now you can add a CC license to your WordPress blog with just a few clicks. [Creative Commons Blog - rss]<img src="http://static.technorati.com/images/bubble_h17.gif&quot; align="right" border="0">

  • http://rssbase.com/2005/01/11.html#a435 RSSBASE.COM

    WordPress CC. Firas has created a Creative Commons plugin for WordPress, perhaps the most popular open source blog software. Now you can add a CC license to your WordPress blog with just a few clicks. [Creative Commons Blog - rss]<img src="http://static.technorati.com/images/bubble_h17.gif&quot; align="right" border="0">

  • http://wordlog.com/archives/2005/01/13/wp-cc-plugin/ wordlog.com

    Firas took up Lawrence Lessig’s bait and whipped up WP-CC, a plugin for making it easy to use CC licenses for you WordPress posts. It looks neat, with it’s own plugin management page, and is, overall, an admirable piece of work for a first-plugin. In fact this is the first time Firas<img src="http://static.technorati.com/images/bubble_h17.gif&quot; align="right" border="0">

  • Anonymous

    Yes, it's quite likely, we have some international people on the mailing list. Mention that you need help with localization on the Discuss list.

  • http://nelson.freeculture.org Nelson Pavlosky

    That last comment was me, and I think that working with FreeCulture.org could be mutually beneficial. Mostly, don't you want to help out the student movement by getting our name out there? It's only fair, WP-CC would never have happened if both you and Lessig weren't on our mailing list ;-)

  • http://nelson.freeculture.org Nelson Pavlosky

    Also, this could be the beginning of a wave of student-built open source projects! How cool would it be to have hundreds of students developing free software? Help us get FC Labs started and maybe people will want to get involved with it and make awesome tools like WP-CC :-)

  • http://firasd.org Firas

    I'm won over by the idea—can I call it a freeculture.org project? (are you sure FC Labs is the term we'd end up using? kinda tacky to clone Downhill Battle)—but I hope you realize that WP-CC is *just a script*. It is not mind-blowing code.

  • http://www.semiologic.com Denis

    Seems something's wrong with wp-plugin-mgr and wp-cc: wp-cc is properly detected but displays as if it needed an update.

  • http://firasd.org Firas

    Denis: it does. I released a new version a couple days ago.

  • Tom

    Any chance of a version for 1.22? I dont feel like installing 1.5 until it's a non beta.

  • http://firasd.org Firas

    Tom: No, sorry. I want WP-CC to be very well made and the functions I need to hook into just aren't available in 1.2

  • http://nelson.freeculture.org Nelson Pavlosky

    It's OK that it's just a little plugin, a journey of a thousand miles begins with one step… or something cliched like that ;-)

    You're right, cloning Downhill Battle is a little boring, but hey, they didn't patent the idea, did they? :-D I'll bring up the question of what to call it on our next conference call.

    Which is today (Sunday 2005-01-16) at 3pm EST, if you're interested. E-mail me if you've forgotten the phone # or access code.

  • http://georgeal.com Allen George

    Hmm…like Stedi above, I have the same problem:

    "Fatal error: Cannot redeclare cc_output_metadata() in /home2/georgeal/public_html/wp-content/plugins/wp-cc.php on line 47"

    The admin interface doesn't even show up… Perhaps I did something wrong?

  • http://firasd.org Firas

    Allen: What version of WP, and what version of WP-CC?

  • http://georgeal.com Allen George

    WordPress 2005-01-15 from SVN.

    I pulled the latest copy of your plugin from SVN as well.

    If I use version 0.1.1 of your plugin, then I get the following error:

    "Fatal error: Cannot redeclare cc_output_metadata() in /home2/georgeal/public_html/wp-content/plugins/wp-cc.php on line 42"

    The only difference is line #.

  • http://firasd.org Firas

    Allen: Ok, I entered a ticket about this.

    I can think of a workaround, but that would mean making people upload more than one file to install, which I'm trying to avoid for as long as possible.

    In any case, this'll block the v0.2 release until fixed. If I can't reproduce it, can I email you to check possible fixed versions?

  • http://georgeal.com Allen George

    Hi,

    No problem! I'd be glad to help you out in any way :)

  • http://chicow4u.altervista.org/pivot/entry.php?id=92 Chico was here – …

    plugin per le creative-commons per WordPress. In sostanza questo plugin marca con la licenza il vostro blog, evitandovi di dover inserire voi nel template il codice html che vi viene fornito insieme alla licenza…<img src="http://static.technorati.com/images/bubble_h17.gif&quot; align="right" border="0">

  • http://www.jasongriffey.net/wp Jason

    I'm a little disappointed that it will only run on 1.5. :-( After all, MOST WP users aren't bleeding edge, and Mingus (1.2.2) is the current stable release.

    I suppose I'll just have to wait for an official 1.5 release before I can use this effectively.

  • http://firasd.org Firas

    Jason: hmm. I guess I might backport it.

    I'm just a bit wary of supporting two different sets of code..

  • http://www.buchmenschen.de/2005/01/21/wordpress-plus-cc-gleich-liebe/ Buchmenschen.

    WordPress plus CC gleich Liebe

    Firas hat ein Plugin für die Blogsoftware WordPress (unter der auch dieses Blog läuft) geschrieben, dass die Benutzung einer Creative-Commons-Lizenz für das Blog vereinfacht. Kein Rumgebastel in den Templates mehr nötig, einfach anklicken und geht….

  • http://www.aronchi.org/kblog/2005/01/24/creative-commons-plugin-for-wordpress/ Alessandro Ronchi k-

    http://www.firasd.org/weblog/2005/01/10/introduci… and <a href="http://www.lessig.org/blog/archives/002386.shtmlhttp://www.lessig.org/blog/archives/002386.shtml<… href=”http://www.technorati.com/cosmos/search.html?url=http://www.aronchi.org/kblog” target=”_blank”><img src="http://static.technorati.com/images/bubble_h17.gif&quot; align="right" border="0">

  • http://www.floggin.us/ Eric

    Just installed the recently released 1.5 and I am getting this error:

    <code>

    Fatal error: Cannot redeclare cc_output_metadata() (previously declared in /usr/sites/floggin.us/root/www/wp-content/plugins/wp-cc.php:42) in /usr/sites/floggin.us/root/www/wp-content/plugins/wp-cc.php on line 60

    </code>

    By looking at the comments, it seems common. I looked at the source and I cant figure out why this error would appear (I am not a PHP person but I used to code in it). The error line (line 60) is just the ending } for the cc_output_metadata() function. Line 42 is where the function is first declared.

  • Firas

    Eric: I fixed that a while ago.. I'll do another release soon.

  • http://www.floggin.us/ Eric

    oh, sorry, didn't know. *cry*

  • Mark

    Firas,

    Installed your plug-in (I believe correctly) and the WP-CC menu item shows up in Options however when I click it I get a blank page. I've checked permissions on both files (they are 0644). Not sure what else to try.

    Thanks.

  • Firas

    Mark: I think it's the same issue. I guess I'll do another release tomorrow with just this fixed.

  • http://firasd.org Firas

    Ok, I released 1.1.2 (get it here). The options page bug is fixed in that version.

    Let me know of any issues.

  • http://www.floggin.us/ Eric

    Just installed this new version. Seems to be working. Much thanks for the update and great plugin! =]

  • http://fedes.cogia.net/ Federico

    Hello, I've translated your plugin in Italian, and want to make it available. How can I do? Can I create a download page for the Italian version on my blog?

  • http://firasd.org Firas

    Federico, that's great! Yeah, you can put it on your blog and send me a link or email me the file and I'll host it. There's a Spanish version that I'm going to be putting up today as well.

  • http://fedes.cogia.net/?p=5 Federico Scarel

    WordPress CC in italiano

    Cercando in rete tra i plugin di WordPress, il CMS con cui gestisco questo sito (o forse sarebbe più indicata la sigla BMS, Blog Management System?), ne ho trovato uno che ritengo veramente utile, il WP-CC, plugin con il quale è molto facile pubblica…

  • http://robot.f2o.org Steven

    Would it be possible to update the plugin to support the new 2.5 CC Liscense? I tried myself but broke the plugin…

  • http://villageidiot.zapto.org Andy

    Yes. It would be wonderful if the plugin could support the 2.5 version Licenses, but even better if you could have it support any version of the license. Like Steven in comment #57, I tried myself but broke the plugin.

  • http://coffeebear.net/?p=306 CoffeeBear.net

    Whoops!

    Ever since I upgraded CoffeeBear to the newer version of WordPress and my fancy new theme; I noticed that mozcc wasn’t displaying any Creative Commons info for my site. I’d thought it a bit odd but figured I’d broken the extension s…

  • http://traveller.is-a-geek.net/2005/06/21/wp-cc-with-cc-25-support/ traveller » WP-CC with CC 2.5 support.

    [...] s concerned about copyrights should be aware of the Creative Commons and more notably, the WP-CC plugin by Firas which makes applying the CC on your WP blog such a [...]

  • http://cinefilo.freeprohost.com/?p=435 Diario a Borbo

    WP-CC [Spanish Version]

    WP-CC creado por Firas Durri es un plugin para facilitar el uso de Licencia Creative Commons. He traducido esta version al castellano y actualizado para soportar versiones seleccionada de una lista (2.5/2.1/2.0/1.0).
    Instalacion

    Copiar wp-cc-es.ph…

  • http://www.cyberlaw.se/kalle/2005/01/11/cc-plugin-for-wordpress-released/ Karl Jonsson’s Weblog » CC Plugin for Wordpress Released

    [...] Firas Durri has just written a plugin for WordPress called WP-CC, that facilitates the use of Creative Commons licenses. [...]

  • http://www.theinflux.com/2005/01/11/creative-commons-wordpress/ Everything Is In/Flux » Blog Archive » Creative Commons + Wordpress!

    [...] Via Lawrence Lessig’s blog I discovered the invention of WP-CC, a plugin for WordPress that lets you easily manage your Creative Commons license. I have previously discussed the inclusion of such a license in this space. You can see the license at the bottom of every page. This makes it very easy to modify my license if I ever need to do that. It also eliminates the need to copy and paste the license meta information each time I upgrade WordPress to another beta version. Thanks to Firas! [...]

  • http://www.theinflux.com/2006/02/06/back-with-the-creative-commons/ Back with the Creative Commons! at Everything Is In/Flux

    [...] I posted last year about a plugin for WordPress that allowed me to integrate my Creative Commons license with the blog.  Well with me upgrading to WordPress 2.0 (and then 2.0.1) after having lost most of my entries, it was time for me to redisplay this license information on the site because I think it’s extremely important to have an open copyright system. [...]

  • http://smarking.com/stats/31209813232c54fb84aa85db2c0ff798 Smarking

    firasd.org » Introducing WP-CC…

    Someone at Smarking has bookmarked your post….