Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-12-08 05:47:51

ARCanine
Archived Plugin Author
From: Detroit, MI
Registered: 2004-12-07
Posts: 7
Website

[plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License

I’m a new textpattern user developing plugins to help port my sight from static PHP/MySQL to this CMS. I’d appreciate any advice!

Anyway, I’ve developed a plugin that embeds a customized Creative Commons license into your page. It is still in the beginning phase, but it is a simple process and shouldn’t be too difficult. If anyone wants to take if for a test drive, view the source of http://www.ryancannon.com/design/textpattern/rpc_cc_license.php.

This is still a 0.1 release, so the help isn’t really developed…if you know how to read SGML you shouldn’t have a problem, but if not, the format is generally:

<txp:rpc_cc_license type="by" />

This tag should be placed within the head of any page. For now, the type attribute must be set to “by”. The optional attributes allowCommercialUse and allowDerivativeWorks can be set to “true” in order to customize your license, and the medium attribute can be set to Other, Text or Interactive. The optional version attribute can be set if your license requires a version other than 2.0.

Planned enhancements include
  • Giving the option to place the license in the head or body of the document.
  • Including an XML-friendly version
  • Allowing different types of licenses (Gnu <acronym title=“General Public License”>GPL</acronym>, Gnu <acroynm title=“Lesser General Public License”>LGPL</acronym> and others)
  • Support added meta-data

Results from this plugin can be viewed with the mozCC plugin for Firefox and from the “copyright” button in Opera’s navigation bar.

Last edited by ARCanine (2004-12-08 05:48:19)

Offline

#2 2004-12-10 17:54:09

robertbrook
New Member
From: London, UK
Registered: 2004-05-28
Posts: 4
Website

Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License

Works for me! Testing at http://druidstreet.com/

Offline

#3 2004-12-15 18:34:05

Turbo-G
Member
From: Würzburg, Germany
Registered: 2004-04-15
Posts: 27
Website

Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License

Does not really work for me. How can I achieve this licence:

http://creativecommons.org/licenses/by-nc-nd/2.0/

I’m at http://praegnanz.de

Last edited by Turbo-G (2004-12-15 18:35:31)

Offline

#4 2005-01-30 01:17:21

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License

The download URL doesn’t work.

Offline

#5 2005-01-30 01:28:44

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License

Very good idea.

I have a request : would it be possible for the plugin to read the type of licence from the article rendered ?

Something like an attribute source=“x” where x is the id of a custom field (“field number x”).

It would be very helpful on a website where articles can have different licences (because of different sources, of authors, or whatever), so the author simply write down the licence in the appropriate custom field.

If you have metadata capability, the format of the fielf could be something like licence : metadata . For example copyleft : Please email me if you use it, I’m curious or something similar.

Offline

#6 2005-01-31 14:31:21

ARCanine
Archived Plugin Author
From: Detroit, MI
Registered: 2004-12-07
Posts: 7
Website

Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License

I apologize. I am currently re-designing my site and the download is not available. I’ll try and get it up tonight after work.

As per your suggestions, Jeremie, I’m not sure what you mean—please email me in greater detail.

Offline

#7 2005-02-06 17:36:23

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License

Still getting a 404 error

Offline

#8 2005-02-15 03:32:28

ARCanine
Archived Plugin Author
From: Detroit, MI
Registered: 2004-12-07
Posts: 7
Website

Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License

My apologies for the long downtime. The plugin is now back online at the same location: http://www.ryancannon.com/design/textpattern/rpc_cc_license.php

View the source of the page to get the plugin string. If you have any questions or problems, please contact me.

Last edited by ARCanine (2005-02-15 03:33:50)

Offline

#9 2005-06-07 22:15:18

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License

Still doesn’t work :))

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

Board footer

Powered by FluxBB