Hi!
I checked through module development documentation, but I am not sure how to do this.
Can modules create content independent from default Drupal's page creation flow?
For example, I'd like to build a module that maintains a list of music tracks. The module would provide special node type, for listing of tracks and track info, but I'd like to add playlisting functionality, ie. I'd like to provide a link, per track, for an .m3u playlist (generated by the module), so that the track can be streamed, instead of being linked as a file. The playlists, for example, would be accessed as /node/12/mp3, /node/12/ogg, /node/12/m3u, etc...
Or even better, example.com/tracks/12/playlist. This way I can make the module provide specially formatted podcasts with this url: example.com/tracks/feed
Can it be done?
Comments
audio.module
You should take a look at audio.module. That module already does a lot of what you want. You could supply patches to extend the existing functionality.
Playlist module plus audio
Actually, audio module just handles storing/uploading audio content, you'll want it plus the playlist module.
Excellent!
Thanks, I'll look into those modules! I needed the non-html content functionality for something else as well, but I'll check out how the playlist module did it.