هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

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.