久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔

WordPress:Podcasting

來自站長百科
Seadragon530討論 | 貢獻2008年4月24日 (四) 17:44的版本
跳轉(zhuǎn)至: 導(dǎo)航、? 搜索

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.

什么是Podcasting?

Podcasting 通過RSS 2.0, 或者 Atom分配視頻或者音頻內(nèi)容. Podcast 客戶端如 iTunes, Juice, 或 CastPodder(linux),運行聽眾訂閱你的RSS/Atom feed,在可用時自動下載你的內(nèi)容到他們的隨身聽中。

How It Works

  1. Create audio or video that you want to share (usually MP3 or MP4)
  2. Upload the file to a server
  3. Link to the file in a post in your weblog
  4. Wordpress automatically Includes a link to the file in your RSS/Atom feed
  5. Listeners "subscribe" with podcast client application to your RSS/Atom feed and download new files automatically.

WordPress creates all the necessary links for you!

如何工作

  1. 創(chuàng)建你想共享的音頻或者視頻(通常 MP3 或 MP4)
  2. 上傳文件到服務(wù)器
  3. 在你的weblog中的文章中鏈接到該文件
  4. Wordpress 自動在RSS/Atom feed包含了該文件的鏈接
  5. 聽眾 使用podcast客戶端軟件"訂閱" 你的RSS/Atom feed 并自動下載新文件.

WordPress 會為你創(chuàng)建必須的鏈接!

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: <a href="my-podcast.mp3">My podcast</a>
 
Right: <a href="http://example.com/my-podcast.mp3">My podcast</a>

為了Podcasting使用WordPress

Podcasting 完全支持 Wordpress 1.5. 只要鏈接到一個帖子中的音頻文件,WordPress就會自動添加必須的標簽到你的RSS2 feed,這樣它就可以作為一個podcast來使用了.

重要:當鏈接到音頻文件時使用一個完整的絕對URI, 否則WordPress不會為它做附件.

錯誤的: <a href="my-podcast.mp3">My podcast</a>
 
正確的: <a href="http://example.com/my-podcast.mp3">My podcast</a>


That's it — just link to an audio file and WordPress takes care of everything for you.

就是這樣—只需要鏈接到音頻文件,WordPress會為你做好其他所有事情的。

Well, there is one more step: You need to make your RSS2 feed available. Be sureto put a link somewhere on your page:

http://example.com/wordpress/?feed=rss2

還有一步:你需要讓你的RSS2 feed可用。確定你在你的頁面上放上了鏈接:

http://example.com/wordpress/?feed=rss2

Or, if you're using Atom:

http://example.com/wordpress/?feed=atom

或者你使用的是Atom:

http://example.com/wordpress/?feed=atom

As of WordPress 1.5, the RSS 2.0/Atom links are located on the bottom of the page by default.

從WordPress1.5起,RSS 2.0/Atom鏈接默認情況下定位在頁面底部。

To make life easier for iTunes users, consider also linking to your podcast feed with the itpc:// protocol rather than http, e.g.:

itpc://domain.org/path/?feed=atom

iTunes users will then be able to subscribe to your feed with a single click.

要想讓iTunes用戶更加方便,可以考慮使用itpc://協(xié)議而不是http鏈接到你的podcast feed:

itpc://domain.org/path/?feed=atom

iTunes用戶就可以通過簡單的點擊來訂閱你的feed了。

Notes:

  1. As of WordPress 1.5, this only works for posts but not for static pages.
  2. 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.
  3. If you change a linked file, republish the post so WordPress can update its file size information about the file.
  4. 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:

AddType audio/x-m4a .m4a> <AddType audio/x-m4b .m4b

  1. Occasionally, you may have to put .xml at the end of the RSS/Atom url, for it to properly work.

注意:

  1. 從 WordPress 1.5起, 這 能用于posts 而不能用于靜態(tài) pages.
  2. 發(fā)布文章時確定鏈接文件是可訪問的。否則WordPress 不能從鏈接文件收集到它需要的信息。
  3. 如果你更改了鏈接文件,需要重新發(fā)布這個文章,這樣WordPress可以更新關(guān)于該文件的信息。
  4. 想讓W(xué)ordpress象podcasts那樣識別m4a 和 m4b文件,你需要確認網(wǎng)頁服務(wù)器可以使用正確的內(nèi)容形式提供服務(wù)。通過添加如下指令到你的Apache 配置文件或者.htaccess 文件:

AddType audio/x-m4a .m4a> <AddType audio/x-m4b .m4b

  1. 偶然的, 你可能不得不放一個 .xml文件在RSS/Atom 鏈接的末尾, 為了正常的運行。

Dedicated Podcasts

To create a dedicated podcast feed:

  1. Create a category in the Admin > Manage > Categories panel for your audio files and call it something like "podcasts".
  2. Assign every post containing an audio link to your "podcasts" category.
  3. If your blog is at example.com, your podcast feed will automatically be available at:
http://example.com/wordpress/?feed=rss2&category_name=podcasts

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):

#podcast rewrite
RewriteRule ^podcasts/?$ /yourWPsubdirectoryhere/index.php?category_name=podcasts [QSA,L]
RewriteRule ^podcasts/feed/(atom|rss2)/?$ /yourWPsubdirectoryhere/index.php?feed=$1&category_name=podcasts [QSA,L]

Now, you can give your podcasts feed as http://example.com/podcasts/feed/rss2 for RSS2 format, or http://example.com/podcasts/feed/atom 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).

Dedicated Podcasts

建立一個dedicated podcast feed:

  1. 在 Admin > Manage > Categories 面板中為你的音頻文件建立分類, 叫做"podcasts".
  2. 分配包含音頻鏈接的每個文章到你的"podcasts"分類。
  3. 如果你的blog 在example.com上, 你的podcast feed會自動獲得::
http://example.com/wordpress/?feed=rss2&category_name=podcasts

把這個加入你的 .htaccess文件,制定一個重寫規(guī)則,把訪問者直接指向你的podcasts (假定你已經(jīng)把你的podcasts分類為'podcasts' ):

#podcast rewrite
RewriteRule ^podcasts/?$ /yourWPsubdirectoryhere/index.php?category_name=podcasts [QSA,L]
RewriteRule ^podcasts/feed/(atom|rss2)/?$ /yourWPsubdirectoryhere/index.php?feed=$1&category_name=podcasts [QSA,L]

現(xiàn)在你可以給你的podcasts feed http://example.com/podcasts/feed/rss2 一個 RSS2 格式, 或者是http://example.com/podcasts/feed/atom Atom格式. (如果你不知道這兩者的區(qū)別,就用第一種,因為RSS2 普遍來說支持性較好).

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.

Archive.org 問題

Archive.org 可以用來作為podcast 音頻文件的主機,但是archive.org 使用文件路徑重定向 – 這讓W(xué)ordPress感到混亂, 因此, the Podcast 發(fā)布失敗 (丟失封裝標簽錯誤).

為了避免這種錯誤,如果你使用archive.org作為音頻文件主機, 你需要添加一個自定義域叫做"enclosure" 然后把完整的mp3鏈接粘貼到值域。

External Links

Adds Link for podcasting]

外部鏈接

Podcasts with PodPress

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

使用PodPress的Podcasts

PodPress 插件 是為使用WordPress的Podcasting更易用而設(shè)計的.

功能

  • 完全的功能和自動的feed 生成 (RSS2, iTunes 和 ATOM)
  • 自動生成閉合標簽
  • 預(yù)覽你的Podcast的iTunes界面
  • Podcast 下載 stats
  • 支持Premium Content (只支持付費用戶)
  • 讓添加Podcast 到Post 變的非常簡單
  • 當你寫文章時查看MP3文件ID3 標簽
  • 控制播放器在你文章中的什么位置播放.
  • 支持多種格式包括視頻Podcasting
  • 支持媒體文件的無限數(shù)字.
  • 自動媒體播放MP3, MP4, MOV, FLV, ASF, WMV, AVI, 以及更多
  • 包括線形和彈出窗口支持.
  • 預(yù)覽視頻圖片


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]

當你正寫文章時你將因為你的媒體文件被顯示出域,一切都變的簡單 [8]

在管理頁面上,你可以定義你的標準設(shè)置,也可以設(shè)置iTunes-specific,甚至可以看見iTunes音樂商店中你的podcast預(yù).

如果你想控制播放器和鏈接顯示在什么地方,使用display_podcast 標簽. [9]

通過在你的文章后添加mp3地址, 它將在文章中顯示播放器, 還會加入enclosure tags到你的 RSS2 feed. [10]

你可以設(shè)置iTunes-specific 設(shè)置和得到一個即時的預(yù)覽. [11]

你可以查看你的MP3 文件的ID3標簽信息,甚至可以復(fù)制ID3標簽的內(nèi)容到你的文章中。 [12]

最終結(jié)果就是一個很漂亮的flash MP3播放器插件,支持大多數(shù)的視頻格式。還有就是你擁有了每個媒體文件的下載鏈接. [13]

這里是你播放視頻的時候的界面. [14]


Post Podcasts with 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 quicktags.js file from your /wp-admin folder in a text editor and adding the supplied code. Save and upload your quicktags.js 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!

帶有Quicktag Button的文章 Podcasts

說明了添加一個podcasting quicktag button到你的寫文章 管理面板.

為了使用podcasting quicktag button, 按照本文的方法,通過文本編輯器/wp-admin文件夾打開你的quicktags.js文件,添加提供的代碼.保持并上傳quicktags.js文件到你的站點進行測試。在你的寫文章面板中,準備好你的podcast鏈接, 點擊podcasting quicktag button 然后粘貼在你的鏈接中. 完成!


This article is [[WordPress::Category:Copyedits|marked]] as in need of editing. You can help Codex by editing it.