LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-15-2019, 03:24 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 658

Rep: Reputation: 35
Question Publishing list of podcasts onto static web site?


Hello,

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?

Thank you.
 
Old 04-15-2019, 02:29 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Rep: Reputation: 271Reputation: 271Reputation: 271
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.
 
1 members found this post helpful.
Old 04-15-2019, 04:31 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
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).
 
1 members found this post helpful.
Old 04-15-2019, 07:14 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
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.
 
Old 04-16-2019, 03:14 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Read tags maybe this. https://askubuntu.com/questions/2267...-tags-in-shell

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.
 
  


Reply



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
LXer: Linux users finally get a decent podcasts app called, well, ‘Podcasts’ LXer Syndicated Linux News 0 08-19-2018 04:42 PM
LXer: Adventures in Self-Publishing, Chap. 13: The Future of Writing and Publishing LXer Syndicated Linux News 0 03-09-2012 01:40 PM
Looking for Suggestions on Web Site Admin / Publishing Software jrw3319 Linux - Software 11 09-07-2011 11:29 AM
block particular web site form multiple site hosted web server and allow others lasantha Linux - Security 2 08-17-2010 01:49 PM
Help with publishing web site rado_london Linux - Networking 4 09-30-2005 04:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:14 AM.

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