Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[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
Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License
Works for me! Testing at http://druidstreet.com/
Offline
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
Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License
The download URL doesn’t work.
VC3 :: weblog :: my wishlist
Offline
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
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
Re: [plugin] [ORPHAN] rpc_cc_license: Embed a Creative Commons License
Still getting a 404 error
VC3 :: weblog :: my wishlist
Offline
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