Thursday, June 15. 2006
Planet Karlsruhe
Seit einigen Tagen am Start: Planet Karlsruhe, was ausgebaut werden soll zu einer möglichst vollständigen Sammlung Karlsruher Blogs.
Die bisher eingetragenen haben sich entweder bei mir gemeldet oder ihr Blog steht unter Creative Commons. Frei lizensierte Blogs trage ich ungefragt ein, alle anderen mögen mir bitte per Mail mitteilen, wenn sie aufgenommen werden möchten.
Die bisher eingetragenen haben sich entweder bei mir gemeldet oder ihr Blog steht unter Creative Commons. Frei lizensierte Blogs trage ich ungefragt ein, alle anderen mögen mir bitte per Mail mitteilen, wenn sie aufgenommen werden möchten.
Thursday, June 1. 2006
Short tip: License-data with planet
planet is a famous python software to combine the feeds of various blogs (or other feed-sources) to one website. It's used by various free software projects, organizations etc.
While thinking about creating a planet karlsruhe, I thought about possible licensing/copyright problems, in theory you would have to ask everyone you aggregate. As there are many blogs using free or semi-free licenses like FDL or Creative Commons that at least allow re-distributing unchanged content if you stick with the license, adding license-data would make it perfectly legal to add those feeds without asking.
planet is already flexible enough to do this, as you can just add additional variables. Change the config.ini to something like this:
[https://blog.hboeck.de/feeds/atom.xml]
name = Hanno Böck
license_name = Creative Commons by-sa
license_link = http://creativecommons.org/licenses/by-sa/2.5/
Add some Code to the template:
<TMPL_IF channel_license_name>
<TMPL_IF channel_license_link><a href="<TMPL_VAR channel_license_link ESCAPE="HTML">"></TMPL_IF>
<TMPL_VAR channel_license_name ESCAPE="HTML">
<TMPL_IF channel_license_link></a></TMPL_IF>
</TMPL_IF>
And you're done.
While thinking about creating a planet karlsruhe, I thought about possible licensing/copyright problems, in theory you would have to ask everyone you aggregate. As there are many blogs using free or semi-free licenses like FDL or Creative Commons that at least allow re-distributing unchanged content if you stick with the license, adding license-data would make it perfectly legal to add those feeds without asking.
planet is already flexible enough to do this, as you can just add additional variables. Change the config.ini to something like this:
[https://blog.hboeck.de/feeds/atom.xml]
name = Hanno Böck
license_name = Creative Commons by-sa
license_link = http://creativecommons.org/licenses/by-sa/2.5/
Add some Code to the template:
<TMPL_IF channel_license_name>
<TMPL_IF channel_license_link><a href="<TMPL_VAR channel_license_link ESCAPE="HTML">"></TMPL_IF>
<TMPL_VAR channel_license_name ESCAPE="HTML">
<TMPL_IF channel_license_link></a></TMPL_IF>
</TMPL_IF>
And you're done.
Posted by Hanno Böck
in Code, Computer culture, Copyright, English, Webdesign
at
17:52
| Comment (1)
| Trackbacks (0)
(Page 1 of 1, totaling 2 entries)