View Full Version : Podcast Plugin?
03-31-2010, 05:29 PM
Hmm. Maybe we can share ideas on how to best embed audio podcast into hotaru cms.
do you need to link to a audio/video file to make it a podcast?
does it need a special media select (http://hotarucms.org/showthread.php?284-Media-Select-0.2) category?
just a few questions to start those brains doing what they do
01-28-2011, 03:17 AM
I'm interested in incorporating my own podcast into my hotaru web site. Meaning, not posted by anyone but me.
- Basically I want it to generate an RSS file formated for audio podcast clients.
- To display each podcast I post within a web page with a player(so it can be streamed on the site)
- If I can still allow comments and votes that would be really great too.
- I would host the podcast files through (archive.org) as hosting them myself would use too much bandwidth, so I would still be submitting a link and that might fall under a specific media select category.
I thought about incorporating the open source podcast generator (http://podcastgen.sourceforge.net/) into the site but believe I have to somehow wrap it into a plugin to make it integrate properly. It's also seems to depend on you uploading files to your own site to work, but some of it's code my serve as a useful reference point.
02-16-2011, 07:43 PM
You might be able to easily embed playable podcasts using embed.ly.
Simply put, by adding some JS to your header, anytime a direct <a href link is included, on its own line, to a podcast, the js will embed it directly into your page.
Try something like this in your header.php
An even better way is to include a podcast link through it's own form directly in your submit2 template, while still using the embed.ly script. That way, users can add the links more easily, and they will always be displayed in a predetermined spot that you set in your bookmarking_post template.
Hope this helps.
02-16-2011, 08:12 PM
I'm not sure I get it seekyt. Would that just display a player for a sound file?
I've started putting together an extremely simplified version of the podcast generator to meet some of the personal desires I outlined above.
I decided to give it it's own database table as there is quite a lot of podcast specific information that needs to be available to generate a podcast specific rss feed.
I've no clue if it will be possible for me to some how harness hotaru's voting and comment features to apply to the podcast episodes I post but it's a sacrifice I'm willing to make at the moment.
02-16-2011, 08:17 PM
Well, my response was geared more toward angolanmade's request. In your situation, I would simplify the whole thing and create a podcast using an RSS feed with a 3rd party website, and then import the link onto your podcast page to make it playable.
My solution only embeds audio files in a player - it doesn't create the podcast.
Good luck with your integration, though! It sounds interesting.
03-23-2011, 04:21 PM
I've got most of the nuts and bolts down for the podcast plugin. I'm actually using it live on my site (http://www.t.isgood.ca/podcast/). The work the remains to be done before releasing it is setting up an plugin settings page for the parts of the code that will change for different users and making an admin update page...I'm currently just adding new podcasts directly through phpmyadmin. I can provide the code if someone thinks they can help put the final touches on this.
09-28-2011, 07:12 AM
I'm hoping you can share more details on how you go the podcast plugin to work on the site. Has this been released?
09-29-2011, 01:22 AM
Here is the code I've got so far.
Note: The plugin will create a podcast table in the database on install but there is no interface for adding records. I've just been using phpMyAdmin to do so.
There is also no settings page and there are a number of settings hard coded that should be updated from a settings page in: libs->podcastFunctions.php, templates->podcast_episode.php, templates->podcast_listen.php and podcast.php
While it might work without changing these settings all the title, author, site info will be incorrect.
The page can be accessed at yoursite.com/podcast/
It generates it's own podcast style feed. Has a list of all podcast episodes page(listen) and a page for each specific podcast(episode).
It only allows for one podcast on the site. I imagine with a little thought it could be modified to allow multiple podcasts.
It's really setup as it's own separate entity on a hotaru site. It will be excluded from searches and doesn't have vote buttons. I added hooks for comments and social media buttons and made variations of the disqus/comments/facebook/twitter plugins that work with the podcast plugin...though I'm not sure modifications were the best way to go about that.
NOTE: you might need to change the rewrite rules in .htaccess to include swf. something like this:
RewriteRule \.(css|php|png|jpg|gif|ico|js|inc|txt|gz|xml|html| swf)$ - [NC,L]
10-02-2011, 06:13 AM
Thank you for sharing, maybe if theres somebody out there willing to work on this plugin i would be willing to contribute. Would like to see this functionality available for others to use.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.