Art. 122-5

Sommaire

[modifier] Description

On Jamendo, the artists distribute their music under Creative Commons licenses. In a nutshell, they allow you to download, remix and share their music freely. It's a "Some rights reserved" agreement, perfectly suited for the new century.

With the Jamendo Extension you can add to your wiki the capabilities of the JamendoLib to displaying and playing Jamendo's albums.

[modifier] Requirements

This mediawiki extension uses JamendoLib. So you have to install it if you want to use this extension.

The JamendoLib require the installation of the PECL_HTTP module.

[modifier] Installation

First you have to install JamendoLib Then download the extension : JamendoExtension_v1.0.0.tgz

Unzip it in your extension folder :

Jamendo/
     Jamendo.php
     README.art122-5
     licence.txt

To activate it edit your LocalSettings.php, and add:

require_once( "$IP/extensions/Jamendo/Jamendo.php" );

[modifier] How to use it

This extension adds a new wiki tag : Jamendo This tag accepts the following parameters :

  • album : the album id to display
  • profile : The name of the profile
  • config : The name of the configuration
  • howMany : The number of albums to display ("all" for all)

The option field can be set using the tag value. An example that displays the Allison Crowe's albums:

<Jamendo profile="Artist" howMany="all">allison.crowe</Jamendo>

For more details, see JamendoLib

[modifier] Examples


[modifier] Licence

This extension is distributed under GPL v2 licence

 * Copyright (C) 2007  Marc Despland
 *
 * 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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 */

You are free:

  • modify
  • distribute
  • use

this extension, with a commercial aim or not.

Any time you have to respect the licence clauses, in particular:

  • Even if you modify it, this extension remains under GPL
  • You are not authorized to remove information relating to its author or the licence
French
Un peu de musique ?


A propos