內容簡介
粉紅視覺 API 外掛程式允許您透過 PinkVisual API [http://api.pinkvisual.com/] 將粉紅視覺的內容整合到您的網站中。透過您的粉紅視覺 API ID,您可以從傳送到粉紅視覺的瀏覽者中獲得收益。
這個外掛程式包含一個簡單的短碼 [pvapi],可供您在網站中添加內容。
請參閱使用方式頁面,以獲取使用短碼的相關資訊。
使用方式
使用最簡單的方式是在您的文章中包含 [pvapi] 標籤。這樣會包含最近的多個集數,數量取決於選項頁面上所定義的預設清單長度值。
在使用 pvapi 標籤時,您可以包含一個 num= 屬性,以列出特定數量的集數。這將個別覆蓋在選項頁面上設置的數值。例如 [pvapi num=3],可顯示有 3 集。
您可以使用一個「來源名稱」(請見PinkVisual API 的來源文件),來指定集數只能來自單一來源。例如,[pvapi source="bes"]。您也可以使用數字與來源名稱一起,例如[pvapi source="bes" num="3"]。
您可以使用一個「集數名稱」(請見PinkVisual API 的集數文件),來指定要包含的特定集數。
為了簡化短碼的使用,設計了一個「粉紅視覺媒體」按鈕,它出現在文章編輯器上方的「上傳圖片」按鈕右側。只需點擊,即可啟動交互式插入工作流程。
目前不支援演員和特定類型的請求,但它們將在下一個版本中發布。
外掛標籤
開發者團隊
原文外掛簡介
The PinkVisual API Plugin allows you to integrate PinkVisual’s content with your site via
the PinkVisual API [http://api.pinkvisual.com/]. Using your PinkVisual API ID you can earn
revenue from surfers sent to PinkVisual.
The plugin includes a simple shortcode [pvapi] to add content to your site.
Please see the Usage page for information about using the shortcode.
Usage
The simplest possible usage is to include a [pvapi] tag in your post. This will include a number of recent episodes
determined by the default list length value defined on the options page.
To any usage of the pvapi tag, you may include a num= attribute to list only that many episodes. This individually
overrides the value set on the options page. For example [pvapi num=3] to display only 3 episodes.
You can use a “source name” (see Source Documentation at PinkVisual API)
to specify that episodes should only be drawn from a single source. For example, [pvapi source=”bes”]. You may
also include a num argument with a source, such as [pvapi source=”bes” num=”3″].
You may use an “episode name” (see Episode Documentation at PinkVisual API)
to specify a sinlge specific episode for inclusion.
In order to simplify shortcode usage, there is a “PinkVisual Media” button, which appears just to the right of the “Upload Image”
button above the post editor. Simply click to kick off an interactive insertion workflow.
At the moment, actor and niche arguments are not supported, but they will be released in the next version.
