Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-04-2006, 01:20 PM   #1
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,195

Rep: Reputation: 47
Quick Web Page builder

I have a lot of mp3 files on 2 cds that I have organized into folders. I want to make a web page for these files so that it's easy to navigate them and then burn them onto the cds. Is there an automated web page building program that would do this in Slackware?
Old 09-04-2006, 01:25 PM   #2
Registered: Jan 2006
Location: Connecticut
Distribution: Ubuntu 10.10, Lubuntu 10.10, #!Crunchbang 10 "Statler"
Posts: 84

Rep: Reputation: 15
You could just make a local page and link the files to links on the page.

I personally use Nvu.. works great.
Old 09-04-2006, 01:35 PM   #3
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,261

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You could write a bash script to do this. Something like:


cd <your mp3 dir>
for file in `ls`
echo "<a href=" $file ">" $file "</a>" >> mp3list.html
Of course would need to make the script recursively transverse directories too. 'man ls' will help.
Old 09-04-2006, 02:31 PM   #4
Registered: Oct 2005
Location: Lisbon
Distribution: Slackware
Posts: 51

Rep: Reputation: 15
If you know Perl and you have Apache with mod_perl installed, you can use Apache::MP3 ("Generate streamable directories of MP3 and Ogg Vorbis files").

Links (remove spaces and replace dots)
CPAN: searchDOTcpanDOTorg/~lds/Apache-MP3-4.00/
DEMO: wwwDOTmodperlDOTcom/Songs/
Old 09-04-2006, 06:34 PM   #5
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
find /path/to/files -name \*.mp3 -print0 | xargs -0 -i -t echo "<a href="{}">"{}"</a>" >> mp3list.html
Old 09-04-2006, 06:46 PM   #6
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
Or you could let Apache and/or Firefox generate a file listing.

Last edited by tuxdev; 09-04-2006 at 06:47 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 11:30 PM
LXer: to Support Open Source Web Builder, Ruby on Rails LXer Syndicated Linux News 0 04-22-2006 09:54 PM
WYSIWYG web page builder mirak Linux - Software 12 10-05-2004 12:18 PM
Jerky mouse when web browsers download web page stodge Linux - Software 1 07-08-2003 11:29 PM
Web Page Builder RedHatMN Linux - Newbie 4 04-05-2001 06:25 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration