Podcasting and Media
AppPresser works great for podcasts, videos, and any type of media. You can integrate your podcasts from plugins like Blubrry Powerpress, Seriously Simple Podcasting, and others. You can also do this with no podcasting plugin at all.
Here are the steps:
- Setup your podcast post type in WordPress
- Add your AppPresser media urls to each post
- Create the podcasts page in your app
Setup the Media in WordPress
First, login to your WordPress site, and visit the AppPresser => Settings page.
Under Media Post Types, select the post types you will use for your podcasts. For example, podcasts, or posts.
Add Media URLs to Each Post
Next, you need to add the media urls for the app.
If you are using Seriously Simple Podcasting, this can be done automatically, please see this article.
If you are using Blubrry PowerPress, you can do this automatically by downloading and activating this plugin. It will automatically take care of any new podcasts. For existing podcasts, you need to run a script one time. Do this by adding ?apppresser-media=1 to your site url. For example, https://apppresser.com?apppresser-media=1
By loading that url, you will run the script. That's it, you don't need to run it again.
Manually adding the media url
If not using an integration plugin above, you can manually add the media url. Visit a post that you want to show in your media list, and scroll down to the AppPresser Media URL meta box. Enter the full url of the media file and save.
Do this for each post you want in your media list. Only posts that have this media url will show up in the app.
You can also add these urls programatically by using the post meta key 'appp_media_url'. Here's an example.
Create the Podcasts Page
Next, create a new custom page in your app, and add a list of your podcasts.
Go to your app customizer, Custom Pages => Add New.
Choose the Page Builder, and add the Podcasts/Media block.
Replace the route with the url to the media post type you chose in your settings. For example, if you are using normal posts, it would be https://mysite.com/wp-json/wp/v2/posts
Some plugins use a custom post type with a slug of "podcast", so the route would be https://mysite.com/wp-json/wp/v2/podcast
The route would depend on your site.
Save the page and rebuild your app preview to see it in action. Media playback only works on a device.
Alternatively, if you'd like the page to look like a "playlist" with no show notes or details, choose Media. Fill out the details, here is more information on this type of media list.