Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Someone I know hosts a web radio program, and would like to publish the MP3s onto his own website. He's using a Macintosh and doesn't have much computer skills.
To make it as cheap and simple as possible, I would like to find an open-source program that could…
1. Loop through the MP3s in a given directory, reading the tags from each (Guest, date, etc.)
2. Build an HTML page from all those infos
3. Upload the HTML to a remote web site through FTP.
Do you know of simple, open-source application that can do this?
I don't think you'll find a single app to do that. Write a script that uses 3 separate tools.
id3tool returns version 1 tags; id3info returns version 2 tags; mediainfo returns mpeg tags. Write a script that reads the tags to extract the desired information into variables then output them to html table entries.
scp will copy a file to a remote site automatedly.
Er, are you both sure you only want to generate HTML? Surely he also wants an XML feed (atom, rss, whatever) for clients to subscribe to?
As for generating both: I'd just write the programs to do it. I'd use Python, with the help of the jinja and mutagen libraries, but that's just me. RandomTroll's approach will work perfectly well, and it pretty much writes itself once you check those programs out (and learn supporting tools like awk).
I would suggest taking a look at Wordpress. You don't need to write code to write a blog post and upload a file.
The variety of themes available from wordpress.org allow you to select one that fits your friend's tastes. It's not well known, but themes with static front pages are available.
Send that information into file or use directly into web page.
The web page could be as simple as text. Use a simple text editor and save the file as text.html to test. If you want fancy then any sorts of web page creators exist. Think google offers a free html5 editor too. https://www.linux.com/blog/10-best-w...builders-linux
Now sending that information to a hosting server would require the name and password (even if it does use ftp). You may have to modify web pages if your links are not dynamic or have been built from scratch to be in the correct naming.
In reality you can make simple web pages in almost any modern word processor too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.