kill everything that moves
git-svn-id: http://yolanda.mister-muffin.de/svn@354 7eef14d0-6ed0-489d-bf55-20463b2d70db
|
@ -1,2 +0,0 @@
|
||||||
Nils Dagsson Moskopp (erlehmann)
|
|
||||||
Johannes Schauer (josch)
|
|
677
trunk/LICENSE
|
@ -1,677 +0,0 @@
|
||||||
Yolanda - A free software video CMS
|
|
||||||
Copyright (C) 2007 Nils Dagsson Moskopp, Johannes Schauer
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as
|
|
||||||
published by the Free Software Foundation, either version 3 of the
|
|
||||||
License, or (at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
|
|
||||||
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 19 November 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The GNU Affero General Public License is a free, copyleft license
|
|
||||||
for software and other kinds of works, specifically designed to ensure
|
|
||||||
cooperation with the community in the case of network server software.
|
|
||||||
|
|
||||||
The licenses for most software and other practical works are
|
|
||||||
designed to take away your freedom to share and change the works. By
|
|
||||||
contrast, our General Public Licenses are intended to guarantee your
|
|
||||||
freedom to share and change all versions of a program--to make sure it
|
|
||||||
remains free software for all its users.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
them if you wish), that you receive source code or can get it if you
|
|
||||||
want it, that you can change the software or use pieces of it in new
|
|
||||||
free programs, and that you know you can do these things.
|
|
||||||
|
|
||||||
Developers that use our General Public Licenses protect your rights
|
|
||||||
with two steps: (1) assert copyright on the software, and (2) offer
|
|
||||||
you this License which gives you legal permission to copy, distribute
|
|
||||||
and/or modify the software.
|
|
||||||
|
|
||||||
A secondary benefit of defending all users' freedom is that
|
|
||||||
improvements made in alternate versions of the program, if they
|
|
||||||
receive widespread use, become available for other developers to
|
|
||||||
incorporate. Many developers of free software are heartened and
|
|
||||||
encouraged by the resulting cooperation. However, in the case of
|
|
||||||
software used on network servers, this result may fail to come about.
|
|
||||||
The GNU General Public License permits making a modified version and
|
|
||||||
letting the public access it on a server without ever releasing its
|
|
||||||
source code to the public.
|
|
||||||
|
|
||||||
The GNU Affero General Public License is designed specifically to
|
|
||||||
ensure that, in such cases, the modified source code becomes available
|
|
||||||
to the community. It requires the operator of a network server to
|
|
||||||
provide the source code of the modified version running there to the
|
|
||||||
users of that server. Therefore, public use of a modified version, on
|
|
||||||
a publicly accessible server, gives the public access to the source
|
|
||||||
code of the modified version.
|
|
||||||
|
|
||||||
An older license, called the Affero General Public License and
|
|
||||||
published by Affero, was designed to accomplish similar goals. This is
|
|
||||||
a different license, not a version of the Affero GPL, but Affero has
|
|
||||||
released a new version of the Affero GPL which permits relicensing under
|
|
||||||
this license.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
0. Definitions.
|
|
||||||
|
|
||||||
"This License" refers to version 3 of the GNU Affero General Public
|
|
||||||
License.
|
|
||||||
|
|
||||||
"Copyright" also means copyright-like laws that apply to other kinds
|
|
||||||
of works, such as semiconductor masks.
|
|
||||||
|
|
||||||
"The Program" refers to any copyrightable work licensed under this
|
|
||||||
License. Each licensee is addressed as "you". "Licensees" and
|
|
||||||
"recipients" may be individuals or organizations.
|
|
||||||
|
|
||||||
To "modify" a work means to copy from or adapt all or part of the work
|
|
||||||
in a fashion requiring copyright permission, other than the making of an
|
|
||||||
exact copy. The resulting work is called a "modified version" of the
|
|
||||||
earlier work or a work "based on" the earlier work.
|
|
||||||
|
|
||||||
A "covered work" means either the unmodified Program or a work based
|
|
||||||
on the Program.
|
|
||||||
|
|
||||||
To "propagate" a work means to do anything with it that, without
|
|
||||||
permission, would make you directly or secondarily liable for
|
|
||||||
infringement under applicable copyright law, except executing it on a
|
|
||||||
computer or modifying a private copy. Propagation includes copying,
|
|
||||||
distribution (with or without modification), making available to the
|
|
||||||
public, and in some countries other activities as well.
|
|
||||||
|
|
||||||
To "convey" a work means any kind of propagation that enables other
|
|
||||||
parties to make or receive copies. Mere interaction with a user through
|
|
||||||
a computer network, with no transfer of a copy, is not conveying.
|
|
||||||
|
|
||||||
An interactive user interface displays "Appropriate Legal Notices"
|
|
||||||
to the extent that it includes a convenient and prominently visible
|
|
||||||
feature that (1) displays an appropriate copyright notice, and (2)
|
|
||||||
tells the user that there is no warranty for the work (except to the
|
|
||||||
extent that warranties are provided), that licensees may convey the
|
|
||||||
work under this License, and how to view a copy of this License. If
|
|
||||||
the interface presents a list of user commands or options, such as a
|
|
||||||
menu, a prominent item in the list meets this criterion.
|
|
||||||
|
|
||||||
1. Source Code.
|
|
||||||
|
|
||||||
The "source code" for a work means the preferred form of the work
|
|
||||||
for making modifications to it. "Object code" means any non-source
|
|
||||||
form of a work.
|
|
||||||
|
|
||||||
A "Standard Interface" means an interface that either is an official
|
|
||||||
standard defined by a recognized standards body, or, in the case of
|
|
||||||
interfaces specified for a particular programming language, one that
|
|
||||||
is widely used among developers working in that language.
|
|
||||||
|
|
||||||
The "System Libraries" of an executable work include anything, other
|
|
||||||
than the work as a whole, that (a) is included in the normal form of
|
|
||||||
packaging a Major Component, but which is not part of that Major
|
|
||||||
Component, and (b) serves only to enable use of the work with that
|
|
||||||
Major Component, or to implement a Standard Interface for which an
|
|
||||||
implementation is available to the public in source code form. A
|
|
||||||
"Major Component", in this context, means a major essential component
|
|
||||||
(kernel, window system, and so on) of the specific operating system
|
|
||||||
(if any) on which the executable work runs, or a compiler used to
|
|
||||||
produce the work, or an object code interpreter used to run it.
|
|
||||||
|
|
||||||
The "Corresponding Source" for a work in object code form means all
|
|
||||||
the source code needed to generate, install, and (for an executable
|
|
||||||
work) run the object code and to modify the work, including scripts to
|
|
||||||
control those activities. However, it does not include the work's
|
|
||||||
System Libraries, or general-purpose tools or generally available free
|
|
||||||
programs which are used unmodified in performing those activities but
|
|
||||||
which are not part of the work. For example, Corresponding Source
|
|
||||||
includes interface definition files associated with source files for
|
|
||||||
the work, and the source code for shared libraries and dynamically
|
|
||||||
linked subprograms that the work is specifically designed to require,
|
|
||||||
such as by intimate data communication or control flow between those
|
|
||||||
subprograms and other parts of the work.
|
|
||||||
|
|
||||||
The Corresponding Source need not include anything that users
|
|
||||||
can regenerate automatically from other parts of the Corresponding
|
|
||||||
Source.
|
|
||||||
|
|
||||||
The Corresponding Source for a work in source code form is that
|
|
||||||
same work.
|
|
||||||
|
|
||||||
2. Basic Permissions.
|
|
||||||
|
|
||||||
All rights granted under this License are granted for the term of
|
|
||||||
copyright on the Program, and are irrevocable provided the stated
|
|
||||||
conditions are met. This License explicitly affirms your unlimited
|
|
||||||
permission to run the unmodified Program. The output from running a
|
|
||||||
covered work is covered by this License only if the output, given its
|
|
||||||
content, constitutes a covered work. This License acknowledges your
|
|
||||||
rights of fair use or other equivalent, as provided by copyright law.
|
|
||||||
|
|
||||||
You may make, run and propagate covered works that you do not
|
|
||||||
convey, without conditions so long as your license otherwise remains
|
|
||||||
in force. You may convey covered works to others for the sole purpose
|
|
||||||
of having them make modifications exclusively for you, or provide you
|
|
||||||
with facilities for running those works, provided that you comply with
|
|
||||||
the terms of this License in conveying all material for which you do
|
|
||||||
not control copyright. Those thus making or running the covered works
|
|
||||||
for you must do so exclusively on your behalf, under your direction
|
|
||||||
and control, on terms that prohibit them from making any copies of
|
|
||||||
your copyrighted material outside their relationship with you.
|
|
||||||
|
|
||||||
Conveying under any other circumstances is permitted solely under
|
|
||||||
the conditions stated below. Sublicensing is not allowed; section 10
|
|
||||||
makes it unnecessary.
|
|
||||||
|
|
||||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
||||||
|
|
||||||
No covered work shall be deemed part of an effective technological
|
|
||||||
measure under any applicable law fulfilling obligations under article
|
|
||||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
||||||
similar laws prohibiting or restricting circumvention of such
|
|
||||||
measures.
|
|
||||||
|
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
|
||||||
circumvention of technological measures to the extent such circumvention
|
|
||||||
is effected by exercising rights under this License with respect to
|
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
|
||||||
modification of the work as a means of enforcing, against the work's
|
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
|
||||||
technological measures.
|
|
||||||
|
|
||||||
4. Conveying Verbatim Copies.
|
|
||||||
|
|
||||||
You may convey verbatim copies of the Program's source code as you
|
|
||||||
receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice;
|
|
||||||
keep intact all notices stating that this License and any
|
|
||||||
non-permissive terms added in accord with section 7 apply to the code;
|
|
||||||
keep intact all notices of the absence of any warranty; and give all
|
|
||||||
recipients a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge any price or no price for each copy that you convey,
|
|
||||||
and you may offer support or warranty protection for a fee.
|
|
||||||
|
|
||||||
5. Conveying Modified Source Versions.
|
|
||||||
|
|
||||||
You may convey a work based on the Program, or the modifications to
|
|
||||||
produce it from the Program, in the form of source code under the
|
|
||||||
terms of section 4, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The work must carry prominent notices stating that you modified
|
|
||||||
it, and giving a relevant date.
|
|
||||||
|
|
||||||
b) The work must carry prominent notices stating that it is
|
|
||||||
released under this License and any conditions added under section
|
|
||||||
7. This requirement modifies the requirement in section 4 to
|
|
||||||
"keep intact all notices".
|
|
||||||
|
|
||||||
c) You must license the entire work, as a whole, under this
|
|
||||||
License to anyone who comes into possession of a copy. This
|
|
||||||
License will therefore apply, along with any applicable section 7
|
|
||||||
additional terms, to the whole of the work, and all its parts,
|
|
||||||
regardless of how they are packaged. This License gives no
|
|
||||||
permission to license the work in any other way, but it does not
|
|
||||||
invalidate such permission if you have separately received it.
|
|
||||||
|
|
||||||
d) If the work has interactive user interfaces, each must display
|
|
||||||
Appropriate Legal Notices; however, if the Program has interactive
|
|
||||||
interfaces that do not display Appropriate Legal Notices, your
|
|
||||||
work need not make them do so.
|
|
||||||
|
|
||||||
A compilation of a covered work with other separate and independent
|
|
||||||
works, which are not by their nature extensions of the covered work,
|
|
||||||
and which are not combined with it such as to form a larger program,
|
|
||||||
in or on a volume of a storage or distribution medium, is called an
|
|
||||||
"aggregate" if the compilation and its resulting copyright are not
|
|
||||||
used to limit the access or legal rights of the compilation's users
|
|
||||||
beyond what the individual works permit. Inclusion of a covered work
|
|
||||||
in an aggregate does not cause this License to apply to the other
|
|
||||||
parts of the aggregate.
|
|
||||||
|
|
||||||
6. Conveying Non-Source Forms.
|
|
||||||
|
|
||||||
You may convey a covered work in object code form under the terms
|
|
||||||
of sections 4 and 5, provided that you also convey the
|
|
||||||
machine-readable Corresponding Source under the terms of this License,
|
|
||||||
in one of these ways:
|
|
||||||
|
|
||||||
a) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by the
|
|
||||||
Corresponding Source fixed on a durable physical medium
|
|
||||||
customarily used for software interchange.
|
|
||||||
|
|
||||||
b) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by a
|
|
||||||
written offer, valid for at least three years and valid for as
|
|
||||||
long as you offer spare parts or customer support for that product
|
|
||||||
model, to give anyone who possesses the object code either (1) a
|
|
||||||
copy of the Corresponding Source for all the software in the
|
|
||||||
product that is covered by this License, on a durable physical
|
|
||||||
medium customarily used for software interchange, for a price no
|
|
||||||
more than your reasonable cost of physically performing this
|
|
||||||
conveying of source, or (2) access to copy the
|
|
||||||
Corresponding Source from a network server at no charge.
|
|
||||||
|
|
||||||
c) Convey individual copies of the object code with a copy of the
|
|
||||||
written offer to provide the Corresponding Source. This
|
|
||||||
alternative is allowed only occasionally and noncommercially, and
|
|
||||||
only if you received the object code with such an offer, in accord
|
|
||||||
with subsection 6b.
|
|
||||||
|
|
||||||
d) Convey the object code by offering access from a designated
|
|
||||||
place (gratis or for a charge), and offer equivalent access to the
|
|
||||||
Corresponding Source in the same way through the same place at no
|
|
||||||
further charge. You need not require recipients to copy the
|
|
||||||
Corresponding Source along with the object code. If the place to
|
|
||||||
copy the object code is a network server, the Corresponding Source
|
|
||||||
may be on a different server (operated by you or a third party)
|
|
||||||
that supports equivalent copying facilities, provided you maintain
|
|
||||||
clear directions next to the object code saying where to find the
|
|
||||||
Corresponding Source. Regardless of what server hosts the
|
|
||||||
Corresponding Source, you remain obligated to ensure that it is
|
|
||||||
available for as long as needed to satisfy these requirements.
|
|
||||||
|
|
||||||
e) Convey the object code using peer-to-peer transmission, provided
|
|
||||||
you inform other peers where the object code and Corresponding
|
|
||||||
Source of the work are being offered to the general public at no
|
|
||||||
charge under subsection 6d.
|
|
||||||
|
|
||||||
A separable portion of the object code, whose source code is excluded
|
|
||||||
from the Corresponding Source as a System Library, need not be
|
|
||||||
included in conveying the object code work.
|
|
||||||
|
|
||||||
A "User Product" is either (1) a "consumer product", which means any
|
|
||||||
tangible personal property which is normally used for personal, family,
|
|
||||||
or household purposes, or (2) anything designed or sold for incorporation
|
|
||||||
into a dwelling. In determining whether a product is a consumer product,
|
|
||||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
|
||||||
product received by a particular user, "normally used" refers to a
|
|
||||||
typical or common use of that class of product, regardless of the status
|
|
||||||
of the particular user or of the way in which the particular user
|
|
||||||
actually uses, or expects or is expected to use, the product. A product
|
|
||||||
is a consumer product regardless of whether the product has substantial
|
|
||||||
commercial, industrial or non-consumer uses, unless such uses represent
|
|
||||||
the only significant mode of use of the product.
|
|
||||||
|
|
||||||
"Installation Information" for a User Product means any methods,
|
|
||||||
procedures, authorization keys, or other information required to install
|
|
||||||
and execute modified versions of a covered work in that User Product from
|
|
||||||
a modified version of its Corresponding Source. The information must
|
|
||||||
suffice to ensure that the continued functioning of the modified object
|
|
||||||
code is in no case prevented or interfered with solely because
|
|
||||||
modification has been made.
|
|
||||||
|
|
||||||
If you convey an object code work under this section in, or with, or
|
|
||||||
specifically for use in, a User Product, and the conveying occurs as
|
|
||||||
part of a transaction in which the right of possession and use of the
|
|
||||||
User Product is transferred to the recipient in perpetuity or for a
|
|
||||||
fixed term (regardless of how the transaction is characterized), the
|
|
||||||
Corresponding Source conveyed under this section must be accompanied
|
|
||||||
by the Installation Information. But this requirement does not apply
|
|
||||||
if neither you nor any third party retains the ability to install
|
|
||||||
modified object code on the User Product (for example, the work has
|
|
||||||
been installed in ROM).
|
|
||||||
|
|
||||||
The requirement to provide Installation Information does not include a
|
|
||||||
requirement to continue to provide support service, warranty, or updates
|
|
||||||
for a work that has been modified or installed by the recipient, or for
|
|
||||||
the User Product in which it has been modified or installed. Access to a
|
|
||||||
network may be denied when the modification itself materially and
|
|
||||||
adversely affects the operation of the network or violates the rules and
|
|
||||||
protocols for communication across the network.
|
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
|
||||||
in accord with this section must be in a format that is publicly
|
|
||||||
documented (and with an implementation available to the public in
|
|
||||||
source code form), and must require no special password or key for
|
|
||||||
unpacking, reading or copying.
|
|
||||||
|
|
||||||
7. Additional Terms.
|
|
||||||
|
|
||||||
"Additional permissions" are terms that supplement the terms of this
|
|
||||||
License by making exceptions from one or more of its conditions.
|
|
||||||
Additional permissions that are applicable to the entire Program shall
|
|
||||||
be treated as though they were included in this License, to the extent
|
|
||||||
that they are valid under applicable law. If additional permissions
|
|
||||||
apply only to part of the Program, that part may be used separately
|
|
||||||
under those permissions, but the entire Program remains governed by
|
|
||||||
this License without regard to the additional permissions.
|
|
||||||
|
|
||||||
When you convey a copy of a covered work, you may at your option
|
|
||||||
remove any additional permissions from that copy, or from any part of
|
|
||||||
it. (Additional permissions may be written to require their own
|
|
||||||
removal in certain cases when you modify the work.) You may place
|
|
||||||
additional permissions on material, added by you to a covered work,
|
|
||||||
for which you have or can give appropriate copyright permission.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, for material you
|
|
||||||
add to a covered work, you may (if authorized by the copyright holders of
|
|
||||||
that material) supplement the terms of this License with terms:
|
|
||||||
|
|
||||||
a) Disclaiming warranty or limiting liability differently from the
|
|
||||||
terms of sections 15 and 16 of this License; or
|
|
||||||
|
|
||||||
b) Requiring preservation of specified reasonable legal notices or
|
|
||||||
author attributions in that material or in the Appropriate Legal
|
|
||||||
Notices displayed by works containing it; or
|
|
||||||
|
|
||||||
c) Prohibiting misrepresentation of the origin of that material, or
|
|
||||||
requiring that modified versions of such material be marked in
|
|
||||||
reasonable ways as different from the original version; or
|
|
||||||
|
|
||||||
d) Limiting the use for publicity purposes of names of licensors or
|
|
||||||
authors of the material; or
|
|
||||||
|
|
||||||
e) Declining to grant rights under trademark law for use of some
|
|
||||||
trade names, trademarks, or service marks; or
|
|
||||||
|
|
||||||
f) Requiring indemnification of licensors and authors of that
|
|
||||||
material by anyone who conveys the material (or modified versions of
|
|
||||||
it) with contractual assumptions of liability to the recipient, for
|
|
||||||
any liability that these contractual assumptions directly impose on
|
|
||||||
those licensors and authors.
|
|
||||||
|
|
||||||
All other non-permissive additional terms are considered "further
|
|
||||||
restrictions" within the meaning of section 10. If the Program as you
|
|
||||||
received it, or any part of it, contains a notice stating that it is
|
|
||||||
governed by this License along with a term that is a further restriction,
|
|
||||||
you may remove that term. If a license document contains a further
|
|
||||||
restriction but permits relicensing or conveying under this License, you
|
|
||||||
may add to a covered work material governed by the terms of that license
|
|
||||||
document, provided that the further restriction does not survive such
|
|
||||||
relicensing or conveying.
|
|
||||||
|
|
||||||
If you add terms to a covered work in accord with this section, you
|
|
||||||
must place, in the relevant source files, a statement of the
|
|
||||||
additional terms that apply to those files, or a notice indicating
|
|
||||||
where to find the applicable terms.
|
|
||||||
|
|
||||||
Additional terms, permissive or non-permissive, may be stated in the
|
|
||||||
form of a separately written license, or stated as exceptions;
|
|
||||||
the above requirements apply either way.
|
|
||||||
|
|
||||||
8. Termination.
|
|
||||||
|
|
||||||
You may not propagate or modify a covered work except as expressly
|
|
||||||
provided under this License. Any attempt otherwise to propagate or
|
|
||||||
modify it is void, and will automatically terminate your rights under
|
|
||||||
this License (including any patent licenses granted under the third
|
|
||||||
paragraph of section 11).
|
|
||||||
|
|
||||||
However, if you cease all violation of this License, then your
|
|
||||||
license from a particular copyright holder is reinstated (a)
|
|
||||||
provisionally, unless and until the copyright holder explicitly and
|
|
||||||
finally terminates your license, and (b) permanently, if the copyright
|
|
||||||
holder fails to notify you of the violation by some reasonable means
|
|
||||||
prior to 60 days after the cessation.
|
|
||||||
|
|
||||||
Moreover, your license from a particular copyright holder is
|
|
||||||
reinstated permanently if the copyright holder notifies you of the
|
|
||||||
violation by some reasonable means, this is the first time you have
|
|
||||||
received notice of violation of this License (for any work) from that
|
|
||||||
copyright holder, and you cure the violation prior to 30 days after
|
|
||||||
your receipt of the notice.
|
|
||||||
|
|
||||||
Termination of your rights under this section does not terminate the
|
|
||||||
licenses of parties who have received copies or rights from you under
|
|
||||||
this License. If your rights have been terminated and not permanently
|
|
||||||
reinstated, you do not qualify to receive new licenses for the same
|
|
||||||
material under section 10.
|
|
||||||
|
|
||||||
9. Acceptance Not Required for Having Copies.
|
|
||||||
|
|
||||||
You are not required to accept this License in order to receive or
|
|
||||||
run a copy of the Program. Ancillary propagation of a covered work
|
|
||||||
occurring solely as a consequence of using peer-to-peer transmission
|
|
||||||
to receive a copy likewise does not require acceptance. However,
|
|
||||||
nothing other than this License grants you permission to propagate or
|
|
||||||
modify any covered work. These actions infringe copyright if you do
|
|
||||||
not accept this License. Therefore, by modifying or propagating a
|
|
||||||
covered work, you indicate your acceptance of this License to do so.
|
|
||||||
|
|
||||||
10. Automatic Licensing of Downstream Recipients.
|
|
||||||
|
|
||||||
Each time you convey a covered work, the recipient automatically
|
|
||||||
receives a license from the original licensors, to run, modify and
|
|
||||||
propagate that work, subject to this License. You are not responsible
|
|
||||||
for enforcing compliance by third parties with this License.
|
|
||||||
|
|
||||||
An "entity transaction" is a transaction transferring control of an
|
|
||||||
organization, or substantially all assets of one, or subdividing an
|
|
||||||
organization, or merging organizations. If propagation of a covered
|
|
||||||
work results from an entity transaction, each party to that
|
|
||||||
transaction who receives a copy of the work also receives whatever
|
|
||||||
licenses to the work the party's predecessor in interest had or could
|
|
||||||
give under the previous paragraph, plus a right to possession of the
|
|
||||||
Corresponding Source of the work from the predecessor in interest, if
|
|
||||||
the predecessor has it or can get it with reasonable efforts.
|
|
||||||
|
|
||||||
You may not impose any further restrictions on the exercise of the
|
|
||||||
rights granted or affirmed under this License. For example, you may
|
|
||||||
not impose a license fee, royalty, or other charge for exercise of
|
|
||||||
rights granted under this License, and you may not initiate litigation
|
|
||||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
||||||
any patent claim is infringed by making, using, selling, offering for
|
|
||||||
sale, or importing the Program or any portion of it.
|
|
||||||
|
|
||||||
11. Patents.
|
|
||||||
|
|
||||||
A "contributor" is a copyright holder who authorizes use under this
|
|
||||||
License of the Program or a work on which the Program is based. The
|
|
||||||
work thus licensed is called the contributor's "contributor version".
|
|
||||||
|
|
||||||
A contributor's "essential patent claims" are all patent claims
|
|
||||||
owned or controlled by the contributor, whether already acquired or
|
|
||||||
hereafter acquired, that would be infringed by some manner, permitted
|
|
||||||
by this License, of making, using, or selling its contributor version,
|
|
||||||
but do not include claims that would be infringed only as a
|
|
||||||
consequence of further modification of the contributor version. For
|
|
||||||
purposes of this definition, "control" includes the right to grant
|
|
||||||
patent sublicenses in a manner consistent with the requirements of
|
|
||||||
this License.
|
|
||||||
|
|
||||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
||||||
patent license under the contributor's essential patent claims, to
|
|
||||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
||||||
propagate the contents of its contributor version.
|
|
||||||
|
|
||||||
In the following three paragraphs, a "patent license" is any express
|
|
||||||
agreement or commitment, however denominated, not to enforce a patent
|
|
||||||
(such as an express permission to practice a patent or covenant not to
|
|
||||||
sue for patent infringement). To "grant" such a patent license to a
|
|
||||||
party means to make such an agreement or commitment not to enforce a
|
|
||||||
patent against the party.
|
|
||||||
|
|
||||||
If you convey a covered work, knowingly relying on a patent license,
|
|
||||||
and the Corresponding Source of the work is not available for anyone
|
|
||||||
to copy, free of charge and under the terms of this License, through a
|
|
||||||
publicly available network server or other readily accessible means,
|
|
||||||
then you must either (1) cause the Corresponding Source to be so
|
|
||||||
available, or (2) arrange to deprive yourself of the benefit of the
|
|
||||||
patent license for this particular work, or (3) arrange, in a manner
|
|
||||||
consistent with the requirements of this License, to extend the patent
|
|
||||||
license to downstream recipients. "Knowingly relying" means you have
|
|
||||||
actual knowledge that, but for the patent license, your conveying the
|
|
||||||
covered work in a country, or your recipient's use of the covered work
|
|
||||||
in a country, would infringe one or more identifiable patents in that
|
|
||||||
country that you have reason to believe are valid.
|
|
||||||
|
|
||||||
If, pursuant to or in connection with a single transaction or
|
|
||||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
|
||||||
covered work, and grant a patent license to some of the parties
|
|
||||||
receiving the covered work authorizing them to use, propagate, modify
|
|
||||||
or convey a specific copy of the covered work, then the patent license
|
|
||||||
you grant is automatically extended to all recipients of the covered
|
|
||||||
work and works based on it.
|
|
||||||
|
|
||||||
A patent license is "discriminatory" if it does not include within
|
|
||||||
the scope of its coverage, prohibits the exercise of, or is
|
|
||||||
conditioned on the non-exercise of one or more of the rights that are
|
|
||||||
specifically granted under this License. You may not convey a covered
|
|
||||||
work if you are a party to an arrangement with a third party that is
|
|
||||||
in the business of distributing software, under which you make payment
|
|
||||||
to the third party based on the extent of your activity of conveying
|
|
||||||
the work, and under which the third party grants, to any of the
|
|
||||||
parties who would receive the covered work from you, a discriminatory
|
|
||||||
patent license (a) in connection with copies of the covered work
|
|
||||||
conveyed by you (or copies made from those copies), or (b) primarily
|
|
||||||
for and in connection with specific products or compilations that
|
|
||||||
contain the covered work, unless you entered into that arrangement,
|
|
||||||
or that patent license was granted, prior to 28 March 2007.
|
|
||||||
|
|
||||||
Nothing in this License shall be construed as excluding or limiting
|
|
||||||
any implied license or other defenses to infringement that may
|
|
||||||
otherwise be available to you under applicable patent law.
|
|
||||||
|
|
||||||
12. No Surrender of Others' Freedom.
|
|
||||||
|
|
||||||
If conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot convey a
|
|
||||||
covered work so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you may
|
|
||||||
not convey it at all. For example, if you agree to terms that obligate you
|
|
||||||
to collect a royalty for further conveying from those to whom you convey
|
|
||||||
the Program, the only way you could satisfy both those terms and this
|
|
||||||
License would be to refrain entirely from conveying the Program.
|
|
||||||
|
|
||||||
13. Remote Network Interaction; Use with the GNU General Public License.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, if you modify the
|
|
||||||
Program, your modified version must prominently offer all users
|
|
||||||
interacting with it remotely through a computer network (if your version
|
|
||||||
supports such interaction) an opportunity to receive the Corresponding
|
|
||||||
Source of your version by providing access to the Corresponding Source
|
|
||||||
from a network server at no charge, through some standard or customary
|
|
||||||
means of facilitating copying of software. This Corresponding Source
|
|
||||||
shall include the Corresponding Source for any work covered by version 3
|
|
||||||
of the GNU General Public License that is incorporated pursuant to the
|
|
||||||
following paragraph.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, you have permission
|
|
||||||
to link or combine any covered work with a work licensed under version 3
|
|
||||||
of the GNU General Public License into a single combined work, and to
|
|
||||||
convey the resulting work. The terms of this License will continue to
|
|
||||||
apply to the part which is the covered work, but the work with which it is
|
|
||||||
combined will remain governed by version 3 of the GNU General Public
|
|
||||||
License.
|
|
||||||
|
|
||||||
14. Revised Versions of this License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the GNU Affero General Public License from time to time. Such new
|
|
||||||
versions will be similar in spirit to the present version, but may differ
|
|
||||||
in detail to address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Program specifies that a certain numbered version of the GNU Affero
|
|
||||||
General Public License "or any later version" applies to it, you have
|
|
||||||
the option of following the terms and conditions either of that
|
|
||||||
numbered version or of any later version published by the Free
|
|
||||||
Software Foundation. If the Program does not specify a version number
|
|
||||||
of the GNU Affero General Public License, you may choose any version
|
|
||||||
ever published by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Program specifies that a proxy can decide which future
|
|
||||||
versions of the GNU Affero General Public License can be used, that
|
|
||||||
proxy's public statement of acceptance of a version permanently
|
|
||||||
authorizes you to choose that version for the Program.
|
|
||||||
|
|
||||||
Later license versions may give you additional or different
|
|
||||||
permissions. However, no additional obligations are imposed on any
|
|
||||||
author or copyright holder as a result of your choosing to follow a
|
|
||||||
later version.
|
|
||||||
|
|
||||||
15. Disclaimer of Warranty.
|
|
||||||
|
|
||||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
||||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
|
||||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
|
||||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
|
||||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
|
||||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. Limitation of Liability.
|
|
||||||
|
|
||||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
|
||||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
|
||||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
|
||||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
|
||||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
|
||||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
|
||||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGES.
|
|
||||||
|
|
||||||
17. Interpretation of Sections 15 and 16.
|
|
||||||
|
|
||||||
If the disclaimer of warranty and limitation of liability provided
|
|
||||||
above cannot be given local legal effect according to their terms,
|
|
||||||
reviewing courts shall apply local law that most closely approximates
|
|
||||||
an absolute waiver of all civil liability in connection with the
|
|
||||||
Program, unless a warranty or assumption of liability accompanies a
|
|
||||||
copy of the Program in return for a fee.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
free software which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
|
||||||
to attach them to the start of each source file to most effectively
|
|
||||||
state the exclusion of warranty; and each file should have at least
|
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
|
||||||
Copyright (C) <year> <name of author>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as
|
|
||||||
published by the Free Software Foundation, either version 3 of the
|
|
||||||
License, or (at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If your software can interact with users remotely through a computer
|
|
||||||
network, you should also make sure that it provides a way for users to
|
|
||||||
get its source. For example, if your program is a web application, its
|
|
||||||
interface could display a "Source" link that leads users to an archive
|
|
||||||
of the code. There are many ways you could offer source, and different
|
|
||||||
solutions will be better for different programs; see section 13 for the
|
|
||||||
specific requirements.
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or school,
|
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
||||||
For more information on this, and how to apply and follow the GNU AGPL, see
|
|
||||||
<http://www.gnu.org/licenses/>.
|
|
44
trunk/README
|
@ -1,44 +0,0 @@
|
||||||
Yolanda - http://yolanda.mister-muffin.de/trac
|
|
||||||
=======================================================
|
|
||||||
|
|
||||||
A video content management system using Perl for the backend and XML and XSLT for the frontend. Video playback is provided by Fluendo's Cortado Java applet.
|
|
||||||
|
|
||||||
Installation
|
|
||||||
============
|
|
||||||
|
|
||||||
You will need to install following packages prior to using Yolanda:
|
|
||||||
apache2
|
|
||||||
apache2-mpm-prefork
|
|
||||||
libapache2-mod-perl2
|
|
||||||
libcgi-session-perl
|
|
||||||
libdbi-perl
|
|
||||||
libxml-simple-perl
|
|
||||||
libproc-daemon-perl
|
|
||||||
libdigest-sha-perl
|
|
||||||
libnet-openid-consumer-perl
|
|
||||||
libio-socket-ssl-perl
|
|
||||||
liblwpx-paranoidagent-perl
|
|
||||||
mysql-server
|
|
||||||
ffmpeg
|
|
||||||
ffmpeg2theora
|
|
||||||
|
|
||||||
You will also need one of the following java packages for playback purposes:
|
|
||||||
sun-java6-plugin
|
|
||||||
sun-java5-plugin
|
|
||||||
j2re1.4-mozilla-plugin
|
|
||||||
|
|
||||||
Important: The GNU java implementation does not seem to work with Cortado yet.
|
|
||||||
|
|
||||||
Usage
|
|
||||||
=====
|
|
||||||
|
|
||||||
Launch the worker script (daemon.pl).
|
|
||||||
|
|
||||||
Help
|
|
||||||
====
|
|
||||||
|
|
||||||
If you have any questions/bug reports/ideas, you can find help in the following
|
|
||||||
locations:
|
|
||||||
|
|
||||||
http://yolanda.mister-muffin.de/proj - Main project page and wiki
|
|
||||||
yolanda@conference.mister-muffin.de - jabber multi user chat
|
|
|
@ -1 +0,0 @@
|
||||||
See http://mister-muffin.de/proj for blueprints and bugs.
|
|
|
@ -1,29 +0,0 @@
|
||||||
NameVirtualHost *
|
|
||||||
<VirtualHost *>
|
|
||||||
ServerAdmin webmaster@localhost
|
|
||||||
|
|
||||||
DocumentRoot /var/www/yolanda/
|
|
||||||
<Directory />
|
|
||||||
Options FollowSymLinks
|
|
||||||
AllowOverride None
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
<Location /video-stills>
|
|
||||||
ForceType image/jpeg
|
|
||||||
</Location>
|
|
||||||
|
|
||||||
AllowEncodedSlashes On
|
|
||||||
|
|
||||||
RewriteEngine On
|
|
||||||
RewriteRule ^/video/(.*)/([0-9]+)/(.*)$ /video.pl?title=$1&id=$2&$3
|
|
||||||
RewriteRule ^/embedded/(.*)/([0-9]+)/(.*)$ /video.pl?title=$1&id=$2&embed=true&$3
|
|
||||||
RewriteRule ^/download/([0-9]+)/(.*)$ /download.pl?id=$1&$2
|
|
||||||
|
|
||||||
ErrorLog /var/log/apache2/error.log
|
|
||||||
|
|
||||||
LogLevel warn
|
|
||||||
|
|
||||||
CustomLog /var/log/apache2/access.log combined
|
|
||||||
ServerSignature On
|
|
||||||
|
|
||||||
</VirtualHost>
|
|
|
@ -1,56 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-16"?>
|
|
||||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
||||||
|
|
||||||
<strings>
|
|
||||||
<!-- database settings -->
|
|
||||||
<string id="database">mysql</string>
|
|
||||||
<string id="database_host">localhost</string>
|
|
||||||
<string id="database_name">yolanda</string>
|
|
||||||
<string id="database_username">root</string>
|
|
||||||
<!--<string id="database_password">password</string>--><!-- MUST NOT be empty -->
|
|
||||||
|
|
||||||
<string id="url_root">http://localhost</string><!-- MUST NOT end with trailing slash -->
|
|
||||||
|
|
||||||
<!-- search options -->
|
|
||||||
<string id="search_frontpage_one_query">* order:timestamp sort:descending</string>
|
|
||||||
<string id="search_frontpage_two_query">* order:viewcount sort:descending</string>
|
|
||||||
<string id="search_frontpage_three_query">* order:downloadcount sort:descending</string>
|
|
||||||
<string id="search_frontpage_size">3</string>
|
|
||||||
<string id="search_results_default">10</string>
|
|
||||||
<string id="search_results_max">500</string>
|
|
||||||
<string id="search_order_default">relevance</string><!-- a v.column in the videos table or relevance or random -->
|
|
||||||
<string id="search_sort_default">desc</string><!-- asc or desc -->
|
|
||||||
|
|
||||||
<!-- general page settings -->
|
|
||||||
<string id="page_locale">en-us</string>
|
|
||||||
<string id="page_xslt">xhtml.xsl</string>
|
|
||||||
<string id="page_tag_lenght_min">3</string>
|
|
||||||
<string id="page_tag_count">20</string>
|
|
||||||
<string id="page_openid">true</string>
|
|
||||||
<!--<string id="page_bittorrent">false</string>-->
|
|
||||||
<string id="page_cookie_name">sid</string>
|
|
||||||
|
|
||||||
<!-- settings for video uploads -->
|
|
||||||
<string id="video_height_max">720</string><!-- in pixels - MUST be multiple of 8 -->
|
|
||||||
<string id="video_height_min">240</string>
|
|
||||||
<string id="video_width_max">1080</string>
|
|
||||||
<string id="video_width_min">320</string>
|
|
||||||
<string id="video_filesize_max">86388736</string><!-- in bytes -->
|
|
||||||
<string id="video_filesize_min">512</string>
|
|
||||||
<string id="video_bitrate_max">6000</string>
|
|
||||||
<string id="video_audio_bitrate">64</string>
|
|
||||||
<string id="video_thumbnail_height">120</string>
|
|
||||||
|
|
||||||
<!-- xml namespace URIs -->
|
|
||||||
<!--<string id="xml_namespace">http://feature.yolanda.namespace.tld</string>-->
|
|
||||||
<string id="xml_namespace_xsl">http://www.w3.org/1999/XSL/Transform</string>
|
|
||||||
<string id="xml_namespace_dc">http://purl.org/dc/elements/1.1/</string>
|
|
||||||
<string id="xml_namespace_dcterms">http://purl.org/dc/terms/</string>
|
|
||||||
<string id="xml_namespace_cc">http://web.resource.org/cc/</string>
|
|
||||||
<string id="xml_namespace_rdf">http://www.w3.org/1999/02/22-rdf-syntax-ns#</string>
|
|
||||||
<string id="xml_namespace_xforms">http://www.w3.org/2002/xforms</string>
|
|
||||||
<string id="xml_namespace_xsd">http://www.w3.org/2001/XMLSchema</string>
|
|
||||||
<string id="xml_namespace_xsi">http://www.w3.org/2001/XMLSchema-instance</string>
|
|
||||||
<string id="xml_namespace_xhtml">"http://www.w3.org/1999/xhtml"</string>
|
|
||||||
</strings>
|
|
||||||
</xsl:stylesheet>
|
|
|
@ -1,31 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-16"?>
|
|
||||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
||||||
|
|
||||||
<strings>
|
|
||||||
|
|
||||||
<!-- visible -->
|
|
||||||
<string id="site_name">Yolanda</string>
|
|
||||||
<string id="site_motto">WebTV free as in Speech</string>
|
|
||||||
|
|
||||||
<!-- invisible -->
|
|
||||||
<string id="path_settings">/settings.pl</string>
|
|
||||||
<string id="path_login">/login.pl</string>
|
|
||||||
<string id="path_login-openid">/login.pl?action=openid</string>
|
|
||||||
<string id="path_logout">/login.pl?action=logout</string>
|
|
||||||
<string id="path_authors">http://yolanda.mister-muffin.de/trac</string>
|
|
||||||
<string id="path_license">/LICENSE</string>
|
|
||||||
<string id="path_source-code">http://yolanda.mister-muffin.de/trac/browser/trunk</string>
|
|
||||||
<string id="path_register">/register.pl</string>
|
|
||||||
<string id="path_report_bug">http://yolanda.mister-muffin.de/trac/newticket</string>
|
|
||||||
<string id="path_search">/search.pl</string>
|
|
||||||
<string id="path_results">/search.pl?query=</string>
|
|
||||||
<string id="path_root">http://localhost/</string>
|
|
||||||
<string id="path_upload">/upload.pl</string>
|
|
||||||
<string id="path_uploader">/uploader.pl</string>
|
|
||||||
<string id="path_query_custom_one">/search.pl?query=*%20order:timestamp%20sort:descending</string>
|
|
||||||
<string id="path_query_custom_two">/search.pl?query=*%20order:downloadcount%20sort:descending</string>
|
|
||||||
<string id="path_query_custom_three">/search.pl?query=*%20order:viewcount%20sort:descending</string>
|
|
||||||
|
|
||||||
</strings>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
|
@ -1,102 +0,0 @@
|
||||||
require "functions.pl";
|
|
||||||
|
|
||||||
#initialize session data
|
|
||||||
CGI::Session->name($config->{"page_cookie_name"});
|
|
||||||
$query = new CGI;
|
|
||||||
$session = new CGI::Session;
|
|
||||||
|
|
||||||
#do we have an id?
|
|
||||||
if($query->param('id'))
|
|
||||||
{
|
|
||||||
#check if video with requested id is in the database
|
|
||||||
my $sth = $dbh->prepare(qq{select title from videos where id = ? });
|
|
||||||
$sth->execute($query->param('id'));
|
|
||||||
|
|
||||||
if(($title) = $sth->fetchrow_array())
|
|
||||||
{
|
|
||||||
#are we only watching this video or downloading it?
|
|
||||||
if($query->param('view'))
|
|
||||||
{
|
|
||||||
#seems we only want to watch it - update viewcount
|
|
||||||
$dbh->do(qq{update videos set viewcount=viewcount+1 where id = ? }, undef, $query->param('id')) or die $dbh->errstr;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
#video is being downloaded - update downloadcount
|
|
||||||
$dbh->do(qq{update videos set downloadcount=downloadcount+1 where id = ? }, undef, $query->param('id')) or die $dbh->errstr;
|
|
||||||
}
|
|
||||||
|
|
||||||
#open video file
|
|
||||||
$file = open(FILE, "<$root/videos/".$query->param('id'));
|
|
||||||
|
|
||||||
if($file)
|
|
||||||
{
|
|
||||||
#TODO: replace all of this with fastcgi x-sendfile
|
|
||||||
#get video filesize
|
|
||||||
$filesize = -s "$root/videos/".$query->param('id');
|
|
||||||
|
|
||||||
#get http query range
|
|
||||||
#TODO: also allow range end
|
|
||||||
$range = $query->http('range');
|
|
||||||
$range =~ s/bytes=([0-9]+)-/$1/;
|
|
||||||
|
|
||||||
#if a specific range is requested send http partial content headers and seek in the inputfile
|
|
||||||
if($range)
|
|
||||||
{
|
|
||||||
#if $range is equal or more than filesize throw http 416 header
|
|
||||||
if($range >= $filesize)
|
|
||||||
{
|
|
||||||
print $query->header(-status=>'416 Requested Range Not Satisfiable');
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
#print correct http partial header
|
|
||||||
print $query->header(-type=>'application/ogg',
|
|
||||||
-content_length=> $filesize-$range,
|
|
||||||
-status=>'206 Partial Content',
|
|
||||||
-attachment=>$title.".ogv",
|
|
||||||
-accept_ranges=> "bytes",
|
|
||||||
-content_range=> "bytes $range-".($filesize-1)."/$filesize"
|
|
||||||
);
|
|
||||||
|
|
||||||
#seek file to the requested position
|
|
||||||
seek FILE, $range, 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
#print normal header
|
|
||||||
print $query->header(-type=>'application/ogg',
|
|
||||||
-content_length=> $filesize,
|
|
||||||
-attachment=>$title.".ogv"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
#in both cases - do some slurp-eaze to the browser
|
|
||||||
while (my $BytesRead = read (FILE, $buff, 8192))
|
|
||||||
{
|
|
||||||
print $buff;
|
|
||||||
}
|
|
||||||
close(FILE);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
#the requested file should be there but is not - throw server error
|
|
||||||
print $session->header(
|
|
||||||
-status=>'500 Internal Server Error'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
#no such video exists - 404
|
|
||||||
print $session->header(
|
|
||||||
-status=>'404 Not found'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
#no if was supplied
|
|
||||||
print $query->redirect("index.pl?error=error_202c");
|
|
||||||
}
|
|
|
@ -1,361 +0,0 @@
|
||||||
require "include.pl";
|
|
||||||
|
|
||||||
sub get_userinfo_from_sid
|
|
||||||
{
|
|
||||||
#get parameters
|
|
||||||
my ($sid) = @_;
|
|
||||||
|
|
||||||
#prepare query
|
|
||||||
my $sth = $dbh->prepare(qq{select id, username, pagesize from users where sid = ?}) or die $dbh->errstr;
|
|
||||||
|
|
||||||
#execute it
|
|
||||||
$sth->execute($sid) or die $dbh->errstr;
|
|
||||||
|
|
||||||
#save the resulting username
|
|
||||||
($userinfo->{'id'}, $userinfo->{'username'}, $userinfo->{'pagesize'}) = $sth->fetchrow_array();
|
|
||||||
|
|
||||||
#finish query
|
|
||||||
$sth->finish() or die $dbh->errstr;
|
|
||||||
|
|
||||||
#return
|
|
||||||
return @userinfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub get_page_array
|
|
||||||
{
|
|
||||||
#get parameters
|
|
||||||
my (@userinfo) = @_;
|
|
||||||
|
|
||||||
my $page = XML::LibXML::Element->new( "page" );
|
|
||||||
|
|
||||||
#get user language from browser http_accept string
|
|
||||||
my ($lang) = $query->http('HTTP_ACCEPT_LANGUAGE') =~ /^[^,]+,([^;]*);/;
|
|
||||||
$page->setAttribute( "lang", $lang ? $lang : "en" );
|
|
||||||
|
|
||||||
#TODO: set namespace for each site on its own
|
|
||||||
$page->setAttribute( "username", $userinfo->{'username'} );
|
|
||||||
|
|
||||||
return $page;
|
|
||||||
}
|
|
||||||
|
|
||||||
# index.pl (display custom search)
|
|
||||||
# search.pl (display search results)
|
|
||||||
# and upload.pl (display similar videos)
|
|
||||||
sub fill_results
|
|
||||||
{
|
|
||||||
my ($dbquery, @args) = @_;
|
|
||||||
|
|
||||||
my $results = XML::LibXML::Element->new( "results" );
|
|
||||||
|
|
||||||
#prepare query
|
|
||||||
my $sth = $dbh->prepare($dbquery) or die $dbh->errstr;
|
|
||||||
|
|
||||||
#execute it
|
|
||||||
$resultcount = $sth->execute(@args) or die $dbh->errstr;
|
|
||||||
|
|
||||||
#set pagesize by query or usersettings or default
|
|
||||||
$pagesize = $query->param('pagesize') or $pagesize = $userinfo->{'pagesize'} or $pagesize = $config->{"search_results_default"};
|
|
||||||
|
|
||||||
#if pagesize is more than maxpagesize reduce to maxpagesize
|
|
||||||
$pagesize = $pagesize > $config->{"search_results_max"} ? $config->{"search_results_max"} : $pagesize;
|
|
||||||
|
|
||||||
#rediculous but funny round up, will fail with 100000000000000 results per page
|
|
||||||
#on 0.0000000000001% of all queries - this is a risk we can handle
|
|
||||||
$lastpage = int($resultcount/$pagesize+0.99999999999999);
|
|
||||||
|
|
||||||
$currentpage = int($query->param('page')) or $currentpage = 1;
|
|
||||||
|
|
||||||
$dbquery .= " limit ".($currentpage-1)*$pagesize.", ".$pagesize;
|
|
||||||
|
|
||||||
#prepare query
|
|
||||||
$sth = $dbh->prepare($dbquery) or die $dbh->errstr;
|
|
||||||
|
|
||||||
#execute it
|
|
||||||
$sth->execute(@args) or die $dbh->errstr;
|
|
||||||
|
|
||||||
$results->setAttribute('lastpage', $lastpage);
|
|
||||||
$results->setAttribute('currentpage', $currentpage);
|
|
||||||
$results->setAttribute('resultcount', $resultcount eq '0E0' ? 0 : $resultcount);
|
|
||||||
$results->setAttribute('pagesize', $pagesize);
|
|
||||||
|
|
||||||
#get every returned value
|
|
||||||
while (my ($id, $title, $description, $publisher, $timestamp, $creator,
|
|
||||||
$subject, $source, $language, $coverage, $rights,
|
|
||||||
$license, $filesize, $duration, $width, $height, $fps, $viewcount,
|
|
||||||
$downloadcount) = $sth->fetchrow_array())
|
|
||||||
{
|
|
||||||
#build xml node structure
|
|
||||||
my $result = XML::LibXML::Element->new( "result" );
|
|
||||||
$result->setAttribute( "thumbnail", $config->{"url_root"}."/video-stills/thumbnails/$id" );
|
|
||||||
$result->setAttribute( "preview", $config->{"url_root"}."/video-stills/previews/$id" );
|
|
||||||
$result->setAttribute( "duration", $duration );
|
|
||||||
$result->setAttribute( "viewcount", $viewcount );
|
|
||||||
|
|
||||||
my $rdf = XML::LibXML::Element->new( "RDF" );
|
|
||||||
$rdf->setNamespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf");
|
|
||||||
|
|
||||||
my $work = XML::LibXML::Element->new( "Work" );
|
|
||||||
$work->setNamespace( "http://web.resource.org/cc/", "cc");
|
|
||||||
$work->setNamespace( "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf", 0);
|
|
||||||
$work->setAttributeNS( "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "about", $config->{"url_root"}."/download/$id/" );
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "coverage" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($coverage);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "creator" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($creator);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "date" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($date);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "description" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($description);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "identifier" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($config->{"url_root"}."/video/".urlencode($title)."/$id/");
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "language" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($language);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "publisher" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($publisher);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "rights" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($rights);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "source" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($source);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "subject" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($subjcet);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "title" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($title);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
my $license = XML::LibXML::Element->new( "License" );
|
|
||||||
$license->setNamespace("http://web.resource.org/cc/", "cc");
|
|
||||||
$license->setNamespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf", 0);
|
|
||||||
$license->setAttributeNS( "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "about", "http://creativecommons.org/licenses/GPL/2.0/" );
|
|
||||||
|
|
||||||
$rdf->appendChild($work);
|
|
||||||
$rdf->appendChild($license);
|
|
||||||
|
|
||||||
$result->appendChild($rdf);
|
|
||||||
|
|
||||||
$results->appendChild($result);
|
|
||||||
}
|
|
||||||
|
|
||||||
#finish query
|
|
||||||
$sth->finish() or die $dbh->errstr;
|
|
||||||
|
|
||||||
return $results;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub get_sqlquery
|
|
||||||
{
|
|
||||||
my $strquery = @_[0];
|
|
||||||
$strquery =~ s/%([0-9A-F]{2})/chr(hex($1))/eg;
|
|
||||||
(@tags) = $strquery =~ / tag:(\w+)/gi;
|
|
||||||
($order) = $strquery =~ / order:(\w+)/i;
|
|
||||||
($sort) = $strquery =~ / sort:(\w+)/i;
|
|
||||||
#TODO: add those options
|
|
||||||
#($title) = $strquery =~ /title:(\w+)/i;
|
|
||||||
#($description) = $strquery =~ /description:(\w+)/i;
|
|
||||||
#($creator) = $strquery =~ /creator:(\w+)/i;
|
|
||||||
#($language) = $strquery =~ /language:(\w+)/i;
|
|
||||||
#($coverage) = $strquery =~ /coverage:(\w+)/i;
|
|
||||||
#($rights) = $strquery =~ /rights:(\w+)/i;
|
|
||||||
#($license) = $strquery =~ /license:(\w+)/i;
|
|
||||||
#($filesize) = $strquery =~ /filesize:([<>]?\w+)/i;
|
|
||||||
#($duration) = $strquery =~ /duration:([<>]?\w+)/i;
|
|
||||||
#($timestamp) = $strquery =~ /timestamp:([<>]?\w+)/i;
|
|
||||||
$strquery =~ s/ (tag|order|sort):\w+//gi;
|
|
||||||
$strquery =~ s/^\s*(.*?)\s*$/$1/;
|
|
||||||
|
|
||||||
#build mysql query
|
|
||||||
my $dbquery = "select v.id, v.title, v.description, u.username,
|
|
||||||
from_unixtime( v.timestamp ), v.creator, v.subject,
|
|
||||||
v.source, v.language, v.coverage, v.rights, v.license, filesize,
|
|
||||||
duration, width, height, fps, viewcount, downloadcount";
|
|
||||||
|
|
||||||
#only continue with a valid query string
|
|
||||||
if($strquery)
|
|
||||||
{
|
|
||||||
#select all videos
|
|
||||||
if($strquery eq "*")
|
|
||||||
{
|
|
||||||
$dbquery .= " from videos as v, users as u where u.id = v.userid";
|
|
||||||
}
|
|
||||||
#search
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$dbquery .= ", match(v.title, v.description, v.subject) against( ? in boolean mode) as relevance";
|
|
||||||
$dbquery .= " from videos as v, users as u where u.id = v.userid";
|
|
||||||
$dbquery .= " and match(v.title, v.description, v.subject) against( ? in boolean mode)";
|
|
||||||
push @args, $strquery, $strquery;
|
|
||||||
}
|
|
||||||
|
|
||||||
#match tags if present
|
|
||||||
if(@tags)
|
|
||||||
{
|
|
||||||
$dbquery .= " and match(v.subject) against (? in boolean mode)";
|
|
||||||
push @args, "@tags";
|
|
||||||
}
|
|
||||||
|
|
||||||
#match publisher
|
|
||||||
if($publisher)
|
|
||||||
{
|
|
||||||
$dbquery .= " and match(u.username) against (? in boolean mode)";
|
|
||||||
push @args, "$publisher";
|
|
||||||
}
|
|
||||||
|
|
||||||
#give results the right order
|
|
||||||
if($order)
|
|
||||||
{
|
|
||||||
if($order eq 'filesize')
|
|
||||||
{
|
|
||||||
$dbquery .= " order by v.filesize";
|
|
||||||
}
|
|
||||||
elsif($order eq 'duration')
|
|
||||||
{
|
|
||||||
$dbquery .= " order by v.duration";
|
|
||||||
}
|
|
||||||
elsif($order eq 'viewcount')
|
|
||||||
{
|
|
||||||
$dbquery .= " order by v.viewcount";
|
|
||||||
}
|
|
||||||
elsif($order eq 'downloadcount')
|
|
||||||
{
|
|
||||||
$dbquery .= " order by v.downloadcount";
|
|
||||||
}
|
|
||||||
elsif($order eq 'timestamp')
|
|
||||||
{
|
|
||||||
$dbquery .= " order by v.timestamp";
|
|
||||||
}
|
|
||||||
elsif($order eq 'relevance')
|
|
||||||
{
|
|
||||||
$dbquery .= " order by relevance";
|
|
||||||
}
|
|
||||||
elsif($order eq 'random')
|
|
||||||
{
|
|
||||||
$dbquery .= " order by rand()";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$dbquery .= " order by $config->{'search_order_default'}";
|
|
||||||
}
|
|
||||||
|
|
||||||
if($sort eq "ascending")
|
|
||||||
{
|
|
||||||
$dbquery .= " asc";
|
|
||||||
}
|
|
||||||
elsif($sort eq "descending")
|
|
||||||
{
|
|
||||||
$dbquery .= " desc";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$dbquery .= " $config->{'search_sort_default'}";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return $dbquery, @args;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#replace chars in url according to RFC 1738 <http://www.rfc-editor.org/rfc/rfc1738.txt>
|
|
||||||
sub urlencode
|
|
||||||
{
|
|
||||||
my ($url) = @_[0];
|
|
||||||
$url =~ s/([^A-Za-z0-9_\$\-.+!*'()])/sprintf("%%%02X", ord($1))/eg;
|
|
||||||
return $url;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub output_page
|
|
||||||
{
|
|
||||||
my $doc = shift;
|
|
||||||
my $parser = XML::LibXML->new();
|
|
||||||
my $xslt = XML::LibXSLT->new();
|
|
||||||
|
|
||||||
# let the XSLT param choose other stylesheets or default to xhtml.xsl
|
|
||||||
my $param_xslt = $query->param('xslt');
|
|
||||||
$param_xslt =~ s/[^a-z0-9\[\]\$\-_.+!*'(),]//gi;
|
|
||||||
|
|
||||||
if( -f "$root/xsl/$param_xslt.xsl")
|
|
||||||
{
|
|
||||||
$xsltpath = "$root/xsl/$param_xslt.xsl"
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$xsltpath = "$root/xsl/xhtml.xsl";
|
|
||||||
}
|
|
||||||
|
|
||||||
#TODO: preload xslt stylesheet
|
|
||||||
my $stylesheet = $xslt->parse_stylesheet($parser->parse_file($xsltpath));
|
|
||||||
|
|
||||||
$output = $stylesheet->transform($doc);
|
|
||||||
|
|
||||||
if($param_xslt eq "xspf")
|
|
||||||
{
|
|
||||||
return $session->header(
|
|
||||||
-type=>$stylesheet->media_type,
|
|
||||||
-charset=>$stylesheet->output_encoding,
|
|
||||||
-attachment=>$query->param('query').".xspf",
|
|
||||||
),
|
|
||||||
$output->toString;
|
|
||||||
#$stylesheet->output_as_bytes($output); <= for future use with XML::LibXSLT (>= 1.62)
|
|
||||||
}
|
|
||||||
elsif($param_xslt eq "pr0n")
|
|
||||||
{
|
|
||||||
return $session->header(
|
|
||||||
-status=>'402 Payment required',
|
|
||||||
-cost=>'$9001.00', # OVER NEIN THOUSAND
|
|
||||||
)
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return $session->header(
|
|
||||||
-type=>$stylesheet->media_type,
|
|
||||||
-charset=>$stylesheet->output_encoding,
|
|
||||||
"x-pingback"=>$config->{"url_root"}."/pingback.pl"
|
|
||||||
),
|
|
||||||
print $output->toString;
|
|
||||||
#$stylesheet->output_as_bytes($output); <= for future use with XML::LibXSLT (>= 1.62)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#output info message
|
|
||||||
sub message
|
|
||||||
{
|
|
||||||
my ($type, $text, $value) = @_;
|
|
||||||
my $message = XML::LibXML::Element->new( "message" );
|
|
||||||
$message->setAttribute("type", $type);
|
|
||||||
$message->setAttribute("text", $text);
|
|
||||||
if ($value)
|
|
||||||
{
|
|
||||||
$message->setAttribute("value", $value);
|
|
||||||
}
|
|
||||||
return $message;
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
Web badges
|
|
||||||
|
|
||||||
License: GPL
|
|
||||||
Source: from http://www.zwahlendesign.ch/en/node/19
|
|
Before Width: | Height: | Size: 724 B |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 744 B |
Before Width: | Height: | Size: 794 B |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 7.4 KiB |
|
@ -1,211 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
<svg
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://web.resource.org/cc/"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="180"
|
|
||||||
height="40"
|
|
||||||
id="svg2"
|
|
||||||
sodipodi:version="0.32"
|
|
||||||
inkscape:version="0.45.1"
|
|
||||||
version="1.0"
|
|
||||||
sodipodi:docbase="/home/nils/src/yolanda/images"
|
|
||||||
sodipodi:docname="logo.svg"
|
|
||||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
|
||||||
inkscape:export-filename="/home/nils/src/yolanda/images/logo.png"
|
|
||||||
inkscape:export-xdpi="90"
|
|
||||||
inkscape:export-ydpi="90">
|
|
||||||
<defs
|
|
||||||
id="defs4">
|
|
||||||
<linearGradient
|
|
||||||
id="linearGradient9183">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#f89999;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop9185" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ef2929;stop-opacity:1;"
|
|
||||||
offset="1"
|
|
||||||
id="stop9187" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
id="linearGradient6256">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#eeeeec;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop6258" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:1;"
|
|
||||||
offset="1"
|
|
||||||
id="stop6260" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
id="linearGradient3319">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#c6cccf;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop3321" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#2e3436;stop-opacity:1;"
|
|
||||||
offset="1"
|
|
||||||
id="stop3323" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
xlink:href="#linearGradient9183"
|
|
||||||
id="linearGradient2275"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
gradientTransform="translate(11.22852,34.8125)"
|
|
||||||
x1="43.5"
|
|
||||||
y1="30.257181"
|
|
||||||
x2="43.5"
|
|
||||||
y2="-24.070921" />
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
xlink:href="#linearGradient6256"
|
|
||||||
id="linearGradient6241"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
gradientTransform="translate(1.626953,5.65625)"
|
|
||||||
x1="51.345703"
|
|
||||||
y1="6.9864564"
|
|
||||||
x2="51.345703"
|
|
||||||
y2="62.017578" />
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
xlink:href="#linearGradient3319"
|
|
||||||
id="linearGradient8232"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
x1="3.8828125"
|
|
||||||
y1="62.017578"
|
|
||||||
x2="3.8828125"
|
|
||||||
y2="7.0058732"
|
|
||||||
gradientTransform="translate(-0.3730469,5.65625)" />
|
|
||||||
</defs>
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="base"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1.0"
|
|
||||||
inkscape:pageopacity="0.0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:zoom="5.2214934"
|
|
||||||
inkscape:cx="88.688928"
|
|
||||||
inkscape:cy="24.166553"
|
|
||||||
inkscape:document-units="px"
|
|
||||||
inkscape:current-layer="layer1"
|
|
||||||
width="180px"
|
|
||||||
height="44px"
|
|
||||||
borderlayer="true"
|
|
||||||
showborder="true"
|
|
||||||
inkscape:showpageshadow="false"
|
|
||||||
showgrid="true"
|
|
||||||
gridspacingx="0.5px"
|
|
||||||
gridspacingy="0.5px"
|
|
||||||
gridempspacing="2"
|
|
||||||
objecttolerance="10000"
|
|
||||||
gridtolerance="10000"
|
|
||||||
inkscape:grid-points="true"
|
|
||||||
inkscape:window-width="1183"
|
|
||||||
inkscape:window-height="635"
|
|
||||||
inkscape:window-x="40"
|
|
||||||
inkscape:window-y="84"
|
|
||||||
showguides="true"
|
|
||||||
inkscape:guide-bbox="true" />
|
|
||||||
<metadata
|
|
||||||
id="metadata7">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<g
|
|
||||||
inkscape:label="Ebene 1"
|
|
||||||
inkscape:groupmode="layer"
|
|
||||||
id="layer1"
|
|
||||||
transform="translate(-2.5097656,-31)">
|
|
||||||
<rect
|
|
||||||
rx="10"
|
|
||||||
ry="10"
|
|
||||||
y="32.5"
|
|
||||||
x="55"
|
|
||||||
height="37"
|
|
||||||
width="106"
|
|
||||||
id="rect9191"
|
|
||||||
style="fill:none;fill-opacity:1;stroke:#5e0606;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
|
||||||
<rect
|
|
||||||
style="fill:#ef2929;fill-opacity:1;stroke:url(#linearGradient2275);stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
|
||||||
id="rect3347"
|
|
||||||
width="106"
|
|
||||||
height="37"
|
|
||||||
x="55"
|
|
||||||
y="32.5"
|
|
||||||
ry="10"
|
|
||||||
rx="10" />
|
|
||||||
<g
|
|
||||||
id="g8236"
|
|
||||||
transform="translate(8,-2)">
|
|
||||||
<text
|
|
||||||
xml:space="preserve"
|
|
||||||
style="font-size:64px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:none;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;font-family:Sans"
|
|
||||||
x="4.0800781"
|
|
||||||
y="66.664062"
|
|
||||||
id="text11901"
|
|
||||||
sodipodi:linespacing="125%"><tspan
|
|
||||||
sodipodi:role="line"
|
|
||||||
id="tspan11903"
|
|
||||||
x="4.0800781"
|
|
||||||
y="66.664062"
|
|
||||||
style="font-size:36px;font-weight:normal;fill:none;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">Yo</tspan></text>
|
|
||||||
<text
|
|
||||||
sodipodi:linespacing="125%"
|
|
||||||
id="text4107"
|
|
||||||
y="66.664062"
|
|
||||||
x="4.0800781"
|
|
||||||
style="font-size:64px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#2e3436;fill-opacity:1;stroke:url(#linearGradient8232);stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;font-family:Sans"
|
|
||||||
xml:space="preserve"><tspan
|
|
||||||
style="font-size:36px;font-weight:normal;fill:#2e3436;fill-opacity:1;stroke:url(#linearGradient8232);stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
||||||
y="66.664062"
|
|
||||||
x="4.0800781"
|
|
||||||
id="tspan4109"
|
|
||||||
sodipodi:role="line">Yo</tspan></text>
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
id="g8242"
|
|
||||||
transform="translate(8,-2)">
|
|
||||||
<text
|
|
||||||
sodipodi:linespacing="125%"
|
|
||||||
id="text3337"
|
|
||||||
y="66.664062"
|
|
||||||
x="50.08007"
|
|
||||||
style="font-size:64px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:none;fill-opacity:1;stroke:#34342f;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;font-family:Sans"
|
|
||||||
xml:space="preserve"><tspan
|
|
||||||
style="font-size:36px;font-weight:normal;fill:none;fill-opacity:1;stroke:#34342f;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
||||||
y="66.664062"
|
|
||||||
x="50.08007"
|
|
||||||
id="tspan3339"
|
|
||||||
sodipodi:role="line">landa</tspan></text>
|
|
||||||
<text
|
|
||||||
xml:space="preserve"
|
|
||||||
style="font-size:64px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#eeeeec;fill-opacity:1;stroke:url(#linearGradient6241);stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;font-family:Sans"
|
|
||||||
x="50.08007"
|
|
||||||
y="66.664062"
|
|
||||||
id="text3341"
|
|
||||||
sodipodi:linespacing="125%"><tspan
|
|
||||||
sodipodi:role="line"
|
|
||||||
id="tspan3343"
|
|
||||||
x="50.08007"
|
|
||||||
y="66.664062"
|
|
||||||
style="font-size:36px;font-weight:normal;fill:#eeeeec;fill-opacity:1;stroke:url(#linearGradient6241);stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">landa</tspan></text>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 8 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 477 B |
Before Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 911 B |
Before Width: | Height: | Size: 652 B |
Before Width: | Height: | Size: 799 B |
Before Width: | Height: | Size: 935 B |
Before Width: | Height: | Size: 611 B |
Before Width: | Height: | Size: 788 B |
Before Width: | Height: | Size: 333 B |
Before Width: | Height: | Size: 823 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB |
|
@ -1,9 +0,0 @@
|
||||||
Ulisse Perusin <uli.peru@gmail.com>
|
|
||||||
Steven Garrity <sgarrity@silverorange.com>
|
|
||||||
Lapo Calamandrei <calamandrei@gmail.com>
|
|
||||||
Ryan Collier <rcollier@novell.com>
|
|
||||||
Rodney Dawes <dobey@novell.com>
|
|
||||||
Andreas Nilsson <nisses.mail@home.se>
|
|
||||||
Tuomas Kuosmanen <tigert@tigert.com>
|
|
||||||
Garrett LeSage <garrett@novell.com>
|
|
||||||
Jakub Steiner <jimmac@novell.com>
|
|
|
@ -1,67 +0,0 @@
|
||||||
Creative Commons Attribution-ShareAlike 2.5 License Agreement
|
|
||||||
|
|
||||||
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
|
|
||||||
|
|
||||||
License
|
|
||||||
|
|
||||||
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
|
||||||
|
|
||||||
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
|
|
||||||
|
|
||||||
1. Definitions
|
|
||||||
|
|
||||||
1. "Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.
|
|
||||||
2. "Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License.
|
|
||||||
3. "Licensor" means the individual or entity that offers the Work under the terms of this License.
|
|
||||||
4. "Original Author" means the individual or entity who created the Work.
|
|
||||||
5. "Work" means the copyrightable work of authorship offered under the terms of this License.
|
|
||||||
6. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
|
|
||||||
7. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike.
|
|
||||||
|
|
||||||
2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.
|
|
||||||
|
|
||||||
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
|
|
||||||
|
|
||||||
1. to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;
|
|
||||||
2. to create and reproduce Derivative Works;
|
|
||||||
3. to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;
|
|
||||||
4. to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.
|
|
||||||
5.
|
|
||||||
|
|
||||||
For the avoidance of doubt, where the work is a musical composition:
|
|
||||||
1. Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.
|
|
||||||
2. Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights society or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).
|
|
||||||
6. Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).
|
|
||||||
|
|
||||||
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.
|
|
||||||
|
|
||||||
4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
|
|
||||||
|
|
||||||
1. You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(c), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(c), as requested.
|
|
||||||
2. You may distribute, publicly display, publicly perform, or publicly digitally perform a Derivative Work only under the terms of this License, a later version of this License with the same License Elements as this License, or a Creative Commons iCommons license that contains the same License Elements as this License (e.g. Attribution-ShareAlike 2.5 Japan). You must include a copy of, or the Uniform Resource Identifier for, this License or other license specified in the previous sentence with every copy or phonorecord of each Derivative Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Derivative Works that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder, and You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Derivative Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Derivative Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Derivative Work itself to be made subject to the terms of this License.
|
|
||||||
3. If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.
|
|
||||||
|
|
||||||
5. Representations, Warranties and Disclaimer
|
|
||||||
|
|
||||||
UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
|
|
||||||
|
|
||||||
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
||||||
|
|
||||||
7. Termination
|
|
||||||
|
|
||||||
1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
|
|
||||||
2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
|
|
||||||
|
|
||||||
8. Miscellaneous
|
|
||||||
|
|
||||||
1. Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
|
|
||||||
2. Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
|
|
||||||
3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
|
|
||||||
4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
|
|
||||||
5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
|
|
||||||
|
|
||||||
Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor.
|
|
||||||
|
|
||||||
Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time.
|
|
||||||
|
|
||||||
Creative Commons may be contacted at http://creativecommons.org/.
|
|
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 2.5 KiB |
|
@ -1,32 +0,0 @@
|
||||||
#!/usr/bin/perl -w
|
|
||||||
|
|
||||||
#TODO: make this script specific when we use fastcgi
|
|
||||||
use CGI qw(:standard);
|
|
||||||
use CGI::Session;
|
|
||||||
use DBI;
|
|
||||||
use XML::Simple qw(:strict);
|
|
||||||
use Digest::SHA qw(sha256_hex);
|
|
||||||
use LWPx::ParanoidAgent;
|
|
||||||
use Net::OpenID::Consumer;
|
|
||||||
use File::Copy;
|
|
||||||
use XML::LibXSLT;
|
|
||||||
use XML::LibXML;
|
|
||||||
use LWP::UserAgent;
|
|
||||||
use HTTP::Request;
|
|
||||||
use CGI::Carp qw(fatalsToBrowser set_message);
|
|
||||||
|
|
||||||
#send error message to user
|
|
||||||
set_message("It's not a bug, it's a feature!!<br />(include this error message in your bugreport here: <a href=\"http://yolanda.mister-muffin.de/newticket\">Yolanda bugtracker</a>)");
|
|
||||||
|
|
||||||
# change this as you install it somewhere else
|
|
||||||
$root = '/var/www/yolanda';
|
|
||||||
|
|
||||||
use lib qw(/var/www/yolanda);
|
|
||||||
|
|
||||||
#set global config variable
|
|
||||||
$config = XMLin("$root/config/backend.xml", KeyAttr => {string => 'id'}, ForceArray => [ 'string' ], ContentKey => '-content');
|
|
||||||
$config = $config->{"strings"}->{"string"};
|
|
||||||
|
|
||||||
#set database connection string
|
|
||||||
$dbh = DBI->connect("DBI:mysql:".$config->{"database_name"}.":".$config->{"database_host"}, $config->{"database_username"}, $config->{"database_password"}) or die $DBI::errstr;
|
|
||||||
1;
|
|
169
trunk/index.pl
|
@ -1,169 +0,0 @@
|
||||||
require "functions.pl";
|
|
||||||
|
|
||||||
#create or resume session
|
|
||||||
CGI::Session->name($config->{"page_cookie_name"});
|
|
||||||
$query = new CGI;
|
|
||||||
$session = new CGI::Session;
|
|
||||||
|
|
||||||
@userinfo = get_userinfo_from_sid($session->id);
|
|
||||||
|
|
||||||
my $doc = XML::LibXML::Document->new( "1.0", "UTF-8" );
|
|
||||||
|
|
||||||
my $page = get_page_array(@userinfo);
|
|
||||||
|
|
||||||
$page->setNamespace( $config->{"xml_namespace_cc"}, "cc", 0);
|
|
||||||
$page->setNamespace( $config->{"xml_namespace_dc"}, "dc", 0);
|
|
||||||
$page->setNamespace( $config->{"xml_namespace_rdf"}, "rdf", 0);
|
|
||||||
|
|
||||||
#TODO: make the <frontpage> element unneccesary
|
|
||||||
$page->appendChild(XML::LibXML::Element->new( "frontpage" ));
|
|
||||||
|
|
||||||
#if a message box is to be shown
|
|
||||||
if($query->param('information'))
|
|
||||||
{
|
|
||||||
$page->appendChild(message("information", $query->param('information'), $query->param('value')));
|
|
||||||
}
|
|
||||||
elsif($query->param('error'))
|
|
||||||
{
|
|
||||||
$page->appendChild(message("error", $query->param('error'), $query->param('value')));
|
|
||||||
}
|
|
||||||
elsif($query->param('warning'))
|
|
||||||
{
|
|
||||||
$page->appendChild(message("warning", $query->param('warning'), $query->param('value')));
|
|
||||||
}
|
|
||||||
|
|
||||||
#new tagcloud xml element
|
|
||||||
my $tagcloud = XML::LibXML::Element->new( "tagcloud" );
|
|
||||||
|
|
||||||
#prepare query
|
|
||||||
my $sth = $dbh->prepare(qq{select text, count from tagcloud }) or die $dbh->errstr;
|
|
||||||
|
|
||||||
#execute it
|
|
||||||
$sth->execute() or die $dbh->errstr;
|
|
||||||
|
|
||||||
#get every returned value and append it to tagcloud
|
|
||||||
while (my ($text, $count) = $sth->fetchrow_array())
|
|
||||||
{
|
|
||||||
#TODO: why not use <tag count="">text</tag>
|
|
||||||
my $tag = XML::LibXML::Element->new( "tag" );
|
|
||||||
$tag->appendTextChild("text", $text);
|
|
||||||
$tag->appendTextChild("count", $count);
|
|
||||||
$tagcloud->appendChild($tag);
|
|
||||||
}
|
|
||||||
|
|
||||||
#finish query
|
|
||||||
$sth->finish() or die $dbh->errstr;
|
|
||||||
|
|
||||||
$page->appendChild($tagcloud);
|
|
||||||
|
|
||||||
#now get the frontpage video queries from config and process them
|
|
||||||
foreach $strquery ($config->{"search_frontpage_one_query"}, $config->{"search_frontpage_two_query"}, $config->{"search_frontpage_three_query"})
|
|
||||||
{
|
|
||||||
#new results block
|
|
||||||
my $results = XML::LibXML::Element->new( "results" );
|
|
||||||
$results->setAttribute( "query", $strquery );
|
|
||||||
|
|
||||||
#get query string and args
|
|
||||||
my ($dbquery, @args) = get_sqlquery($strquery);
|
|
||||||
$dbquery .= " limit 0, $config->{'search_frontpage_size'}";
|
|
||||||
|
|
||||||
#prepare query
|
|
||||||
$sth = $dbh->prepare($dbquery) or die $dbh->errstr;
|
|
||||||
|
|
||||||
#execute it
|
|
||||||
$sth->execute(@args) or die @args;
|
|
||||||
|
|
||||||
#foreach result, fill appropriate results hash
|
|
||||||
while (my ($id, $title, $description, $publisher, $timestamp, $creator,
|
|
||||||
$subject, $source, $language, $coverage, $rights,
|
|
||||||
$license, $filesize, $duration, $width, $height, $fps, $viewcount,
|
|
||||||
$downloadcount) = $sth->fetchrow_array())
|
|
||||||
{
|
|
||||||
#construct xml
|
|
||||||
my $result = XML::LibXML::Element->new( "result" );
|
|
||||||
$result->setAttribute( "thumbnail", $config->{"url_root"}."/video-stills/thumbnails/$id" );
|
|
||||||
$result->setAttribute( "preview", $config->{"url_root"}."/video-stills/previews/$id" );
|
|
||||||
$result->setAttribute( "duration", $duration );
|
|
||||||
$result->setAttribute( "viewcount", $viewcount );
|
|
||||||
|
|
||||||
my $rdf = XML::LibXML::Element->new( "RDF" );
|
|
||||||
$rdf->setNamespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf");
|
|
||||||
|
|
||||||
my $work = XML::LibXML::Element->new( "Work" );
|
|
||||||
$work->setNamespace( "http://web.resource.org/cc/", "cc");
|
|
||||||
$work->setNamespace( "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf", 0);
|
|
||||||
$work->setAttributeNS( "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "about", $config->{"url_root"}."/download/$id/" );
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "coverage" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($coverage);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "creator" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($creator);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "date" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($date);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "description" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($description);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "identifier" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($config->{"url_root"}."/video/".urlencode($title)."/$id/");
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "language" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($language);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "publisher" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($publisher);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "rights" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($rights);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "source" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($source);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "subject" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($subjcet);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
$node = XML::LibXML::Element->new( "title" );
|
|
||||||
$node->setNamespace( "http://purl.org/dc/elements/1.1/", "dc" );
|
|
||||||
$node->appendText($title);
|
|
||||||
$work->appendChild($node);
|
|
||||||
|
|
||||||
my $license = XML::LibXML::Element->new( "License" );
|
|
||||||
$license->setNamespace("http://web.resource.org/cc/", "cc");
|
|
||||||
$license->setNamespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf", 0);
|
|
||||||
$license->setAttributeNS( "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "about", "http://creativecommons.org/licenses/GPL/2.0/" );
|
|
||||||
|
|
||||||
$rdf->appendChild($work);
|
|
||||||
$rdf->appendChild($license);
|
|
||||||
|
|
||||||
$result->appendChild($rdf);
|
|
||||||
|
|
||||||
$results->appendChild($result);
|
|
||||||
}
|
|
||||||
$page->appendChild($results);
|
|
||||||
}
|
|
||||||
|
|
||||||
$doc->setDocumentElement($page);
|
|
||||||
|
|
||||||
output_page($doc);
|
|
|
@ -1,138 +0,0 @@
|
||||||
require "include.pl";
|
|
||||||
|
|
||||||
#create or resume session
|
|
||||||
CGI::Session->name($config->{"page_cookie_name"});
|
|
||||||
my $session = new CGI::Session;
|
|
||||||
|
|
||||||
$dbh->do(qq{drop table config});
|
|
||||||
|
|
||||||
$dbh->do(qq{drop table users});
|
|
||||||
|
|
||||||
$dbh->do(qq{drop table videos});
|
|
||||||
|
|
||||||
$dbh->do(qq{drop table uploaded});
|
|
||||||
|
|
||||||
$dbh->do(qq{drop table tagcloud});
|
|
||||||
|
|
||||||
$dbh->do(qq{drop table comments});
|
|
||||||
|
|
||||||
$dbh->do(qq{create table
|
|
||||||
tagcloud
|
|
||||||
(
|
|
||||||
text varchar(255) not null,
|
|
||||||
count int not null
|
|
||||||
)
|
|
||||||
}) or die $dbh->errstr;
|
|
||||||
|
|
||||||
$dbh->do(qq{insert into
|
|
||||||
tagcloud values
|
|
||||||
(
|
|
||||||
'web tv', 68
|
|
||||||
)
|
|
||||||
}) or die $dbh->errstr;
|
|
||||||
|
|
||||||
$dbh->do(qq{create table
|
|
||||||
users
|
|
||||||
(
|
|
||||||
id int auto_increment not null,
|
|
||||||
username varchar(255) not null,
|
|
||||||
password char(41) not null,
|
|
||||||
sid char(32) not null,
|
|
||||||
timestamp bigint not null,
|
|
||||||
pagesize tinyint unsigned default 5,
|
|
||||||
primary key (id)
|
|
||||||
)
|
|
||||||
}) or die $dbh->errstr;
|
|
||||||
|
|
||||||
$dbh->do(qq{insert into
|
|
||||||
users
|
|
||||||
(
|
|
||||||
username,
|
|
||||||
password
|
|
||||||
)
|
|
||||||
values
|
|
||||||
(
|
|
||||||
'test',
|
|
||||||
password( 'test' )
|
|
||||||
)
|
|
||||||
}) or die $dbh->errstr;
|
|
||||||
|
|
||||||
$dbh->do(qq{create table
|
|
||||||
uploaded
|
|
||||||
(
|
|
||||||
id int auto_increment not null,
|
|
||||||
title varchar(255) not null,
|
|
||||||
description text not null,
|
|
||||||
userid int not null,
|
|
||||||
timestamp bigint not null,
|
|
||||||
creator varchar(255) not null,
|
|
||||||
subject varchar(255) not null,
|
|
||||||
source varchar(255) not null,
|
|
||||||
language varchar(255) not null,
|
|
||||||
coverage varchar(255) not null,
|
|
||||||
rights varchar(255) not null,
|
|
||||||
license varchar(255) not null,
|
|
||||||
filesize int default -1,
|
|
||||||
duration int default -1,
|
|
||||||
width smallint default -1,
|
|
||||||
height smallint default -1,
|
|
||||||
fps float not null,
|
|
||||||
hash char(64) not null,
|
|
||||||
primary key (id)
|
|
||||||
)
|
|
||||||
}) or die $dbh->errstr;
|
|
||||||
|
|
||||||
$dbh->do(qq{create table
|
|
||||||
videos
|
|
||||||
(
|
|
||||||
id int auto_increment not null,
|
|
||||||
title varchar(255) not null,
|
|
||||||
description text not null,
|
|
||||||
userid int not null,
|
|
||||||
timestamp bigint not null,
|
|
||||||
creator varchar(255) not null,
|
|
||||||
subject varchar(255) not null,
|
|
||||||
source varchar(255) not null,
|
|
||||||
language varchar(255) not null,
|
|
||||||
coverage varchar(255) not null,
|
|
||||||
rights varchar(255) not null,
|
|
||||||
license varchar(255) not null,
|
|
||||||
filesize int not null,
|
|
||||||
duration int not null,
|
|
||||||
width smallint not null,
|
|
||||||
height smallint not null,
|
|
||||||
fps float not null,
|
|
||||||
hash char(64) not null,
|
|
||||||
viewcount int default 0,
|
|
||||||
downloadcount int default 0,
|
|
||||||
primary key (id),
|
|
||||||
fulltext (title, description, subject)
|
|
||||||
)
|
|
||||||
}) or die $dbh->errstr;
|
|
||||||
|
|
||||||
$dbh->do(qq{create table
|
|
||||||
comments
|
|
||||||
(
|
|
||||||
id int auto_increment not null,
|
|
||||||
userid int not null,
|
|
||||||
videoid int not null,
|
|
||||||
text text not null,
|
|
||||||
timestamp bigint not null,
|
|
||||||
primary key (id)
|
|
||||||
)
|
|
||||||
}) or die $dbh->errstr;
|
|
||||||
|
|
||||||
$dbh->do(qq{create table
|
|
||||||
pingbacks
|
|
||||||
(
|
|
||||||
id int auto_increment not null,
|
|
||||||
source varchar(255) not null,
|
|
||||||
videoid int not null,
|
|
||||||
text text not null,
|
|
||||||
timestamp bigint not null,
|
|
||||||
primary key (id)
|
|
||||||
)
|
|
||||||
}) or die $dbh->errstr;
|
|
||||||
|
|
||||||
print $session->header();
|
|
||||||
print "initiated database";
|
|
|
@ -1,17 +0,0 @@
|
||||||
/* Cortado - a video player java applet
|
|
||||||
* Copyright (C) 2004 Fluendo S.L.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
|
@ -1,23 +0,0 @@
|
||||||
/* Jheora
|
|
||||||
* Copyright (C) 2004 Fluendo S.L.
|
|
||||||
*
|
|
||||||
* Written by: 2004 Wim Taymans <wim@fluendo.com>
|
|
||||||
*
|
|
||||||
* Many thanks to
|
|
||||||
* The Xiph.Org Foundation http://www.xiph.org/
|
|
||||||
* Jheora was based on their Theora reference decoder.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Library General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2 of
|
|
||||||
* the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Library General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Library General Public
|
|
||||||
* License along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
||||||
*/
|
|
|
@ -1,273 +0,0 @@
|
||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
||||||
<xsl:stylesheet version="1.0"
|
|
||||||
xmlns=""
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
|
||||||
>
|
|
||||||
|
|
||||||
<strings>
|
|
||||||
|
|
||||||
<string id="separator"> | </string>
|
|
||||||
|
|
||||||
<!-- header -->
|
|
||||||
<string id="header_login-to-upload">to upload videos, log in first.</string>
|
|
||||||
|
|
||||||
<string id="register">Register</string>
|
|
||||||
<string id="login">Login</string>
|
|
||||||
|
|
||||||
<string id="header_upload-video">Upload video</string>
|
|
||||||
<string id="settings_details">Settings</string>
|
|
||||||
|
|
||||||
<string id="logged_in_as">logged in as </string>
|
|
||||||
<string id="logout">Logout</string>
|
|
||||||
|
|
||||||
<!-- footer -->
|
|
||||||
<string id="footer_copyright">© 2007 - 2008 Yolanda Team</string>
|
|
||||||
<string id="footer_warranty">
|
|
||||||
This software comes WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for details.
|
|
||||||
</string>
|
|
||||||
<string id="footer_license">view license</string>
|
|
||||||
<string id="footer_source_code">get source code</string>
|
|
||||||
<string id="footer_report_bug">report bug</string>
|
|
||||||
|
|
||||||
<!-- fieldset captions -->
|
|
||||||
<string id="fieldset_comments">Comments</string>
|
|
||||||
<string id="fieldset_description">Description</string>
|
|
||||||
<string id="fieldset_embed">Embedding</string>
|
|
||||||
<string id="fieldset_license">License</string>
|
|
||||||
<string id="fieldset_login">Login</string>
|
|
||||||
<string id="fieldset_metadata">Metadata</string>
|
|
||||||
<string id="fieldset_pluginhelp">Plugin Help</string>
|
|
||||||
<string id="fieldset_preview">Preview</string>
|
|
||||||
<string id="fieldset_results">Results</string>
|
|
||||||
<string id="fieldset_search">Search</string>
|
|
||||||
<string id="fieldset_tagcloud">Tagcloud</string>
|
|
||||||
<string id="fieldset_upload">Upload form</string>
|
|
||||||
<string id="fieldset_video">Video</string>
|
|
||||||
|
|
||||||
<!-- front page -->
|
|
||||||
<string id="button_find">Find</string>
|
|
||||||
<string id="button_lucky">Instant Access</string>
|
|
||||||
<string id="button_advanced">Advanced Search</string>
|
|
||||||
|
|
||||||
<string id="search_frontpage_one">new videos</string>
|
|
||||||
<string id="search_frontpage_two">most downloaded</string>
|
|
||||||
<string id="search_frontpage_three">popular videos</string>
|
|
||||||
<string id="search_custom_one">new videos</string>
|
|
||||||
<string id="search_custom_two">most downloaded</string>
|
|
||||||
<string id="search_custom_three">popular videos</string>
|
|
||||||
|
|
||||||
<!-- errors -->
|
|
||||||
<string id="error_202c">Error 202c - Access forbidden by government.</string>
|
|
||||||
<string id="error_missing_file">You did not supply a file.</string>
|
|
||||||
<string id="error_missing_DC.Title">You did not supply a title.</string>
|
|
||||||
<string id="error_missing_DC.Creator">You did not supply a creator.</string>
|
|
||||||
<string id="error_missing_DC.Subject">You did not supply any keywords.</string>
|
|
||||||
<string id="error_missing_DC.Description">You did not supply a description.</string>
|
|
||||||
<string id="error_missing_DC.Publisher">You did not supply a publisher.</string>
|
|
||||||
<string id="error_missing_DC.Title">You did not supply a title.</string>
|
|
||||||
<string id="error_missing_DC.Source">You did not supply a source.</string>
|
|
||||||
<string id="error_missing_DC.Language">You did not supply a language.</string>
|
|
||||||
<string id="error_missing_DC.Coverage">You did not supply a coverage.</string>
|
|
||||||
<string id="error_missing_DC.Rights">You did not supply a rights holder.</string>
|
|
||||||
<string id="error_already_registered">You seem to be already registered. Please log out to create a new account.</string>
|
|
||||||
<string id="error_already_logged_in">You seem to be already logged in. Please log out to log in again.</string>
|
|
||||||
<string id="error_username_password_do_not_match">Username and / or password do not match.</string>
|
|
||||||
<string id="error_passwords_do_not_match">Passwords do not match.</string>
|
|
||||||
<string id="error_username_already_registered">Your desired Username was already registered</string>
|
|
||||||
<string id="error_insert_username">Please insert a username.</string>
|
|
||||||
<string id="error_insert_password">Please insert a password.</string>
|
|
||||||
<string id="error_repeat_password">Please repeat your password.</string>
|
|
||||||
<string id="error_no_query">You passed no query string.</string>
|
|
||||||
<string id="error_no_ogg_plugin">Your browser does not support <xhtml:em>Ogg Theora</xhtml:em> video playback.</string>
|
|
||||||
<string id="error_no_video">There is no video matching your request</string>
|
|
||||||
<string id="error_openid_no_identity_server">The provided URL doesn't declare its OpenID identity server</string>
|
|
||||||
<string id="error_openid_empty_url">No URL entered</string>
|
|
||||||
<string id="error_openid_bogus_url">Invalid URL</string>
|
|
||||||
<string id="error_openid_no_head_tag">URL provided doesn't seem to have a head tag</string>
|
|
||||||
<string id="error_openid_url_fetch_error">Error fetching the provided URL</string>
|
|
||||||
<string id="error_upload_invalid_stream">Invalid audio and/or video stream</string>
|
|
||||||
<string id="error_upload_io">Cannot read video file</string>
|
|
||||||
<string id="error_upload_not_a_video">File is not a video</string>
|
|
||||||
<string id="error_upload_duplicate">Video has already been uploaded</string>
|
|
||||||
<string id="error_upload_file_too_small">The filesize of the video you uploaded is too small</string>
|
|
||||||
<string id="error_upload_file_too_big">The filesize of the video you uploaded is too big</string>
|
|
||||||
<string id="error_upload_video_width_too_small">The width of the video you uploaded is too small</string>
|
|
||||||
<string id="error_upload_video_height_too_small">The height of the video you uploaded is too small</string>
|
|
||||||
<string id=""></string>
|
|
||||||
|
|
||||||
<!-- information -->
|
|
||||||
<string id="information_logged_in">You are now logged in.</string>
|
|
||||||
<string id="information_logged_out">You are now logged out.</string>
|
|
||||||
<string id="information_metainformation_needed">To put the video into context, additional metainformation is needed.</string>
|
|
||||||
<string id="information_metainformation_rights"></string>
|
|
||||||
<string id="information_comment_created">Your comment has been submitted.</string>
|
|
||||||
<string id="information_registered">Your account has been created.</string>
|
|
||||||
<string id="information_uploaded">Your file has been uploaded. It will be available at </string>
|
|
||||||
<string id="information_settings_changed">Your settings have been updated.</string>
|
|
||||||
<string id="information_video_not_yet_available">The video being requested is not yet available. The Server has to convert </string>
|
|
||||||
|
|
||||||
<!-- warnings -->
|
|
||||||
<string id="warning_no_results">There are no results satisfying your query.</string>
|
|
||||||
|
|
||||||
<!-- results page-->
|
|
||||||
<string id="results_heading_1">results</string>
|
|
||||||
<string id="results_heading_2">to</string>
|
|
||||||
<string id="results_heading_3">out of</string>
|
|
||||||
<string id="results_heading_4"></string> <!-- this may be needed for other languages -->
|
|
||||||
<string id="ordered_by">ordered by</string>
|
|
||||||
<string id="ascending">ascending</string>
|
|
||||||
<string id="descending">descending</string>
|
|
||||||
<string id="videos_oldest">oldest first</string>
|
|
||||||
<string id="videos_newest">most recent first</string>
|
|
||||||
<string id="videos_downloaded_least">least downloaded first</string>
|
|
||||||
<string id="videos_downloaded_most">most downloaded first</string>
|
|
||||||
<string id="videos_viewed_least">least viewed first</string>
|
|
||||||
<string id="videos_viewed_most">most viewed first</string>
|
|
||||||
<string id="videos_shortest">shortest first</string>
|
|
||||||
<string id="videos_lengthest">lenghtest first</string>
|
|
||||||
<string id="videos_smallest">smallest first</string>
|
|
||||||
<string id="videos_biggest">biggest first</string>
|
|
||||||
<string id="results_on">results on</string>
|
|
||||||
<string id="pages">pages</string>
|
|
||||||
<string id="relevance">relevance</string>
|
|
||||||
<string id="duration">duration</string>
|
|
||||||
<string id="filesize">filesize</string>
|
|
||||||
<string id="viewcount">views</string>
|
|
||||||
<string id="downloadcount">downloads</string>
|
|
||||||
<string id="timestamp">timestamp</string>
|
|
||||||
|
|
||||||
<!-- search bar-->
|
|
||||||
<string id="search">Search</string>
|
|
||||||
|
|
||||||
<!-- login / register page -->
|
|
||||||
<string id="username">Username</string>
|
|
||||||
<string id="username_or_openid">Username or <xhtml:a href="http://openid.net/">OpenID</xhtml:a></string>
|
|
||||||
<string id="password">Password</string>
|
|
||||||
<string id="password_repeat">repeat password</string>
|
|
||||||
<string id="input_password_not_required">No password required.</string>
|
|
||||||
<string id="button_register">Register</string>
|
|
||||||
<string id="button_login">Login</string>
|
|
||||||
|
|
||||||
<!-- upload page -->
|
|
||||||
<string id="file">file</string>
|
|
||||||
<string id="button_next_page">Continue</string>
|
|
||||||
<string id="button_upload_send_file">Upload</string>
|
|
||||||
<string id="title_page_1">Basic Information</string>
|
|
||||||
<string id="title_page_2">Similar Videos</string>
|
|
||||||
<string id="title_page_3">Additional Metainformation</string>
|
|
||||||
<string id="title_page_4">Licensing</string>
|
|
||||||
<string id="title_page_5">Summary / Upload</string>
|
|
||||||
<string id="instruction_page_1">Describe the video you want to upload.</string>
|
|
||||||
<string id="instruction_page_2">Similar videos have already been uploaded. If none of these videos matches yours, continue.</string>
|
|
||||||
<string id="instruction_page_3">Providing these infos helps us to put the video into context.</string>
|
|
||||||
<string id="instruction_page_4">Describe the video's license.</string>
|
|
||||||
<string id="instruction_page_5">Double-check the data and correct mistakes, if necessary.</string>
|
|
||||||
<string id="instruction_file">Specify the file you want to upload.</string>
|
|
||||||
<string id="instruction_title">State the title of the video.</string>
|
|
||||||
<string id="instruction_creator">Specify the creator of the video.</string>
|
|
||||||
<string id="instruction_subject">State some keywords, separated by spaces.</string>
|
|
||||||
<string id="instruction_description">Describe the video in natural language.</string>
|
|
||||||
<string id="instruction_source">Specify the source, preferably by URL.</string>
|
|
||||||
<string id="instruction_language">State the language of the video.</string>
|
|
||||||
<string id="instruction_language_choose">choose a language</string>
|
|
||||||
<string id="instruction_coverage">Specify the time and location covered.</string>
|
|
||||||
<string id="instruction_rights">Specify the copyright owner of the video.</string>
|
|
||||||
<string id="instruction_license">Specify the license, preferably by URL.</string>
|
|
||||||
<string id="instruction_license_cc">Optionally, choose Creative Commons licensing.</string>
|
|
||||||
<string id="instruction_license_cc_remix_question">
|
|
||||||
Is <xhtml:em>modification</xhtml:em> of the video allowed ?
|
|
||||||
</string>
|
|
||||||
<string id="instruction_license_cc_remix">
|
|
||||||
Modification is <xhtml:em>allowed</xhtml:em>.
|
|
||||||
</string>
|
|
||||||
<string id="instruction_license_cc_sharealike">
|
|
||||||
Modification is <xhtml:em>allowed</xhtml:em>, as long as others share alike.
|
|
||||||
</string>
|
|
||||||
<string id="instruction_license_cc_noderivatives">
|
|
||||||
Modification is <xhtml:em>not allowed</xhtml:em>.
|
|
||||||
</string>
|
|
||||||
<string id="instruction_license_cc_commercial_question">
|
|
||||||
Is <xhtml:em>commercial use</xhtml:em> of the video allowed ?
|
|
||||||
</string>
|
|
||||||
<string id="instruction_license_cc_commercial">
|
|
||||||
Commercial use is <xhtml:em>allowed</xhtml:em>.
|
|
||||||
</string>
|
|
||||||
<string id="instruction_license_cc_noncommercial">
|
|
||||||
Commercial use is <xhtml:em>not allowed</xhtml:em>.
|
|
||||||
</string>
|
|
||||||
|
|
||||||
<!-- languages -->
|
|
||||||
<string id="language_en">English</string>
|
|
||||||
<string id="language_de">German</string>
|
|
||||||
|
|
||||||
<!-- video page -->
|
|
||||||
<string id="video_download">Download</string>
|
|
||||||
<string id="video_playback">Plackback</string>
|
|
||||||
<string id="watch_browserplugin">use browser plugin</string>
|
|
||||||
<string id="watch_cortadoapplet">use java applet</string>
|
|
||||||
<string id="license_conditions">license conditions</string>
|
|
||||||
<string id="protip_embed">To embed the video on another web page, use the following HTML code:</string>
|
|
||||||
<string id="login_to_comment">Login to comment</string>
|
|
||||||
<string id="comment_post">Post</string>
|
|
||||||
|
|
||||||
<string id="video_plugin_help">
|
|
||||||
<p>
|
|
||||||
To view this video, install
|
|
||||||
<a href="http://www.videolan.org/vlc/">VLC</a>,
|
|
||||||
<a href="http://www.mplayerhq.hu/design7/dload.html">mplayer</a> or
|
|
||||||
<a href="http://wiki.xiph.org/index.php/TheoraSoftwarePlayers">another player</a> capable of playing
|
|
||||||
<a href="http://theora.org/faq/#what">Ogg Theora</a>
|
|
||||||
videos.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
For installation instructions, see the <a href="http://en.wikipedia.org/wiki/Wikipedia:Media_help_(Ogg)">Wikipedia Media Help</a>.
|
|
||||||
</p>
|
|
||||||
</string>
|
|
||||||
|
|
||||||
<!-- embedded video page-->
|
|
||||||
<string id="backlink">backlink</string>
|
|
||||||
|
|
||||||
<!-- dublin core entities -->
|
|
||||||
<string id="DC.Title">title</string>
|
|
||||||
<string id="DC.Creator">author</string>
|
|
||||||
<string id="DC.Subject">keywords</string>
|
|
||||||
<string id="DC.Description">description</string>
|
|
||||||
<string id="DC.Publisher">uploader</string>
|
|
||||||
<string id="DC.Contributor">contributor</string>
|
|
||||||
<string id="DC.Date">upload date</string>
|
|
||||||
<string id="DC.Source">source</string>
|
|
||||||
<string id="DC.Language">language</string>
|
|
||||||
<string id="DC.Coverage">coverage</string>
|
|
||||||
<string id="DC.Rights">rights holder</string>
|
|
||||||
<string id="DC.License">license</string>
|
|
||||||
|
|
||||||
<string id="duration">duration</string>
|
|
||||||
<string id="viewcount">viewcount</string>
|
|
||||||
|
|
||||||
<!-- settings page -->
|
|
||||||
<string id="settings_heading">account settings for </string>
|
|
||||||
<string id="settings_instruction_pagesize">choose pagesize</string>
|
|
||||||
|
|
||||||
<!-- rss feed -->
|
|
||||||
<string id="rss_separator"> - </string>
|
|
||||||
<string id="rss_title_results_this_page">this page</string>
|
|
||||||
<string id="rss_title_results_all_pages">all results</string>
|
|
||||||
<string id="rss_description_1">This is an RSS Feed for the query "</string>
|
|
||||||
<string id="rss_description_2">".</string>
|
|
||||||
|
|
||||||
<!-- units, singular -->
|
|
||||||
<string id="unit_day">day</string>
|
|
||||||
<string id="unit_month">month</string>
|
|
||||||
<string id="unit_year">year</string>
|
|
||||||
|
|
||||||
<!-- units, plural -->
|
|
||||||
<string id="unit_hours">h</string>
|
|
||||||
<string id="unit_megabytes">MB</string>
|
|
||||||
<string id="unit_minutes">min</string>
|
|
||||||
<string id="unit_seconds">sec</string>
|
|
||||||
|
|
||||||
</strings>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
|
@ -1,935 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
||||||
<languages>
|
|
||||||
<lang>
|
|
||||||
<short>aa</short>
|
|
||||||
<name lang="en">Afar</name>
|
|
||||||
<name lang="aa">Afaraf</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ab</short>
|
|
||||||
<name lang="en">Abkhazian</name>
|
|
||||||
<name lang="ab">Аҧсуа</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ae</short>
|
|
||||||
<name lang="en">Avestan</name>
|
|
||||||
<name lang="ae">avesta</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>af</short>
|
|
||||||
<name lang="en">Afrikaans</name>
|
|
||||||
<name lang="af">Afrikaans</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ak</short>
|
|
||||||
<name lang="en">Akan</name>
|
|
||||||
<name lang="ak">Akan</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>am</short>
|
|
||||||
<name lang="en">Amharic</name>
|
|
||||||
<name lang="am">አማርኛ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>an</short>
|
|
||||||
<name lang="en">Aragonese</name>
|
|
||||||
<name lang="an">Aragonés</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ar</short>
|
|
||||||
<name lang="en">Arabic</name>
|
|
||||||
<name lang="ar">العربية</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>as</short>
|
|
||||||
<name lang="en">Assamese</name>
|
|
||||||
<name lang="as">অসমীয়া</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>av</short>
|
|
||||||
<name lang="en">Avaric</name>
|
|
||||||
<name lang="av">авар мацӀ; магӀарул мацӀ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ay</short>
|
|
||||||
<name lang="en">Aymara</name>
|
|
||||||
<name lang="ay">aymar aru</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>az</short>
|
|
||||||
<name lang="en">Azerbaijani</name>
|
|
||||||
<name lang="az">azərbaycan dili</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ba</short>
|
|
||||||
<name lang="en">Bashkir</name>
|
|
||||||
<name lang="ba">башҡорт теле</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>be</short>
|
|
||||||
<name lang="en">Belarusian</name>
|
|
||||||
<name lang="be">Беларуская</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>bg</short>
|
|
||||||
<name lang="en">Bulgarian</name>
|
|
||||||
<name lang="bg">български език</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>bh</short>
|
|
||||||
<name lang="en">Bihari</name>
|
|
||||||
<name lang="bh">भोजपुरी</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>bi</short>
|
|
||||||
<name lang="en">Bislama</name>
|
|
||||||
<name lang="bi">Bislama</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>bm</short>
|
|
||||||
<name lang="en">Bambara</name>
|
|
||||||
<name lang="bm">bamanankan</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>bn</short>
|
|
||||||
<name lang="en">Bengali</name>
|
|
||||||
<name lang="bn">বাংলা</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>bo</short>
|
|
||||||
<name lang="en">Tibetan</name>
|
|
||||||
<name lang="bo">བོད་ཡིག</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>br</short>
|
|
||||||
<name lang="en">Breton</name>
|
|
||||||
<name lang="br">brezhoneg</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>bs</short>
|
|
||||||
<name lang="en">Bosnian</name>
|
|
||||||
<name lang="bs">bosanski jezik</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ca</short>
|
|
||||||
<name lang="en">Catalan</name>
|
|
||||||
<name lang="ca">Català</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ce</short>
|
|
||||||
<name lang="en">Chechen</name>
|
|
||||||
<name lang="ce">нохчийн мотт</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ch</short>
|
|
||||||
<name lang="en">Chamorro</name>
|
|
||||||
<name lang="ch">Chamoru</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>co</short>
|
|
||||||
<name lang="en">Corsican</name>
|
|
||||||
<name lang="co">corsu; lingua corsa</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>cr</short>
|
|
||||||
<name lang="en">Cree</name>
|
|
||||||
<name lang="cr">ᓀᐦᐃᔭᐍᐏᐣ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>cs</short>
|
|
||||||
<name lang="en">Czech</name>
|
|
||||||
<name lang="cs">česky; čeština</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>cu</short>
|
|
||||||
<name lang="en">Church Slavic</name>
|
|
||||||
<name lang="cu"/>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>cv</short>
|
|
||||||
<name lang="en">Chuvash</name>
|
|
||||||
<name lang="cv">чӑваш чӗлхи</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>cy</short>
|
|
||||||
<name lang="en">Welsh</name>
|
|
||||||
<name lang="cy">Cymraeg</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>da</short>
|
|
||||||
<name lang="en">Danish</name>
|
|
||||||
<name lang="da">dansk</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>de</short>
|
|
||||||
<name lang="en">German</name>
|
|
||||||
<name lang="de">Deutsch</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>dv</short>
|
|
||||||
<name lang="en">Divehi</name>
|
|
||||||
<name lang="dv">ދިވެހި</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>dz</short>
|
|
||||||
<name lang="en">Dzongkha</name>
|
|
||||||
<name lang="dz">རྫོང་ཁ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ee</short>
|
|
||||||
<name lang="en">Ewe</name>
|
|
||||||
<name lang="ee">Ɛʋɛgbɛ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>el</short>
|
|
||||||
<name lang="en">Greek</name>
|
|
||||||
<name lang="el">Ελληνικά</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>en</short>
|
|
||||||
<name lang="en">English</name>
|
|
||||||
<name lang="en">English</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>eo</short>
|
|
||||||
<name lang="en">Esperanto</name>
|
|
||||||
<name lang="eo">Esperanto</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>es</short>
|
|
||||||
<name lang="en">Spanish</name>
|
|
||||||
<name lang="es">español; castellano</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>et</short>
|
|
||||||
<name lang="en">Estonian</name>
|
|
||||||
<name lang="et">Eesti keel</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>eu</short>
|
|
||||||
<name lang="en">Basque</name>
|
|
||||||
<name lang="eu">euskara</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>fa</short>
|
|
||||||
<name lang="en">Persian</name>
|
|
||||||
<name lang="fa">فارسی</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ff</short>
|
|
||||||
<name lang="en">Fulah</name>
|
|
||||||
<name lang="ff">Fulfulde</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>fi</short>
|
|
||||||
<name lang="en">Finnish</name>
|
|
||||||
<name lang="fi">suomen kieli</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>fj</short>
|
|
||||||
<name lang="en">Fijian</name>
|
|
||||||
<name lang="fj">vosa Vakaviti</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>fo</short>
|
|
||||||
<name lang="en">Faroese</name>
|
|
||||||
<name lang="fo">Føroyskt</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>fr</short>
|
|
||||||
<name lang="en">French</name>
|
|
||||||
<name lang="fr">français; langue française</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>fy</short>
|
|
||||||
<name lang="en">Western Frisian</name>
|
|
||||||
<name lang="fy">Frysk</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ga</short>
|
|
||||||
<name lang="en">Irish</name>
|
|
||||||
<name lang="ga">Gaeilge</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>gd</short>
|
|
||||||
<name lang="en">Scottish Gaelic</name>
|
|
||||||
<name lang="gd">Gàidhlig</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>gl</short>
|
|
||||||
<name lang="en">Galician</name>
|
|
||||||
<name lang="gl">Galego</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>gn</short>
|
|
||||||
<name lang="en">Guaraní</name>
|
|
||||||
<name lang="gn">Avañe'ẽ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>gu</short>
|
|
||||||
<name lang="en">Gujarati</name>
|
|
||||||
<name lang="gu">ગુજરાતી</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>gv</short>
|
|
||||||
<name lang="en">Manx</name>
|
|
||||||
<name lang="gv">Ghaelg</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ha</short>
|
|
||||||
<name lang="en">Hausa</name>
|
|
||||||
<name lang="ha">هَوُسَ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>he</short>
|
|
||||||
<name lang="en">Hebrew</name>
|
|
||||||
<name lang="he">עברית</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>hi</short>
|
|
||||||
<name lang="en">Hindi</name>
|
|
||||||
<name lang="hi">हिन्दी; हिंदी</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ho</short>
|
|
||||||
<name lang="en">Hiri Motu</name>
|
|
||||||
<name lang="ho">Hiri Motu</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>hr</short>
|
|
||||||
<name lang="en">Croatian</name>
|
|
||||||
<name lang="hr">Hrvatski</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ht</short>
|
|
||||||
<name lang="en">Haitian</name>
|
|
||||||
<name lang="ht">Kreyòl ayisyen</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>hu</short>
|
|
||||||
<name lang="en">Hungarian</name>
|
|
||||||
<name lang="hu">Magyar</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>hy</short>
|
|
||||||
<name lang="en">Armenian</name>
|
|
||||||
<name lang="hy">Հայերեն</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>hz</short>
|
|
||||||
<name lang="en">Herero</name>
|
|
||||||
<name lang="hz">Otjiherero</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ia</short>
|
|
||||||
<name lang="en">Interlingua</name>
|
|
||||||
<name lang="ia">interlingua</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>id</short>
|
|
||||||
<name lang="en">Indonesian</name>
|
|
||||||
<name lang="id">Bahasa Indonesia</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ie</short>
|
|
||||||
<name lang="en">Interlingue</name>
|
|
||||||
<name lang="ie">Interlingue</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ig</short>
|
|
||||||
<name lang="en">Igbo</name>
|
|
||||||
<name lang="ig">Igbo</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ii</short>
|
|
||||||
<name lang="en">Sichuan Yi</name>
|
|
||||||
<name lang="ii">ꆇꉙ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ik</short>
|
|
||||||
<name lang="en">Inupiaq</name>
|
|
||||||
<name lang="ik">Iñupiaq; Iñupiatun</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>io</short>
|
|
||||||
<name lang="en">Ido</name>
|
|
||||||
<name lang="io">Ido</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>is</short>
|
|
||||||
<name lang="en">Icelandic</name>
|
|
||||||
<name lang="is">Íslenska</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>it</short>
|
|
||||||
<name lang="en">Italian</name>
|
|
||||||
<name lang="it">Italiano</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>iu</short>
|
|
||||||
<name lang="en">Inuktitut</name>
|
|
||||||
<name lang="iu">ᐃᓄᒃᑎᑐᑦ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ja</short>
|
|
||||||
<name lang="en">Japanese</name>
|
|
||||||
<name lang="ja">日本語 (にほんご/にっぽんご)</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>jv</short>
|
|
||||||
<name lang="en">Javanese</name>
|
|
||||||
<name lang="jv">basa Jawa</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ka</short>
|
|
||||||
<name lang="en">Georgian</name>
|
|
||||||
<name lang="ka">ქართული</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>kg</short>
|
|
||||||
<name lang="en">Kongo</name>
|
|
||||||
<name lang="kg">KiKongo</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ki</short>
|
|
||||||
<name lang="en">Kikuyu</name>
|
|
||||||
<name lang="ki">Gĩkũyũ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>kj</short>
|
|
||||||
<name lang="en">Kwanyama</name>
|
|
||||||
<name lang="kj">Kuanyama</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>kk</short>
|
|
||||||
<name lang="en">Kazakh</name>
|
|
||||||
<name lang="kk">Қазақ тілі</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>kl</short>
|
|
||||||
<name lang="en">Kalaallisut</name>
|
|
||||||
<name lang="kl">kalaallisut; kalaallit oqaasii</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>km</short>
|
|
||||||
<name lang="en">Khmer</name>
|
|
||||||
<name lang="km">ភាសាខ្មែរ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>kn</short>
|
|
||||||
<name lang="en">Kannada</name>
|
|
||||||
<name lang="kn">ಕನ್ನಡ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ko</short>
|
|
||||||
<name lang="en">Korean</name>
|
|
||||||
<name lang="ko">한국어 (韓國語); 조선말 (朝鮮語)</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>kr</short>
|
|
||||||
<name lang="en">Kanuri</name>
|
|
||||||
<name lang="kr">Kanuri</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ks</short>
|
|
||||||
<name lang="en">Kashmiri</name>
|
|
||||||
<name lang="ks">कश्मीरी; كشميري</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ku</short>
|
|
||||||
<name lang="en">Kurdish</name>
|
|
||||||
<name lang="ku">Kurdî; كوردی</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>kv</short>
|
|
||||||
<name lang="en">Komi</name>
|
|
||||||
<name lang="kv">коми кыв</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>kw</short>
|
|
||||||
<name lang="en">Cornish</name>
|
|
||||||
<name lang="kw">Kernewek</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ky</short>
|
|
||||||
<name lang="en">Kirghiz</name>
|
|
||||||
<name lang="ky">кыргыз тили</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>la</short>
|
|
||||||
<name lang="en">Latin</name>
|
|
||||||
<name lang="la">latine; lingua latina</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>lb</short>
|
|
||||||
<name lang="en">Luxembourgish</name>
|
|
||||||
<name lang="lb">Lëtzebuergesch</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>lg</short>
|
|
||||||
<name lang="en">Ganda</name>
|
|
||||||
<name lang="lg">Luganda</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>li</short>
|
|
||||||
<name lang="en">Limburgish</name>
|
|
||||||
<name lang="li">Limburgs</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ln</short>
|
|
||||||
<name lang="en">Lingala</name>
|
|
||||||
<name lang="ln">Lingála</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>lo</short>
|
|
||||||
<name lang="en">Lao</name>
|
|
||||||
<name lang="lo">ພາສາລາວ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>lt</short>
|
|
||||||
<name lang="en">Lithuanian</name>
|
|
||||||
<name lang="lt">lietuvių kalba</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>lu</short>
|
|
||||||
<name lang="en">Luba-Katanga</name>
|
|
||||||
<name lang="lu"/>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>lv</short>
|
|
||||||
<name lang="en">Latvian</name>
|
|
||||||
<name lang="lv">latviešu valoda</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>mg</short>
|
|
||||||
<name lang="en">Malagasy</name>
|
|
||||||
<name lang="mg">Malagasy fiteny</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>mh</short>
|
|
||||||
<name lang="en">Marshallese</name>
|
|
||||||
<name lang="mh">Kajin M̧ajeļ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>mi</short>
|
|
||||||
<name lang="en">Māori</name>
|
|
||||||
<name lang="mi">te reo Māori</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>mk</short>
|
|
||||||
<name lang="en">Macedonian</name>
|
|
||||||
<name lang="mk">македонски јазик</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ml</short>
|
|
||||||
<name lang="en">Malayalam</name>
|
|
||||||
<name lang="ml">മലയാളം</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>mn</short>
|
|
||||||
<name lang="en">Mongolian</name>
|
|
||||||
<name lang="mn">Монгол</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>mo</short>
|
|
||||||
<name lang="en">Moldavian</name>
|
|
||||||
<name lang="mo">лимба молдовеняскэ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>mr</short>
|
|
||||||
<name lang="en">Marathi</name>
|
|
||||||
<name lang="mr">मराठी</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ms</short>
|
|
||||||
<name lang="en">Malay</name>
|
|
||||||
<name lang="ms">bahasa Melayu; بهاس ملايو</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>mt</short>
|
|
||||||
<name lang="en">Maltese</name>
|
|
||||||
<name lang="mt">Malti</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>my</short>
|
|
||||||
<name lang="en">Burmese</name>
|
|
||||||
<name lang="my">ဗမာစာ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>na</short>
|
|
||||||
<name lang="en">Nauru</name>
|
|
||||||
<name lang="na">Ekakairũ Naoero</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>nb</short>
|
|
||||||
<name lang="en">Norwegian Bokmål</name>
|
|
||||||
<name lang="nb">Norsk bokmål</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>nd</short>
|
|
||||||
<name lang="en">North Ndebele</name>
|
|
||||||
<name lang="nd">isiNdebele</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ne</short>
|
|
||||||
<name lang="en">Nepali</name>
|
|
||||||
<name lang="ne">नेपाली</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ng</short>
|
|
||||||
<name lang="en">Ndonga</name>
|
|
||||||
<name lang="ng">Owambo</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>nl</short>
|
|
||||||
<name lang="en">Dutch</name>
|
|
||||||
<name lang="nl">Nederlands</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>nn</short>
|
|
||||||
<name lang="en">Norwegian Nynorsk</name>
|
|
||||||
<name lang="nn">Norsk nynorsk</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>no</short>
|
|
||||||
<name lang="en">Norwegian</name>
|
|
||||||
<name lang="no">Norsk</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>nr</short>
|
|
||||||
<name lang="en">South Ndebele</name>
|
|
||||||
<name lang="nr">Ndébélé</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>nv</short>
|
|
||||||
<name lang="en">Navajo</name>
|
|
||||||
<name lang="nv">Diné bizaad; Dinékʼehǰí</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ny</short>
|
|
||||||
<name lang="en">Chichewa</name>
|
|
||||||
<name lang="ny">chiCheŵa; chinyanja</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>oc</short>
|
|
||||||
<name lang="en">Occitan</name>
|
|
||||||
<name lang="oc">Occitan</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>oj</short>
|
|
||||||
<name lang="en">Ojibwa</name>
|
|
||||||
<name lang="oj">ᐊᓂᔑᓈᐯᒧᐎᓐ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>om</short>
|
|
||||||
<name lang="en">Oromo</name>
|
|
||||||
<name lang="om">Afaan Oromoo</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>or</short>
|
|
||||||
<name lang="en">Oriya</name>
|
|
||||||
<name lang="or">ଓଡ଼ିଆ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>os</short>
|
|
||||||
<name lang="en">Ossetian</name>
|
|
||||||
<name lang="os">Ирон æвзаг</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>pa</short>
|
|
||||||
<name lang="en">Panjabi</name>
|
|
||||||
<name lang="pa">ਪੰਜਾਬੀ; پنجابی</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>pi</short>
|
|
||||||
<name lang="en">Pāli</name>
|
|
||||||
<name lang="pi">पाऴि</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>pl</short>
|
|
||||||
<name lang="en">Polish</name>
|
|
||||||
<name lang="pl">polski</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ps</short>
|
|
||||||
<name lang="en">Pashto</name>
|
|
||||||
<name lang="ps">پښتو</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>pt</short>
|
|
||||||
<name lang="en">Portuguese</name>
|
|
||||||
<name lang="pt">Português</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>qu</short>
|
|
||||||
<name lang="en">Quechua</name>
|
|
||||||
<name lang="qu">Runa Simi; Kichwa</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>rm</short>
|
|
||||||
<name lang="en">Raeto-Romance</name>
|
|
||||||
<name lang="rm">rumantsch grischun</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>rn</short>
|
|
||||||
<name lang="en">Kirundi</name>
|
|
||||||
<name lang="rn">kiRundi</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ro</short>
|
|
||||||
<name lang="en">Romanian</name>
|
|
||||||
<name lang="ro">română</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ru</short>
|
|
||||||
<name lang="en">Russian</name>
|
|
||||||
<name lang="ru">русский язык</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>rw</short>
|
|
||||||
<name lang="en">Kinyarwanda</name>
|
|
||||||
<name lang="rw">Kinyarwanda</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sa</short>
|
|
||||||
<name lang="en">Sanskrit</name>
|
|
||||||
<name lang="sa">संस्कृतम्</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sc</short>
|
|
||||||
<name lang="en">Sardinian</name>
|
|
||||||
<name lang="sc">sardu</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sd</short>
|
|
||||||
<name lang="en">Sindhi</name>
|
|
||||||
<name lang="sd">सिन्धी; سنڌي، سندھی</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>se</short>
|
|
||||||
<name lang="en">Northern Sami</name>
|
|
||||||
<name lang="se">Davvisámegiella</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sg</short>
|
|
||||||
<name lang="en">Sango</name>
|
|
||||||
<name lang="sg">yângâ tî sängö</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sh</short>
|
|
||||||
<name lang="en">Serbo-Croatian</name>
|
|
||||||
<name lang="sh">Srpskohrvatski; Српскохрватски</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>si</short>
|
|
||||||
<name lang="en">Sinhalese</name>
|
|
||||||
<name lang="si">සිංහල</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sk</short>
|
|
||||||
<name lang="en">Slovak</name>
|
|
||||||
<name lang="sk">slovenčina</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sl</short>
|
|
||||||
<name lang="en">Slovenian</name>
|
|
||||||
<name lang="sl">slovenščina</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sm</short>
|
|
||||||
<name lang="en">Samoan</name>
|
|
||||||
<name lang="sm">gagana fa'a Samoa</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sn</short>
|
|
||||||
<name lang="en">Shona</name>
|
|
||||||
<name lang="sn">chiShona</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>so</short>
|
|
||||||
<name lang="en">Somali</name>
|
|
||||||
<name lang="so">Soomaaliga; af Soomaali</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sq</short>
|
|
||||||
<name lang="en">Albanian</name>
|
|
||||||
<name lang="sq">Shqip</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sr</short>
|
|
||||||
<name lang="en">Serbian</name>
|
|
||||||
<name lang="sr">српски језик</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ss</short>
|
|
||||||
<name lang="en">Swati</name>
|
|
||||||
<name lang="ss">SiSwati</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>st</short>
|
|
||||||
<name lang="en">Sotho</name>
|
|
||||||
<name lang="st">seSotho</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>su</short>
|
|
||||||
<name lang="en">Sundanese</name>
|
|
||||||
<name lang="su">Basa Sunda</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sv</short>
|
|
||||||
<name lang="en">Swedish</name>
|
|
||||||
<name lang="sv">Svenska</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>sw</short>
|
|
||||||
<name lang="en">Swahili</name>
|
|
||||||
<name lang="sw">Kiswahili</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ta</short>
|
|
||||||
<name lang="en">Tamil</name>
|
|
||||||
<name lang="ta">தமிழ்</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>te</short>
|
|
||||||
<name lang="en">Telugu</name>
|
|
||||||
<name lang="te">తెలుగు</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>tg</short>
|
|
||||||
<name lang="en">Tajik</name>
|
|
||||||
<name lang="tg">тоҷикӣ; toğikī; تاجیکی</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>th</short>
|
|
||||||
<name lang="en">Thai</name>
|
|
||||||
<name lang="th">ไทย</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ti</short>
|
|
||||||
<name lang="en">Tigrinya</name>
|
|
||||||
<name lang="ti">ትግርኛ</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>tk</short>
|
|
||||||
<name lang="en">Turkmen</name>
|
|
||||||
<name lang="tk">Türkmen; Түркмен</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>tl</short>
|
|
||||||
<name lang="en">Tagalog</name>
|
|
||||||
<name lang="tl">Tagalog</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>tn</short>
|
|
||||||
<name lang="en">Tswana</name>
|
|
||||||
<name lang="tn">seTswana</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>to</short>
|
|
||||||
<name lang="en">Tonga</name>
|
|
||||||
<name lang="to">faka Tonga</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>tr</short>
|
|
||||||
<name lang="en">Turkish</name>
|
|
||||||
<name lang="tr">Türkçe</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ts</short>
|
|
||||||
<name lang="en">Tsonga</name>
|
|
||||||
<name lang="ts">xiTsonga</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>tt</short>
|
|
||||||
<name lang="en">Tatar</name>
|
|
||||||
<name lang="tt">татарча; tatarça; تاتارچا</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>tw</short>
|
|
||||||
<name lang="en">Twi</name>
|
|
||||||
<name lang="tw">Twi</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ty</short>
|
|
||||||
<name lang="en">Tahitian</name>
|
|
||||||
<name lang="ty">Reo Mā`ohi</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ug</short>
|
|
||||||
<name lang="en">Uighur</name>
|
|
||||||
<name lang="ug">Uyƣurqə; ئۇيغۇرچ </name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>uk</short>
|
|
||||||
<name lang="en">Ukrainian</name>
|
|
||||||
<name lang="uk">Українська</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ur</short>
|
|
||||||
<name lang="en">Urdu</name>
|
|
||||||
<name lang="ur">اردو</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>uz</short>
|
|
||||||
<name lang="en">Uzbek</name>
|
|
||||||
<name lang="uz">O'zbek; Ўзбек; أۇزبېك</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>ve</short>
|
|
||||||
<name lang="en">Venda</name>
|
|
||||||
<name lang="ve">tshiVenḓa</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>vi</short>
|
|
||||||
<name lang="en">Vietnamese</name>
|
|
||||||
<name lang="vi">Tiếng Việt</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>vo</short>
|
|
||||||
<name lang="en">Volapük</name>
|
|
||||||
<name lang="vo">Volapük</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>wa</short>
|
|
||||||
<name lang="en">Walloon</name>
|
|
||||||
<name lang="wa">Walon</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>wo</short>
|
|
||||||
<name lang="en">Wolof</name>
|
|
||||||
<name lang="wo">Wollof</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>xh</short>
|
|
||||||
<name lang="en">Xhosa</name>
|
|
||||||
<name lang="xh">isiXhosa</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>yi</short>
|
|
||||||
<name lang="en">Yiddish</name>
|
|
||||||
<name lang="yi">ייִדיש</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>yo</short>
|
|
||||||
<name lang="en">Yoruba</name>
|
|
||||||
<name lang="yo">Yorùbá</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>za</short>
|
|
||||||
<name lang="en">Zhuang</name>
|
|
||||||
<name lang="za">Saɯ cueŋƅ; Saw cuengh</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>zh</short>
|
|
||||||
<name lang="en">Chinese</name>
|
|
||||||
<name lang="zh">中文, 汉语, 漢語</name>
|
|
||||||
</lang>
|
|
||||||
<lang>
|
|
||||||
<short>zu</short>
|
|
||||||
<name lang="en">Zulu</name>
|
|
||||||
<name lang="zu">isiZulu</name>
|
|
||||||
</lang>
|
|
||||||
</languages>
|
|
||||||
</xsl:stylesheet>
|
|
137
trunk/login.pl
|
@ -1,137 +0,0 @@
|
||||||
require "functions.pl";
|
|
||||||
|
|
||||||
#initialize session data
|
|
||||||
CGI::Session->name($config->{"page_cookie_name"});
|
|
||||||
$query = new CGI;
|
|
||||||
$session = new CGI::Session;
|
|
||||||
|
|
||||||
@userinfo = get_userinfo_from_sid($session->id);
|
|
||||||
|
|
||||||
#TODO: use $query->http("HTTP_REFERER"); to redirect to the site last visited
|
|
||||||
|
|
||||||
if($query->param('action') eq "logout")
|
|
||||||
{
|
|
||||||
#if logout is requested
|
|
||||||
#remove sid from database
|
|
||||||
$dbh->do(qq{update users set sid = '' where id = ?}, undef, $userinfo->{'id'}) or die $dbh->errstr;
|
|
||||||
$session->delete();
|
|
||||||
|
|
||||||
print $query->redirect("index.pl?information=information_logged_out");
|
|
||||||
}
|
|
||||||
#check if user is logged in
|
|
||||||
elsif($userinfo->{'username'})
|
|
||||||
{
|
|
||||||
print $query->redirect("/index.pl?error=error_already_logged_in");
|
|
||||||
}
|
|
||||||
#if password is empty and username begins with http:// then it's an openid login
|
|
||||||
elsif($query->param('pass') eq '' and $query->param('user')=~m/^http:\/\//)
|
|
||||||
{
|
|
||||||
#create our openid consumer object
|
|
||||||
$con = Net::OpenID::Consumer->new(
|
|
||||||
ua => LWPx::ParanoidAgent->new,
|
|
||||||
cache => undef, # or File::Cache->new,
|
|
||||||
args => $query,
|
|
||||||
consumer_secret => $session->id, #is this save? don't know...
|
|
||||||
required_root => $config->{"url_root"}
|
|
||||||
);
|
|
||||||
|
|
||||||
#claim identity
|
|
||||||
$claimed = $con->claimed_identity($query->param('user'));
|
|
||||||
|
|
||||||
#if claim failed, redirect
|
|
||||||
if(!defined($claimed))
|
|
||||||
{
|
|
||||||
print $query->redirect("/index.pl?error=error_openid_".$con->errcode);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
#try to set the check_url
|
|
||||||
$check_url = $claimed->check_url(
|
|
||||||
return_to => $config->{"url_root"}."login.pl?action=openid", #on success return to this address
|
|
||||||
trust_root => $config->{"url_root"}); #this is the string the user will be asked to trust
|
|
||||||
|
|
||||||
#redirect to openid server to check claim
|
|
||||||
print $query->redirect($check_url);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#we return from an identity check
|
|
||||||
elsif($query->param('action') eq 'openid')
|
|
||||||
{
|
|
||||||
#create our openid consumer object
|
|
||||||
$con = Net::OpenID::Consumer->new(
|
|
||||||
ua => LWPx::ParanoidAgent->new,
|
|
||||||
cache => undef, # or File::Cache->new,
|
|
||||||
args => $query,
|
|
||||||
consumer_secret => $session->id, #is this save? don't know...
|
|
||||||
required_root => $config->{"url_root"}
|
|
||||||
);
|
|
||||||
|
|
||||||
#redirect to setup url
|
|
||||||
if($setup_url = $con->user_setup_url)
|
|
||||||
{
|
|
||||||
#redirect to setup url - user will give confirmation there
|
|
||||||
print $query->redirect($setup_url);
|
|
||||||
}
|
|
||||||
#or cancel process
|
|
||||||
elsif ($con->user_cancel)
|
|
||||||
{
|
|
||||||
#cancelled - redirect to login form
|
|
||||||
print $query->redirect("index.pl");
|
|
||||||
}
|
|
||||||
#or verify identity
|
|
||||||
elsif ($vident = $con->verified_identity)
|
|
||||||
{
|
|
||||||
#we are verified!!
|
|
||||||
my $verified_url = $vident->url;
|
|
||||||
|
|
||||||
#check if this openid user already is in database
|
|
||||||
my $sth = $dbh->prepare(qq{select 1 from users where username = ? limit 1 });
|
|
||||||
$sth->execute($verified_url);
|
|
||||||
|
|
||||||
if($sth->fetchrow_array())
|
|
||||||
{
|
|
||||||
#store session id in database
|
|
||||||
$dbh->do(qq{update users set sid = ? where username = ? }, undef, $session->id, $verified_url) or die $dbh->errstr;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
#add openid user to dabase
|
|
||||||
$dbh->do(qq{insert into users (username, sid) values ( ?, ? ) }, undef, $verified_url, $session->id) or die $dbh->errstr;
|
|
||||||
}
|
|
||||||
|
|
||||||
print $query->redirect("index.pl?information=information_logged_in");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
#an error occured
|
|
||||||
print $session->header();
|
|
||||||
print "error validating identity: ", $con->errcode;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#else it's a normal login
|
|
||||||
#check if password is not empty and username is neither beginning with http nor empty
|
|
||||||
elsif($query->param('pass') ne '' and $query->param('user')!~m/^http:\/\// and $query->param('user') ne '')
|
|
||||||
{
|
|
||||||
#prepare query
|
|
||||||
my $sth = $dbh->prepare(qq{select id from users
|
|
||||||
where password = password( ? ) and username = ? limit 1 });
|
|
||||||
|
|
||||||
#execute query
|
|
||||||
$sth->execute($query->param('pass'), $query->param('user'));
|
|
||||||
|
|
||||||
#if something was returned username and password match
|
|
||||||
if($sth->fetchrow_array())
|
|
||||||
{
|
|
||||||
#store session id in database
|
|
||||||
$dbh->do(qq{update users set sid = ? where username = ? }, undef, $session->id, $query->param('user')) or die $dbh->errstr;
|
|
||||||
print $query->redirect("index.pl?information=information_logged_in");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print $query->redirect("index.pl?error=error_username_password_do_not_match");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print $query->redirect("index.pl");
|
|
||||||
}
|
|
|
@ -1,34 +0,0 @@
|
||||||
INSTDIR=/usr/local
|
|
||||||
PROGNAME=yolanda
|
|
||||||
|
|
||||||
build: frontend backend
|
|
||||||
echo "building"
|
|
||||||
|
|
||||||
backend: database
|
|
||||||
# TODO: copy apache configuration
|
|
||||||
|
|
||||||
database:
|
|
||||||
# TODO: database setup - use dialog to answer the questions
|
|
||||||
# which database ? (suggested: mysql)
|
|
||||||
# root pasword ? (for setup)
|
|
||||||
# yolanda username ? (suggested: yolanda)
|
|
||||||
# yolanda password ? (will generate random username if none is chosen)
|
|
||||||
dialog --yesno "database stuff" 10 40
|
|
||||||
|
|
||||||
frontend: svg2png
|
|
||||||
# TODO: figure out what should go in here
|
|
||||||
|
|
||||||
install: build
|
|
||||||
-mkdir "${INSTDIR}/share/${PROGNAME}"
|
|
||||||
-mkdir "${INSTDIR}/share/${PROGNAME}/www"
|
|
||||||
# only stuff that is necessary should be copied - how to determine what is necessary ?
|
|
||||||
cp * ${INSTDIR}/share/${PROGNAME}/www -R
|
|
||||||
|
|
||||||
remove:
|
|
||||||
rm -rf "${INSTDIR}/share/yolanda"
|
|
||||||
# TODO: kill off database
|
|
||||||
|
|
||||||
svg2png:
|
|
||||||
# TODO: figure out how imagemagick works and convert every
|
|
||||||
single SVG
|
|
||||||
|
|
|
@ -1,47 +0,0 @@
|
||||||
.TH YOLANDA 7 2008-01-02 "" "Yolanda Video CMS Manual"
|
|
||||||
|
|
||||||
.SH NAME
|
|
||||||
Yolanda Video CMS
|
|
||||||
|
|
||||||
.SH SYNOPSIS
|
|
||||||
.B daemon.pl
|
|
||||||
|
|
||||||
.B tagcloud.pl
|
|
||||||
|
|
||||||
.B yolanda-upload.pl
|
|
||||||
|
|
||||||
.SH DESCRIPTION
|
|
||||||
Yolanda is a WWW video content management system using a Perl backend and XML frontend. Video playback in Browser is provided by Fluendo's Cortado Java applet or media player plugins like those of
|
|
||||||
.B vlc(1)
|
|
||||||
or
|
|
||||||
.B mplayer(1).
|
|
||||||
|
|
||||||
.SH OPTIONS
|
|
||||||
MOAR CONTENT.
|
|
||||||
.B CONTRIBUTE !
|
|
||||||
|
|
||||||
.SH FILES
|
|
||||||
AS I SAID:
|
|
||||||
.B CONTRIBUTE !
|
|
||||||
|
|
||||||
.SH CONFORMING TO
|
|
||||||
XHTML 1.0 Strict <-- we hope so
|
|
||||||
[[insert
|
|
||||||
.IB MOAR
|
|
||||||
standards here]]
|
|
||||||
|
|
||||||
.SH NOTES
|
|
||||||
this man page is useless, as it was thrown together just to see if it would be easy to make a man page without
|
|
||||||
.B prior knowledge \*(Tm
|
|
||||||
.
|
|
||||||
|
|
||||||
.SH BUGS
|
|
||||||
many. see http://yolanda.mister-muffin.de/trac
|
|
||||||
|
|
||||||
Yolanda is full of bad programming, severely unsafe and not fit for general use. Use on hacker conferences like the Chaos Communication Congress is encouraged - but please, for the love of the invisible pink unicorn, submit tickets in our bug tracking system afterwards.
|
|
||||||
|
|
||||||
.SH EXAMPLE
|
|
||||||
this will change often ( so i will just omit it )
|
|
||||||
|
|
||||||
.SH SEE ALSO
|
|
||||||
.B yolanda-upload (1)
|
|
|
@ -1,79 +0,0 @@
|
||||||
.TH YOLANDA-UPLOAD 1 2008-01-03 "" "Yolanda Video CMS Manual"
|
|
||||||
|
|
||||||
.SH NAME
|
|
||||||
Yolanda Uploader \- command-line tool to upload videos to WWW sites running Yolanda Video CMS.
|
|
||||||
|
|
||||||
.SH SYNOPSIS
|
|
||||||
.B yolanda-upload.pl
|
|
||||||
.RI [ options ]
|
|
||||||
|
|
||||||
.SH DESRIPTION
|
|
||||||
This manual page documents briefly the \fByolanda-upload\fP command.
|
|
||||||
.PP
|
|
||||||
\fByolanda-upload\fP is a program that uploads a video file to a WWW site running Yolanda Video CMS.
|
|
||||||
|
|
||||||
.SH OPTIONS
|
|
||||||
This program follows the usual GNU command line synthax, with long options starting with two dashes (`-'). A summary of options is included below.
|
|
||||||
|
|
||||||
As of now, all options are mandatory.
|
|
||||||
|
|
||||||
.SS General options:
|
|
||||||
.TP
|
|
||||||
.B \-u, \-\-username
|
|
||||||
Specify the username. This value will also be used for the publisher.
|
|
||||||
.TP
|
|
||||||
.B \-p, \-\-password
|
|
||||||
Specify the password. Lol insecure !!1
|
|
||||||
.TP
|
|
||||||
.B \-f, \-\-file
|
|
||||||
Upload given video file.
|
|
||||||
|
|
||||||
.SS Metadata options:
|
|
||||||
.B \-t, \-\-title
|
|
||||||
State the title of the video.
|
|
||||||
.TP
|
|
||||||
.B \-d, \-\-description
|
|
||||||
State a description of the video in natural language.
|
|
||||||
.TP
|
|
||||||
.B \-x, \-\-tags
|
|
||||||
Specify multiple tags, separated by spaces.
|
|
||||||
.TP
|
|
||||||
.B \-c, \-\-creator
|
|
||||||
Specify the creator of the video.
|
|
||||||
.TP
|
|
||||||
.B \-s, \-\-source
|
|
||||||
Specify the source of the video, preferably by URL.
|
|
||||||
.TP
|
|
||||||
.B \-l, \-\-language
|
|
||||||
Specify the language of the video, preferably conforming to ISO ???.
|
|
||||||
.TP
|
|
||||||
.B -\v, \-\-coverage
|
|
||||||
Specify the coverage of the video, e.g. "Berlin, December 2007"
|
|
||||||
.PP
|
|
||||||
( coverage should be -o, because -v usually is used for "verbose". )
|
|
||||||
|
|
||||||
.SH CONFORMING TO
|
|
||||||
[[insert
|
|
||||||
.IB MOAR
|
|
||||||
standards here]]
|
|
||||||
|
|
||||||
.SH NOTES
|
|
||||||
this man page is useless, as it was thrown together just to see if it would be easy to make a man page without
|
|
||||||
.B prior knowledge \*(Tm
|
|
||||||
.
|
|
||||||
|
|
||||||
.SH BUGS
|
|
||||||
many. see http://yolanda.mister-muffin.de/trac
|
|
||||||
|
|
||||||
Yolanda-upload is full of bad programming, severely unsafe and not fit for general use. Use on hacker conferences like the Chaos Communication Congress is encouraged - but please, for the love of the invisible pink unicorn, submit tickets in our bug tracking system afterwards.
|
|
||||||
|
|
||||||
.SH EXAMPLE
|
|
||||||
this will change often ( so i will just omit it )
|
|
||||||
|
|
||||||
.SH SEE ALSO
|
|
||||||
\fByolanda\fP(7)
|
|
||||||
|
|
||||||
.SH AUTHOR
|
|
||||||
yolanda-upload was written by Johannes Schauer.
|
|
||||||
.PP
|
|
||||||
This manual page was written by Nils Moskopp for his own amusement (but may be used by others).
|
|
|
@ -1,155 +0,0 @@
|
||||||
require "functions.pl";
|
|
||||||
|
|
||||||
#initialize session data
|
|
||||||
CGI::Session->name($config->{"page_cookie_name"});
|
|
||||||
$query = new CGI;
|
|
||||||
$session = new CGI::Session;
|
|
||||||
|
|
||||||
#we receive a POST request (this MUST contain a content/type definiton to be recognized)
|
|
||||||
if ($query->param("POSTDATA"))
|
|
||||||
{
|
|
||||||
#use xml::simple to process rpc request
|
|
||||||
eval { my $xmlpost = XMLin($query->param("POSTDATA"), ForceArray => 0, KeyAttr => 0) };
|
|
||||||
|
|
||||||
#if everything worked
|
|
||||||
if (!$@)
|
|
||||||
{
|
|
||||||
#set internal variables
|
|
||||||
my $method = $xmlpost->{"methodName"};
|
|
||||||
my $source = $xmlpost->{"params"}->{"param"}[0]->{"value"}->{"string"};
|
|
||||||
my $target = $xmlpost->{"params"}->{"param"}[1]->{"value"}->{"string"};
|
|
||||||
|
|
||||||
#if this is really a pingback rpc request
|
|
||||||
if ($method eq "pingback.ping")
|
|
||||||
{
|
|
||||||
#if there are valid target and source nodes
|
|
||||||
if ($source =~ /^http:\/\// and $target =~ /^http:\/\//)
|
|
||||||
{
|
|
||||||
#fetch the source URI to verify that the source does indeed link to the target.
|
|
||||||
my $request = HTTP::Request->new(GET => $source);
|
|
||||||
my $ua = LWP::UserAgent->new;
|
|
||||||
my $response = $ua->request($request);
|
|
||||||
|
|
||||||
#if the url indeed exists
|
|
||||||
if ($response->is_success)
|
|
||||||
{
|
|
||||||
#TODO: sanitize regex to grep site content
|
|
||||||
if (my ($text) = $response->content =~ m/(\S*.{0,17}$target.{0,17}\S*)/)
|
|
||||||
{
|
|
||||||
#check data to ensure that the target exists and is a valid entry.
|
|
||||||
my ($vid) = $target =~ /^$config->{'url_root'}\/video\/.*\/(\d+)\/.*/;
|
|
||||||
|
|
||||||
#query database if we have such a video
|
|
||||||
my $sth = $dbh->prepare("select id from videos where id = ? limit 1");
|
|
||||||
my $rowcount = $sth->execute($vid) or die $dbh->errstr;
|
|
||||||
|
|
||||||
$sth->finish() or die $dbh->errstr;
|
|
||||||
|
|
||||||
#if we have what the client wants to ping
|
|
||||||
if ($rowcount)
|
|
||||||
{
|
|
||||||
#check that the pingback has not already been registered.
|
|
||||||
$sth = $dbh->prepare("select id from pingbacks where videoid = ? limit 1");
|
|
||||||
$rowcount = $sth->execute($vid) or die $dbh->errstr;
|
|
||||||
$sth->finish() or die $dbh->errstr;
|
|
||||||
|
|
||||||
#if this is a new request
|
|
||||||
if ($rowcount eq "0E0")
|
|
||||||
{
|
|
||||||
#record the pingback.
|
|
||||||
$dbh->do(qq{insert into pingbacks (source, videoid, text, timestamp) values (?, ?, ?, unix_timestamp())}, undef,
|
|
||||||
$source, $vid, $text) or die $dbh->errstr;
|
|
||||||
|
|
||||||
#construct xml::simple hash
|
|
||||||
my $xml = ();
|
|
||||||
$xml->{'params'}->{'param'}->{'value'}->{'string'} = ["Pingback from $source to $target registered. Keep the web talking! :-)"];
|
|
||||||
|
|
||||||
print $session->header(
|
|
||||||
-type=>'application/xml',
|
|
||||||
-charset=>'UTF-8',
|
|
||||||
);
|
|
||||||
|
|
||||||
print XMLout(
|
|
||||||
$xml,
|
|
||||||
XMLDecl => 1,
|
|
||||||
KeyAttr => {},
|
|
||||||
RootName => 'methodResponse'
|
|
||||||
);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
send_error(48, "The pingback has already been registered.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
send_error(33, "The specified target URI cannot be used as a target.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
send_error(17, "The source URI does not contain a link to the target URI, and so cannot be used as a source.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
send_error(16, "The source URI does not exist.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
send_error(-32602, "server error. invalid method parameters");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
send_error(-32601, "server error. requested method not found");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
send_error(-32700,"parse error. not well formed");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print $session->header;
|
|
||||||
print "XML-RPC server only accepts POST requests with http content-type defined.";
|
|
||||||
}
|
|
||||||
|
|
||||||
sub send_error
|
|
||||||
{
|
|
||||||
my ($faultCode, $faultString) = @_;
|
|
||||||
|
|
||||||
#construct xml::simple hash
|
|
||||||
my $xml = ();
|
|
||||||
push @{$xml->{'fault'}->{'value'}->{'struct'}->{'member'}},
|
|
||||||
{
|
|
||||||
"name" => ["faultCode"],
|
|
||||||
"value" =>
|
|
||||||
{
|
|
||||||
"int" => [$faultCode]
|
|
||||||
}
|
|
||||||
};
|
|
||||||
push @{$xml->{'fault'}->{'value'}->{'struct'}->{'member'}},
|
|
||||||
{
|
|
||||||
"name" => ["faultString"],
|
|
||||||
"value" =>
|
|
||||||
{
|
|
||||||
"string" => [$faultString]
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
print $session->header(
|
|
||||||
-type=>'application/xml',
|
|
||||||
-charset=>'UTF-8',
|
|
||||||
);
|
|
||||||
|
|
||||||
print XMLout(
|
|
||||||
$xml,
|
|
||||||
XMLDecl => 1,
|
|
||||||
KeyAttr => {},
|
|
||||||
RootName => 'methodResponse'
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,101 +0,0 @@
|
||||||
require "functions.pl";
|
|
||||||
|
|
||||||
#initialize session data
|
|
||||||
CGI::Session->name($config->{"page_cookie_name"});
|
|
||||||
$query = new CGI;
|
|
||||||
$session = new CGI::Session;
|
|
||||||
|
|
||||||
@userinfo = get_userinfo_from_sid($session->id);
|
|
||||||
|
|
||||||
my $doc = XML::LibXML::Document->new( "1.0", "UTF-8" );
|
|
||||||
|
|
||||||
my $page = get_page_array(@userinfo);
|
|
||||||
|
|
||||||
#check if user is logged in
|
|
||||||
if($username)
|
|
||||||
{
|
|
||||||
$page->appendChild(message("error", "error_already_registered"));
|
|
||||||
|
|
||||||
$doc->setDocumentElement($page);
|
|
||||||
|
|
||||||
output_page($doc);
|
|
||||||
}
|
|
||||||
#if username and password are passed put them into the database
|
|
||||||
elsif($query->param('user') and $query->param('pass') and $query->param('pass_repeat'))
|
|
||||||
{
|
|
||||||
if($query->param('pass') eq $query->param('pass_repeat'))
|
|
||||||
{
|
|
||||||
my $sth = $dbh->prepare(qq{select id from users where username = ? limit 1 });
|
|
||||||
|
|
||||||
#execute query
|
|
||||||
$sth->execute($query->param('user'));
|
|
||||||
|
|
||||||
#if something was returned the selected username already exists
|
|
||||||
if($sth->fetchrow_array())
|
|
||||||
{
|
|
||||||
$page->appendChild(XML::LibXML::Element->new( "registerform" ));
|
|
||||||
|
|
||||||
$page->appendChild(message("error", "error_username_already_registered"));
|
|
||||||
|
|
||||||
$doc->setDocumentElement($page);
|
|
||||||
|
|
||||||
output_page($doc);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
#insert new user
|
|
||||||
$dbh->do(qq{insert into users (username, password, timestamp) values ( ?, password( ? ), unix_timestamp())}, undef,
|
|
||||||
$query->param("user"), $query->param("pass")) or die $dbh->errstr;
|
|
||||||
|
|
||||||
print $query->redirect("index.pl?information=information_registered");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$page->appendChild(XML::LibXML::Element->new( "registerform" ));
|
|
||||||
|
|
||||||
$page->appendChild(message("error", "error_passwords_do_not_match"));
|
|
||||||
|
|
||||||
$doc->setDocumentElement($page);
|
|
||||||
|
|
||||||
output_page($doc);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
elsif(not $query->param('user') and ($query->param('pass') or $query->param('pass_repeat')))
|
|
||||||
{
|
|
||||||
$page->appendChild(XML::LibXML::Element->new( "registerform" ));
|
|
||||||
|
|
||||||
$page->appendChild(message("error", "error_insert_username"));
|
|
||||||
|
|
||||||
$doc->setDocumentElement($page);
|
|
||||||
|
|
||||||
output_page($doc);
|
|
||||||
}
|
|
||||||
elsif(not $query->param('pass') and ($query->param('user') or $query->param('pass_repeat')))
|
|
||||||
{
|
|
||||||
$page->appendChild(XML::LibXML::Element->new( "registerform" ));
|
|
||||||
|
|
||||||
$page->appendChild(message("error", "error_insert_password"));
|
|
||||||
|
|
||||||
$doc->setDocumentElement($page);
|
|
||||||
|
|
||||||
output_page($doc);
|
|
||||||
}
|
|
||||||
elsif(not $query->param('pass_repeat') and ($query->param('user') or $query->param('pass')))
|
|
||||||
{
|
|
||||||
$page->appendChild(XML::LibXML::Element->new( "registerform" ));
|
|
||||||
|
|
||||||
$page->appendChild(message("error", "error_repeat_password"));
|
|
||||||
|
|
||||||
$doc->setDocumentElement($page);
|
|
||||||
|
|
||||||
output_page($doc);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$page->appendChild(XML::LibXML::Element->new( "registerform" ));
|
|
||||||
|
|
||||||
$doc->setDocumentElement($page);
|
|
||||||
|
|
||||||
output_page($doc);
|
|
||||||
}
|
|
|
@ -1,56 +0,0 @@
|
||||||
require "functions.pl";
|
|
||||||
|
|
||||||
#initialize session data
|
|
||||||
CGI::Session->name($config->{"page_cookie_name"});
|
|
||||||
$query = new CGI;
|
|
||||||
$session = new CGI::Session;
|
|
||||||
|
|
||||||
@userinfo = get_userinfo_from_sid($session->id);
|
|
||||||
|
|
||||||
my $doc = XML::LibXML::Document->new( "1.0", "UTF-8" );
|
|
||||||
|
|
||||||
my $page = get_page_array(@userinfo);
|
|
||||||
|
|
||||||
$page->setNamespace( $config->{"xml_namespace_cc"}, "cc", 0);
|
|
||||||
$page->setNamespace( $config->{"xml_namespace_dc"}, "dc", 0);
|
|
||||||
$page->setNamespace( $config->{"xml_namespace_rdf"}, "rdf", 0);
|
|
||||||
|
|
||||||
#check if query is set
|
|
||||||
if($query->param('query'))
|
|
||||||
{
|
|
||||||
#construct querystring and arguments from user query
|
|
||||||
my ($dbquery, @args) = get_sqlquery($query->param('query'));
|
|
||||||
|
|
||||||
#if successful
|
|
||||||
if($dbquery)
|
|
||||||
{
|
|
||||||
#fill xml with search results
|
|
||||||
$page->appendChild(fill_results($dbquery, @args));
|
|
||||||
|
|
||||||
$doc->setDocumentElement($page);
|
|
||||||
|
|
||||||
#get all found results
|
|
||||||
my @results = $doc->findnodes( "//results/result" );
|
|
||||||
|
|
||||||
#set result query in result's parent
|
|
||||||
$results[0]->parentNode->setAttribute('query', $query->param('query'));
|
|
||||||
|
|
||||||
#if result count is zero
|
|
||||||
if($#results == -1)
|
|
||||||
{
|
|
||||||
print $query->redirect("index.pl?warning=warning_no_results");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
output_page($doc);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print $query->redirect("index.pl?error=error_no_query");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print $query->redirect("index.pl?error=error_no_query");
|
|
||||||
}
|
|
|
@ -1,44 +0,0 @@
|
||||||
require "functions.pl";
|
|
||||||
|
|
||||||
#TODO: are settings obsolete?
|
|
||||||
|
|
||||||
#initialize session data
|
|
||||||
CGI::Session->name($config->{"page_cookie_name"});
|
|
||||||
$query = new CGI;
|
|
||||||
$session = new CGI::Session;
|
|
||||||
|
|
||||||
my @userinfo = get_userinfo_from_sid($session->id);
|
|
||||||
|
|
||||||
my $doc = XML::LibXML::Document->new( "1.0", "UTF-8" );
|
|
||||||
|
|
||||||
my $page = get_page_array(@userinfo);
|
|
||||||
|
|
||||||
if($userinfo->{'username'})
|
|
||||||
{
|
|
||||||
if($query->param('submit'))
|
|
||||||
{
|
|
||||||
$dbh->do(qq{update users set pagesize = ? where id = ?}, undef, $query->param('pagesize'), $userinfo->{'id'} ) or die $dbh->errstr;
|
|
||||||
|
|
||||||
@userinfo = get_userinfo_from_sid($session->id);
|
|
||||||
|
|
||||||
$page = get_page_array(@userinfo);
|
|
||||||
|
|
||||||
$page->appendChild(message("information", "information_settings_changed"));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if($userinfo->{'username'})
|
|
||||||
{
|
|
||||||
my $settings = XML::LibXML::Element->new( "settings" );
|
|
||||||
$settings->setAttribute("pagesize", $userinfo->{'pagesize'});
|
|
||||||
$page->appendChild($settings);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$page->appendChild(message("error", "error_202c"));
|
|
||||||
}
|
|
||||||
|
|
||||||
$doc->setDocumentElement($page);
|
|
||||||
|
|
||||||
output_page($doc);
|
|
|
@ -1,219 +0,0 @@
|
||||||
<!--================== Imported Names ====================================-->
|
|
||||||
|
|
||||||
<!ENTITY % LanguageCode "NMTOKEN">
|
|
||||||
<!-- a language code, as per [RFC3066] -->
|
|
||||||
|
|
||||||
<!ENTITY % URI "CDATA">
|
|
||||||
<!-- a Uniform Resource Identifier, see [RFC2396] -->
|
|
||||||
|
|
||||||
<!ENTITY % Datetime "CDATA">
|
|
||||||
<!-- date and time information. ISO date format -->
|
|
||||||
|
|
||||||
<!ENTITY % Text "CDATA">
|
|
||||||
<!-- used for titles etc. -->
|
|
||||||
|
|
||||||
<!--=================== Generic Attributes ===============================-->
|
|
||||||
|
|
||||||
<!ENTITY % attrs
|
|
||||||
"title %Text; #IMPLIED
|
|
||||||
lang %LanguageCode; #IMPLIED
|
|
||||||
xml:lang %LanguageCode; #IMPLIED
|
|
||||||
dir (ltr|rtl) #IMPLIED"
|
|
||||||
>
|
|
||||||
|
|
||||||
<!--=================== Text Elements ====================================-->
|
|
||||||
|
|
||||||
<!ENTITY % phrase "em | strong | dfn | code | q |
|
|
||||||
samp | kbd | var | cite | abbr | acronym ">
|
|
||||||
|
|
||||||
<!-- these can only occur at block level -->
|
|
||||||
<!ENTITY % misc "ins | del ">
|
|
||||||
|
|
||||||
<!ENTITY % inline "a | bdo | %phrase;">
|
|
||||||
|
|
||||||
<!-- %Inline; covers inline or "text-level" elements -->
|
|
||||||
<!ENTITY % Inline "(#PCDATA | %inline; | %misc;)*">
|
|
||||||
|
|
||||||
<!--================== Block level elements ==============================-->
|
|
||||||
|
|
||||||
<!ENTITY % lists "ul | ol | dl">
|
|
||||||
|
|
||||||
<!ENTITY % block
|
|
||||||
"p | %lists; | pre | blockquote | address ">
|
|
||||||
|
|
||||||
<!ENTITY % Block "(%block; | %misc;)*">
|
|
||||||
|
|
||||||
<!-- %Flow; mixes block and inline and is used for list items etc. -->
|
|
||||||
<!ENTITY % Flow "(#PCDATA | %block; | %inline; | %misc;)*">
|
|
||||||
|
|
||||||
<!--================== Content models for exclusions =====================-->
|
|
||||||
|
|
||||||
<!-- a elements use %Inline; excluding a -->
|
|
||||||
|
|
||||||
<!ENTITY % a.content
|
|
||||||
"(#PCDATA | bdo | %phrase; | %misc;)*">
|
|
||||||
|
|
||||||
<!-- pre uses %Inline excluding big, small, sup or sup -->
|
|
||||||
|
|
||||||
<!ENTITY % pre.content
|
|
||||||
"(#PCDATA | a | %phrase; | bdo | %misc;)*">
|
|
||||||
|
|
||||||
<!--================ Document Structure ==================================-->
|
|
||||||
|
|
||||||
<!-- the namespace URI designates the document profile -->
|
|
||||||
|
|
||||||
<!ELEMENT comment %Flow;>
|
|
||||||
<!ATTLIST comment
|
|
||||||
>
|
|
||||||
|
|
||||||
<!--=================== Paragraphs =======================================-->
|
|
||||||
|
|
||||||
<!ELEMENT p %Inline;>
|
|
||||||
<!ATTLIST p
|
|
||||||
%attrs;
|
|
||||||
>
|
|
||||||
|
|
||||||
<!--=================== Lists ============================================-->
|
|
||||||
|
|
||||||
<!-- Unordered list -->
|
|
||||||
|
|
||||||
<!ELEMENT ul (li)+>
|
|
||||||
<!ATTLIST ul
|
|
||||||
%attrs;
|
|
||||||
>
|
|
||||||
|
|
||||||
<!-- Ordered (numbered) list -->
|
|
||||||
|
|
||||||
<!ELEMENT ol (li)+>
|
|
||||||
<!ATTLIST ol
|
|
||||||
%attrs;
|
|
||||||
>
|
|
||||||
|
|
||||||
<!-- list item -->
|
|
||||||
|
|
||||||
<!ELEMENT li %Flow;>
|
|
||||||
<!ATTLIST li
|
|
||||||
%attrs;
|
|
||||||
>
|
|
||||||
|
|
||||||
<!-- definition lists - dt for term, dd for its definition -->
|
|
||||||
|
|
||||||
<!ELEMENT dl (dt|dd)+>
|
|
||||||
<!ATTLIST dl
|
|
||||||
%attrs;
|
|
||||||
>
|
|
||||||
|
|
||||||
<!ELEMENT dt %Inline;>
|
|
||||||
<!ATTLIST dt
|
|
||||||
%attrs;
|
|
||||||
>
|
|
||||||
|
|
||||||
<!ELEMENT dd %Flow;>
|
|
||||||
<!ATTLIST dd
|
|
||||||
%attrs;
|
|
||||||
>
|
|
||||||
|
|
||||||
<!--=================== Address ==========================================-->
|
|
||||||
|
|
||||||
<!-- information on author -->
|
|
||||||
|
|
||||||
<!ELEMENT address %Inline;>
|
|
||||||
<!ATTLIST address
|
|
||||||
%attrs;
|
|
||||||
>
|
|
||||||
|
|
||||||
<!--=================== Preformatted Text ================================-->
|
|
||||||
|
|
||||||
<!-- content is %Inline; excluding "img|object|big|small|sub|sup" -->
|
|
||||||
|
|
||||||
<!ELEMENT pre %pre.content;>
|
|
||||||
<!ATTLIST pre
|
|
||||||
%attrs;
|
|
||||||
xml:space (preserve) #FIXED 'preserve'
|
|
||||||
>
|
|
||||||
|
|
||||||
<!--=================== Block-like Quotes ================================-->
|
|
||||||
|
|
||||||
<!ELEMENT blockquote %Block;>
|
|
||||||
<!ATTLIST blockquote
|
|
||||||
%attrs;
|
|
||||||
cite %URI; #IMPLIED
|
|
||||||
>
|
|
||||||
|
|
||||||
<!--=================== Inserted/Deleted Text ============================-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
ins/del are allowed in block and inline content, but its
|
|
||||||
inappropriate to include block content within an ins element
|
|
||||||
occurring in inline content.
|
|
||||||
-->
|
|
||||||
<!ELEMENT ins %Flow;>
|
|
||||||
<!ATTLIST ins
|
|
||||||
%attrs;
|
|
||||||
cite %URI; #IMPLIED
|
|
||||||
datetime %Datetime; #IMPLIED
|
|
||||||
>
|
|
||||||
|
|
||||||
<!ELEMENT del %Flow;>
|
|
||||||
<!ATTLIST del
|
|
||||||
%attrs;
|
|
||||||
cite %URI; #IMPLIED
|
|
||||||
datetime %Datetime; #IMPLIED
|
|
||||||
>
|
|
||||||
|
|
||||||
<!--================== The Anchor Element ================================-->
|
|
||||||
|
|
||||||
<!-- content is %Inline; except that anchors shouldn't be nested -->
|
|
||||||
|
|
||||||
<!ELEMENT a %a.content;>
|
|
||||||
<!ATTLIST a
|
|
||||||
%attrs;
|
|
||||||
name NMTOKEN #IMPLIED
|
|
||||||
href %URI; #IMPLIED
|
|
||||||
>
|
|
||||||
|
|
||||||
<!--===================== Inline Elements ================================-->
|
|
||||||
|
|
||||||
<!ELEMENT bdo %Inline;> <!-- I18N BiDi over-ride -->
|
|
||||||
<!ATTLIST bdo
|
|
||||||
%coreattrs;
|
|
||||||
lang %LanguageCode; #IMPLIED
|
|
||||||
xml:lang %LanguageCode; #IMPLIED
|
|
||||||
dir (ltr|rtl) #REQUIRED
|
|
||||||
>
|
|
||||||
|
|
||||||
<!ELEMENT em %Inline;> <!-- emphasis -->
|
|
||||||
<!ATTLIST em %attrs;>
|
|
||||||
|
|
||||||
<!ELEMENT strong %Inline;> <!-- strong emphasis -->
|
|
||||||
<!ATTLIST strong %attrs;>
|
|
||||||
|
|
||||||
<!ELEMENT dfn %Inline;> <!-- definitional -->
|
|
||||||
<!ATTLIST dfn %attrs;>
|
|
||||||
|
|
||||||
<!ELEMENT code %Inline;> <!-- program code -->
|
|
||||||
<!ATTLIST code %attrs;>
|
|
||||||
|
|
||||||
<!ELEMENT samp %Inline;> <!-- sample -->
|
|
||||||
<!ATTLIST samp %attrs;>
|
|
||||||
|
|
||||||
<!ELEMENT kbd %Inline;> <!-- something user would type -->
|
|
||||||
<!ATTLIST kbd %attrs;>
|
|
||||||
|
|
||||||
<!ELEMENT var %Inline;> <!-- variable -->
|
|
||||||
<!ATTLIST var %attrs;>
|
|
||||||
|
|
||||||
<!ELEMENT cite %Inline;> <!-- citation -->
|
|
||||||
<!ATTLIST cite %attrs;>
|
|
||||||
|
|
||||||
<!ELEMENT abbr %Inline;> <!-- abbreviation -->
|
|
||||||
<!ATTLIST abbr %attrs;>
|
|
||||||
|
|
||||||
<!ELEMENT acronym %Inline;> <!-- acronym -->
|
|
||||||
<!ATTLIST acronym %attrs;>
|
|
||||||
|
|
||||||
<!ELEMENT q %Inline;> <!-- inlined quote -->
|
|
||||||
<!ATTLIST q
|
|
||||||
%attrs;
|
|
||||||
cite %URI; #IMPLIED
|
|
||||||
>
|
|
|
@ -1,22 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xsl:stylesheet
|
|
||||||
version="1.0"
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
>
|
|
||||||
<licenses>
|
|
||||||
<license id="cc-by-nc-sa">
|
|
||||||
<version id="3.0" uri="http://creativecommons.org/licenses/by-nc-sa/3.0/"/>
|
|
||||||
<cc:license rdf:about="http://creativecommons.org/licenses/by-nc-sa/3.0/">
|
|
||||||
<cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/>
|
|
||||||
<cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/>
|
|
||||||
<cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/>
|
|
||||||
<cc:prohibits rdf:resource="http://creativecommons.org/ns#CommercialUse"/>
|
|
||||||
<cc:requires rdf:resource="http://creativecommons.org/ns#Notice"/>
|
|
||||||
<cc:requires rdf:resource="http://creativecommons.org/ns#Attribution"/>
|
|
||||||
<cc:requires rdf:resource="http://creativecommons.org/ns#ShareAlike"/>
|
|
||||||
</cc:license>
|
|
||||||
</license>
|
|
||||||
</licenses>
|
|
||||||
</xsl:stylesheet>
|
|
|
@ -1,108 +0,0 @@
|
||||||
/*
|
|
||||||
Yolanda default stylesheet colors (using tango color palette)
|
|
||||||
(c) 2007-2008 Nils Dagsson Moskopp
|
|
||||||
|
|
||||||
This file is licensed under the WTF Public License
|
|
||||||
(License terms: Do what the fuck you want.)
|
|
||||||
|
|
||||||
Purpose of this file is to provide graphics according to the Tango! palette.
|
|
||||||
Protip: Graphics are colors, background and pseudo-content images !
|
|
||||||
|
|
||||||
Please replace the colors in this file with suitable Tango! equivalents.
|
|
||||||
↑↑ Remove this notice as soon as this file holds only Tango! colors. ↑↑
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
links "Sky Blue 2" #3465a4
|
|
||||||
borders "Aluminium 5" #555753;
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
a
|
|
||||||
{
|
|
||||||
/* what color is this ? */
|
|
||||||
color: #3465a4;
|
|
||||||
}
|
|
||||||
|
|
||||||
a
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
a:focus
|
|
||||||
{
|
|
||||||
color: #cc0000;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.footer,
|
|
||||||
a.header,
|
|
||||||
div.footer,
|
|
||||||
div.header
|
|
||||||
{
|
|
||||||
background-color: #f0f0f0;
|
|
||||||
border-color: #f0f0f0;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.footer:hover,
|
|
||||||
a.header:hover
|
|
||||||
{
|
|
||||||
background-color: #ffffff;
|
|
||||||
border-color: #c0c0c0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.messagebox#error
|
|
||||||
{
|
|
||||||
/* "Scarlet Red 1" + 30 luminosity */
|
|
||||||
background-color: #f46060;
|
|
||||||
}
|
|
||||||
|
|
||||||
.messagebox#information
|
|
||||||
{
|
|
||||||
/* "Chameleon 1" + 30 luminosity */
|
|
||||||
background-color: #a9ec68;
|
|
||||||
}
|
|
||||||
|
|
||||||
.messagebox#warning
|
|
||||||
{
|
|
||||||
/* "Orange 1" */
|
|
||||||
background-color: #fcaf3e;
|
|
||||||
}
|
|
||||||
|
|
||||||
div,
|
|
||||||
div.result img,
|
|
||||||
fieldset,
|
|
||||||
#footer,
|
|
||||||
#header
|
|
||||||
{
|
|
||||||
border-color: #555753;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul#queries
|
|
||||||
{
|
|
||||||
margin-bottom: 0.5em;
|
|
||||||
margin-left: 2em;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* TODO: make images configurable (maybe via symlinks?) */
|
|
||||||
li#search_custom_one
|
|
||||||
{
|
|
||||||
list-style-image: url(../../images/tango/16x16/actions/document-new.png) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
li#search_custom_two
|
|
||||||
{
|
|
||||||
list-style-image: url(../../images/tango/16x16/actions/document-save.png) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
li#search_custom_three
|
|
||||||
{
|
|
||||||
list-style-image: url(../../images/tango/16x16/emblems/emblem-favorite.png) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
span.instruction,
|
|
||||||
span.protip
|
|
||||||
{
|
|
||||||
/* "Aluminium 5" */
|
|
||||||
color: #555753;
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
/*
|
|
||||||
Yolanda default stylesheet colors (using tango color palette)
|
|
||||||
(c) 2007-2008 Nils Dagsson Moskopp
|
|
||||||
|
|
||||||
This file is licensed under the WTF Public License
|
|
||||||
(License terms: Do what the fuck you want.)
|
|
||||||
|
|
||||||
Purpose of this file is to import color, decoration and structure stylesheets.
|
|
||||||
*/
|
|
||||||
|
|
||||||
@import "reset.css";
|
|
||||||
@import "colors/tango.css";
|
|
||||||
@import "structure/fake6.css";
|
|
||||||
|
|