Switch to more liberay CC0 public domain license

This commit is contained in:
jim teeuwen 2011-03-19 14:50:46 +01:00
parent 5e421dfebb
commit 882ba8d0bb
8 changed files with 22 additions and 45 deletions

23
LICENSE
View File

@ -1,20 +1,5 @@
This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
license. Its contents can be found at:
Copyright (c) 2010-2011, Jim Teeuwen. http://creativecommons.org/publicdomain/zero/1.0/ and
All rights reserved. http://creativecommons.org/publicdomain/zero/1.0/legalcode
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -1,3 +1,7 @@
# This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
# license. Its contents can be found at:
# http://creativecommons.org/publicdomain/zero/1.0/
include $(GOROOT)/src/Make.inc include $(GOROOT)/src/Make.inc
TARG = github.com/jteeuwen/go-pkg-xmlx TARG = github.com/jteeuwen/go-pkg-xmlx

6
README
View File

@ -97,9 +97,3 @@
This makes node searches easier in case you do not care what namespace name This makes node searches easier in case you do not care what namespace name
there is or if there is one at all. there is or if there is one at all.
================================================================================
LICENSE
================================================================================
This code is subject to a 1-clause BSD license.
It's contents can be found in the LICENSE file.

View File

@ -1,6 +1,6 @@
// Copyright (c) 2010, Jim Teeuwen. All rights reserved. // This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
// This code is subject to a 1-clause BSD license. // license. Its contents can be found at:
// The contents of which can be found in the LICENSE file. // http://creativecommons.org/publicdomain/zero/1.0/
/* /*
This package wraps the standard XML library and uses it to build a node tree of This package wraps the standard XML library and uses it to build a node tree of

View File

@ -1,6 +1,7 @@
// Copyright (c) 2010, Jim Teeuwen. All rights reserved. // This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
// This code is subject to a 1-clause BSD license. // license. Its contents can be found at:
// The contents of which can be found in the LICENSE file. // http://creativecommons.org/publicdomain/zero/1.0/
package xmlx package xmlx
/* /*

10
node.go
View File

@ -1,10 +1,6 @@
/* // This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
Copyright (c) 2010, Jim Teeuwen. // license. Its contents can be found at:
All rights reserved. // http://creativecommons.org/publicdomain/zero/1.0/
This code is subject to a 1-clause BSD license.
The contents of which can be found in the LICENSE file.
*/
package xmlx package xmlx

1
test1.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><!DOCTYPE xml!><rss version="0.91"><channel><title>WriteTheWeb</title><link>http://writetheweb.com</link><description>News for web users that write back</description><language>en-us</language><copyright>Copyright 2000, WriteTheWeb team.</copyright><managingEditor>editor@writetheweb.com</managingEditor><webMaster>webmaster@writetheweb.com</webMaster><image><title>WriteTheWeb</title><url>http://writetheweb.com/images/mynetscape88.gif</url><link>http://writetheweb.com</link><width>88</width><height>31</height><description>News for web users that write back</description></image><item><title>Giving the world a pluggable Gnutella</title><link>http://writetheweb.com/read.php?item=24</link><description>WorldOS is a framework on which to build programs that work like Freenet or Gnutella -allowing distributed applications using peer-to-peer routing.</description></item><item><title>Syndication discussions hot up</title><link>http://writetheweb.com/read.php?item=23</link><description>After a period of dormancy, the Syndication mailing list has become active again, with contributions from leaders in traditional media and Web syndication.</description></item><item><title>Personal web server integrates file sharing and messaging</title><link>http://writetheweb.com/read.php?item=22</link><description>The Magi Project is an innovative project to create a combined personal web server and messaging system that enables the sharing and synchronization of information across desktop, laptop and palmtop devices.</description></item><item><title>Syndication and Metadata</title><link>http://writetheweb.com/read.php?item=21</link><description>RSS is probably the best known metadata format around. RDF is probably one of the least understood. In this essay, published on my O'Reilly Network weblog, I argue that the next generation of RSS should be based on RDF.</description></item><item><title>UK bloggers get organised</title><link>http://writetheweb.com/read.php?item=20</link><description>Looks like the weblogs scene is gathering pace beyond the shores of the US. There's now a UK-specific page on weblogs.com, and a mailing list at egroups.</description></item><item><title>Yournamehere.com more important than anything</title><link>http://writetheweb.com/read.php?item=19</link><description>Whatever you're publishing on the web, your site name is the most valuable asset you have, according to Carl Steadman.</description></item></channel></rss>

View File

@ -1,10 +1,6 @@
/* // This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
Copyright (c) 2010, Jim Teeuwen. // license. Its contents can be found at:
All rights reserved. // http://creativecommons.org/publicdomain/zero/1.0/
This code is subject to a 1-clause BSD license.
The contents of which can be found in the LICENSE file.
*/
package xmlx package xmlx