Updating ".$feed['link/name']." from <".$feed['link/uri']."> ...";
flush();
}
function update_feeds_finish ($feed, $added, $dt) {
echo " completed in $dt second".(($dt==1)?'':'s')."\n";
}
function fwp_author_list () {
global $wpdb;
$ret = array();
// display_name introduced in WP 2.0
if (fwp_test_wp_version(FWP_SCHEMA_20)) :
$name_column = 'display_name';
else :
$name_column = 'user_nickname';
endif;
$users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY {$name_column}");
if (is_array($users)) :
foreach ($users as $user) :
$id = (int) $user->ID;
$ret[$id] = $user->{$name_column};
if (strlen(trim($ret[$id])) == 0) :
$ret[$id] = $user->user_login;
endif;
endforeach;
endif;
return $ret;
}
class FeedWordPressSettingsUI {
function instead_of_posts_box ($link_id = null) {
fwp_option_box_opener('Syndicated Posts, Comments & Pings', 'syndicatedpostsdiv', 'postbox');
if (!is_null($link_id)) :
$from_this_feed = 'from this feed';
$by_default = '';
$id_param = "&link_id=".$link_id;
else :
$from_this_feed = 'from syndicated feeds';
$by_default = " by default";
$id_param = "";
endif;
?>
Use the
settings page to set up how new posts will be published, whether they will accept
comments and pings, any custom fields that should be set on each post, etc.
Use the settings page to set up how new posts
will be assigned to
authors.
Use the
settings page to set up how new posts are assigned categories or tags.