這個外掛並未在最新的 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;
}
?>

評價

There are no reviews for this plugin.

貢獻者及開發者

“JMB Post Feeds” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

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

對開發相關資訊感興趣?

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