I would like to have a field when adding / editing a node where I would specify a license for the node. When license is specified then a block or inline text showing license or a link to it would appear. I tried this with a filter but it really doesn't work the way I wanted since it messes with actual content. It would also be great to be able to browse based on license. This would benefit sites with images/videos/etc. greatly. Has anyone else thought of this?

Comments

Brian@brianpuccio.net’s picture

I thought about something like this for a while too (I write music). Create a taxonomy called "License" and create a term for each license you have. The taxonomy description could be a short description of the license (think Creative Commons) and a link to the full legal license (again, think Creative Commons). Than whenever you post a work, select the license it goes under.

There's also a bunch of taxonomy modules, maybe you can use one of those for people to navigate through your content by license.

Also, use the URI aliasing feature to make example.com/publicdomain point to example.com/uri/to/whatever/taxonomy/term/you want so people can bookmark a nice short URL.

EDIT:
Taxonomy Content might be what you're looking for, I haven't used it myself.

tommi-1’s picture

If you mean creating vocabulary, you would have to choose a type for it. If you have content in various formats (images, stories, static pages) you would have to create a vocabulary for each one of them. Besides when somebody views a document like node/view/2342 he/she would not get to view the license. I mean where would it show? Taxonomy is pretty useful for many things but brings some problems when tried to apply to everything.

And yes, creative commons was exactly what I was thinking about :) It has become quite popular.

Brian@brianpuccio.net’s picture

You can create one vocabulary with multiple types. I used to have the school vocabulary have both files and blog entries and images because I had nodes of all of those types that were school related. You can do the same.

When selecting a license, in this case taxonomy, it will show up right next to the node title (or below it, depending on your theme). Check out Langemark's Cafe and note the taxonomy next to the node title.

And since clicking on a taxonomy term brings you to a list of all nodes, reguardless of type, with that classification, you can create a node, weigh it lighter than all others, assign it the classification of the license, and in that node, give a brief description of that license. Scrolling down would show more nodes released under that license.

If this still doesn't work, you'll have to modify node.module and add an extra field to the schema as well as whip up an interface to this.

tommi-1’s picture

all true. It does work but doesn't feel it's meant for it. I'll use for now until someone else modifies the module since I don't have enough talent for it, I think. Maybe I'll have look at it someday.. Thanks!

Brian@brianpuccio.net’s picture

I just read this thread and it seems that might work for you. Haven't tried it myself.

tommi-1’s picture

if I undestand correctly that would create a whole new node type, but I would like apply this on existing and many kind of nodes. Not just images but other ones too. Wouldn't I have to create a new node type for every type of content I create?

Brian@brianpuccio.net’s picture

I'm not sure, I haven't used it.

tommi-1’s picture

how do I apply weight on node level?

Brian@brianpuccio.net’s picture

tommi-1’s picture

..I shall stick a block on every page showing the license like you did on your old site? :)

Brian@brianpuccio.net’s picture

If none of the other solutions work out, than feel free to do the same. I had no need to be as specific as you.