這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

JMB Post Feeds

外掛說明

Create post feeds in CSV, XML, RSS, Google RSS, Text & Custom formats.

Features:

  • Add your own custom format using the ‘jmb_pf_plugin_settings’ filter.
  • Filter & Refine search options to restrict the posts that appear in a feed.
  • Choose the post types to include in the feed(s).
  • Choose what formats to export a feed to.
  • Set a feed to update automatically whenever a post matching the feed’s criteria is updated.

安裝方式

  1. Upload the plugin to the ‘/wp-content/plugins’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

常見問題集

Installation Instructions
  1. Upload the plugin to the ‘/wp-content/plugins’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
How do I create my own export format?

First, register your Export Format with the plugin like so:

‘Text 2’,
‘ext’ => ‘-text-2.txt’,
‘callback’ => ‘jmb_pf_text_2_format’,
);

return $settings;
});
?>

Then create the Export Function that takes the feed data and exports it to a file, like so:

”,
‘posts’ => array(),
), $args );

if ( empty( $a[‘posts’] ) ) {
return;
}

$text_content = ”;

foreach ( $a[‘posts’] as $post ) {
if ( ! empty( $text_content ) ) {
$text_content .= “\n”;
}

foreach ( $post as $data_name => $data_value ) {
$text_content .= sprintf( “%s “, $data_value );
}
}

if ( ! empty( $a[‘file_name’] ) ) {
$fp = fopen( $a[‘file_name’], ‘w’ );
fputs( $fp, $text_content );
fclose( $fp );

return true;
}

return $text_content;
}
?>

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈JMB Post Feeds〉的開發相關工作。

參與者

將〈JMB Post Feeds〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄