/[drupal]/contributions/modules/playlist/README.TXT
ViewVC logotype

Contents of /contributions/modules/playlist/README.TXT

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Jun 26 09:26:04 2006 UTC (3 years, 5 months ago) by zirafa
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-4-7
File MIME type: text/plain
Initial commit to main playlist CVS (moving from zirafa's sandbox)
1
2
3 The playlist.module provides a set of common functions used for making playlists and other ordered lists.
4
5 Most playlists will need something like:
6
7 1. A table to keep track of the relationships
8 2. A set of functions to interact with the database
9 3. A theme_sort function that allows for easy re-ordering of playlist items
10 4. A way to define new XML feeds based on playlist data/metadata
11
12 The playlist.module provides everything to do the first 3, and the last is done by a custom node module (such as audio_playlist.module).
13
14
15
16 The audio_playlist.module makes use of the playlist API and also serves as an example for making new playlist modules.
17
18 An example workflow for creating a new playlist would be:
19
20 1. Create a new playlist node (YOUR NODE MODULE)
21 2. Define what node types can be added to this new playlist (YOUR NODE MODULE)
22 3. A common management/sort system for re-ordering, deleting, adding items (PLAYLIST MODULE)
23 4. Allow new, pluggable XML feed definitions (YOUR NODE MODULE)
24
25 So as you can see, the playlist.module serves to assist in making playlist modules, it doesn't do much by itself.
26
27

  ViewVC Help
Powered by ViewVC 1.1.2