WordPress 中文文档
Podcasting
出自WordPress Chinese 中文文档
目录 |
What Is Podcasting?
Podcasting is distributing audio or video content via RSS 2.0, or Atom. Podcast clients such as iTunes, Juice, or CastPodder(linux) allow listeners to subscribe to your RSS/Atom feed and automatically download your content to their portable audio players as it becomes available.
How It Works
- Create audio or video that you want to share (usually MP3 or MP4)
- Upload the file to a server
- Link to the file in a post in your weblog
- WordPress automatically Includes a link to the file in your RSS/Atom feed
- Listeners subscribe with podcast client application to your RSS/Atom feed and download new files automatically.
WordPress creates all the necessary links for you!
Using WordPress For Podcasting
Podcasting is seamlessly supported as of WordPress 1.5. Just link to an audio file in one of your posts and WordPress will automatically add the necessary enclosure tag to your RSS2 feed to make it useable as a podcast.
Important: Use a complete, absolute URI when linking to the audio file. Otherwise WordPress will not make an enclosure for it.
Wrong: lt;a href=my-podcast.mp3My podcastlt;/a Right: lt;a href=nowikihttp://example.com/my-podcast.mp3/nowikiMy podcastlt;/a
That's it mdash; just link to an audio file and WordPress takes care of everything for you.
Well, there is one more step: You need to make your RSS2 feed available. Be sure to put a link somewhere on your page:
nowikihttp://example.com/wordpress/?feed=rss2/nowiki
Or, if you're using Atom:
nowikihttp://example.com/wordpress/?feed=atom/nowiki
As of WordPress 1.5, the RSS 2.0/Atom links are located on the bottom of the page by default.
To make life easier for iTunes users, consider also linking to your podcast feed with the itpc:// protocol rather than http, e.g.:
nowikiitpc://domain.org/path/?feed=atom/nowiki
iTunes users will then be able to subscribe to your feed with a single click.
Notes:
- As of WordPress 1.5, this only works for posts but not for static pages.
- Make sure the linked file is accessible when you publish your post. Otherwise, WordPress won't be able to collect the information it needs from the linked files.
- If you change a linked file, republish the post so WordPress can update its file size information about the file.
- Occasionally, you may have to put .xml at the end of the RSS/Atom url, for it to properly work.
- To get WordPress to recognize m4a and m4b files as podcasts, you need to make sure that your web server is configured to serve them with the right content-type. Do this by adding the following directives to your Apache configuration file or .htaccess file:
nowikiAddType audio/x-m4a .m4a
AddType audio/x-m4b .m4b/nowiki
Dedicated Podcasts
To create a dedicated podcast feed:
- Create a category in the Admin Manage Categories panel for your audio files and call it something like podcasts.
- Assign every post containing an audio link to your podcasts category.
- If your blog is at example.com, your podcast feed will automatically be available at:
nowikihttp://example.com/wordpress/?feed=rss2category_name=podcasts/nowiki
Add this to your .htaccess file to make a nice rewrite rule that points visitors directly to your podcasts (assumes you've categorised your podcasts as 'podcasts' as in the example above):
nowiki#podcast rewrite
RewriteRule ^podcasts/?$ /yourWPsubdirectoryhere/index.php?category_name=podcasts [QSA,L] RewriteRule ^podcasts/feed/(atom|rss2)/?$ /yourWPsubdirectoryhere/index.php?feed=$1category_name=podcasts [QSA,L]/nowiki
Now, you can give your podcasts feed as nowikihttp://example.com/podcasts/feed/rss2/nowiki for RSS2 format, or nowikihttp://example.com/podcasts/feed/atom/nowiki for Atom format. (If you don't know the difference between the two, give out the first, as RSS2 is generally a bit better supported).
Archive.org issues
Archive.org can be used to host podcast audio files but archive.org uses re-directs on the file paths it publishes - this confuses WordPress, and consequently, the Podcast publication fails (missing enclosure tag error).
To avoid this error, if you are hosting your audio files on archive.org, you need to add a Custom Field called enclosure and paste the full url for the mp3 file in the Value field.
External Links
- Wikipedia on Podcasting
- iPodder on Podcasting
- PodPress - Podcasting Plugin Designed to make Podcasting super easy in Word Press. Includes iTunes support and a built in Flash MP3 Player
- Podcasting for WordPress A WordPress podcasting plugin focused on making the podcasting experience as simple and bloat free as possible.
- Podcasting - Blubrry PowerPress Podcast Plugin Blubrry PowerPress brings the essential features for podcasting to WordPress. Developed by podcasters for podcasters, PowerPress offers full iTunes support, the Update iTunes Listing feature, 5 customizable web audio/video media players and more. PowerPress is designed as an upgrade to PodPress.
- Podcast Feedcheck Tool Used for verifying tag contents and tweaking RSS and iTunes tag output.
- c't magazin German Magazine features on podcasting and how to use WordPress for podcast. Issue 14/2005
- ChrisJDavis Podcasting with WordPress
- Tom Raftery I.T. Detailed instructions on overcoming the archive.org audio file publishing issue
- WordPress QuickTag Button for Podcasting Adds Link for podcasting
Post Podcasts with PodCasting
Podcasting brings complete podcasting support to WordPress. Podcasting will take a file from somewhere on the web (either your site or another site) and it will add it to an iTunes-based feed. Podcasting also includes a player allowing visitors to your site to view the file on the web.
Features
- Adds a dedicated Podcasting feed with full iTunes support
- Includes the ability to have multiple podcasting feeds based on file format or other factors
- Fully integrates with ant existing enclosures already stored in WordPress
- Offers a migration tool for users of podPress
Post Podcasts with PodPress
(Warning: PodPress doesn't work with WordPress 2.7!)
The PodPress plugin is designed to make Podcasting with WordPress as easy as possible.
Features
- Full featured and automatic feed generation (RSS2, iTunes and ATOM)
- Auto Generation of enclosure tag
- Preview of what your Podcast will look like on iTunes
- Podcast Download stats
- Support for Premium Content (Pay Only)
- Makes adding a Podcast to a Post very simple
- View MP3 Files ID3 tags while you are Posting
- Control where the player will display within your post.
- Support for various formats including Video Podcasting
- Supports unlimited number of media files.
- Automatic Media player for MP3, MP4, MOV, FLV, ASF, WMV, AVI, and more
- Includes inline and Popup Window support.
- Preview image for videos
More Info
- While you're Posting you will be presented with fields for your media file, and everything is made easy. [1]
- In the admin screens you're able to define your standard podcast settings as well as your iTunes-specific settings and can even see a preview of what your podcast will look in the iTunes music store.
- If you want to control where the player and links will show up in your comment, use the display_podcast tag. [2]
- By adding the mp3 location after your Post, it will show the player in the post, and will add the enclosure tags to your RSS2 feed. [3]
- You can set the iTunes-specific settings and get an instant preview of what it will look like in iTunes. [4]
- You can view your MP3 file's ID3 tag information and even copy the contents of the ID3 tags into your Post. [5]
- The end result is a nice flash player for MP3 plugin support for most video formats. Additionally you will have download links for each media file. [6]
- Here's what it looks like when you play a video inline. [7]
Post Podcasts with Quicktag Button
Podz' Podcasting Quicktag Button instructions add a podcasting quicktag button to your Write Post admin panel.
To use the podcasting quicktag button, follow the directions in the article by opening your ttquicktags.js/tt file from your tt/wp-admin/tt folder in a text editor and adding the supplied code. Save and upload your ttquicktags.js/tt to your site and test it out. In your Write Post panel, have the link ready for your podcast, click the podcasting quicktag button and paste in your link. Done!
Post Podcasts with Blubrry Powerpress
Adding a podcast with PowerPress is as simple as it gets. Once the plugin is installed and configured, go ahead and create a new blog post. A new widget titled 'Podcast Episode' will appear. Simply enter the complete URL (e.g. http://example.com/path/to/media.mp3) into the Media URL field and you're all set. Optionally, you may click the 'Verify' button to confirm the URL is valid. If verification is successful, the media file size and duration (time in hours:minutes:seconds) will be set for you automatically.
PowerPress includes options to add media embed codes (as pictured above) from sites such as YouTube, Blip.tv, UStream.tv, Viddler, etc.. as well as specific iTunes Summary, Subtitle, Keywords and Explicit values. These optional settings can be enabled in PowerPress Settings Basic tab under the option labeled 'Podcast Entry Box'.
Learn more about PowerPress.

