dispatch = NULL; $this->filename = __FILE__; } /* FeedWordPressSyndicationPage constructor */ function has_link () { return false; } function display () { global $wpdb; if (FeedWordPress::needs_upgrade()) : fwp_upgrade_page(); return; endif; ?> open_sheet('Syndicated Sites'); ?>
meta_box_context(), /*context =*/ $this->meta_box_context() ); endif; fwp_add_meta_box( /*id=*/ 'feedwordpress_feeds_box', /*title=*/ __('Syndicated sources'), /*callback=*/ 'fwp_syndication_manage_page_links_box', /*page=*/ $this->meta_box_context(), /*context =*/ $this->meta_box_context() ); if (FeedWordPressCompatibility::test_version(0, FWP_SCHEMA_25)) : fwp_add_meta_box( /*id=*/ 'feedwordpress_add_feed_box', /*title=*/ 'Add a new syndicated source', /*callback=*/ 'fwp_syndication_manage_page_add_feed_box', /*page=*/ $this->meta_box_context(), /*context=*/ $this->meta_box_context() ); endif; do_action('feedwordpress_admin_page_syndication_meta_boxes', $this); ?>
meta_box_context(), $this->meta_box_context(), $this); ?>
close_sheet(/*dispatch=*/ NULL); ?>

Thank you!

Thank you for your contribution to FeedWordPress development. Your generous gifts make ongoing support and development for FeedWordPress possible.

If you have any questions about FeedWordPress, or if there is anything I can do to help make FeedWordPress more useful for you, please contact me and let me know what you're thinking about.

Charles Johnson, Developer, FeedWordPress.

Keep FeedWordPress improving

FeedWordPress makes syndication simple and empowers you to stream content from all over the web into your WordPress hub. That's got to be worth a few lattes. If you're finding FWP useful, a modest gift is the best way to support steady progress on development, enhancements, support, and documentation.

You can make a gift online (or set up an automatic regular donation) using an existing PayPal account or any major credit card.

get_results(" SELECT * FROM $wpdb->links WHERE link_id IN (".implode(",",$_POST['link_ids']).") "); if (is_array($targets)) : foreach ($targets as $target) : $update_set[] = $target->link_rss; endforeach; else : // This should never happen FeedWordPress::critical_bug('fwp_syndication_manage_page::targets', $targets, __LINE__); endif; elseif (isset($_POST['update_uri'])) : $update_set[] = $_POST['update_uri']; endif; shuffle($update_set); // randomize order for load balancing purposes... if ($fwp_update_invoke != 'get' and count($update_set) > 0) : // Only do things with side-effects for HTTP POST or command line $feedwordpress =& new FeedWordPress; add_action('feedwordpress_check_feed', 'update_feeds_mention'); add_action('feedwordpress_check_feed_complete', 'update_feeds_finish', 10, 3); $crash_dt = (int) get_option('feedwordpress_update_time_limit'); if ($crash_dt > 0) : $crash_ts = time() + $crash_dt; else : $crash_ts = NULL; endif; if (fwp_test_wp_version(FWP_SCHEMA_25)) : echo "
\n"; else : echo "
\n"; endif; echo "\n"; if (!is_null($tdelta)) : $mesg = array(); if (isset($delta['new'])) : $mesg[] = ' '.$tdelta['new'].' new posts were syndicated'; endif; if (isset($delta['updated'])) : $mesg[] = ' '.$tdelta['updated'].' existing posts were updated'; endif; echo "

Update complete.".implode(' and', $mesg)."

"; echo "\n"; flush(); endif; echo "
\n"; endif; } function fwp_syndication_manage_page_add_feed_box ($object = NULL, $box = NULL) { ?>
bleg_thanks($subject, $box); elseif ($bleg_box_ready) : $object->bleg_box($object, $box); endif; ?>

Check currently scheduled feeds for new and updated posts.

Note: Automatic updates are currently turned off. New posts from your feeds will not be syndicated until you manually check for them here. You can turn on automatic updates under Feed & Update Settings.


has been added as a contributing site, using the feed at <>. | Configure settings.

There was a problem adding the feed. [SQL: ]

set_uri($fwp_post['feed']); if ($changed): $home = $existingLink->homepage(/*from feed=*/ false); $name = $existingLink->name(/*from feed=*/ false); ?>

Feed for updated to <>.

Nothing was changed.

$what) : $do_it[$what][] = $link_id; endforeach; $alter = array(); if (count($do_it['hide']) > 0) : $hidem = "(".implode(', ', $do_it['hide']).")"; $alter[] = " UPDATE $wpdb->links SET link_visible = 'N' WHERE link_id IN {$hidem} "; endif; if (count($do_it['nuke']) > 0) : $nukem = "(".implode(', ', $do_it['nuke']).")"; // Make a list of the items syndicated from this feed... $post_ids = $wpdb->get_col(" SELECT post_id FROM $wpdb->postmeta WHERE meta_key = 'syndication_feed_id' AND meta_value IN {$nukem} "); // ... and kill them all if (count($post_ids) > 0) : foreach ($post_ids as $post_id) : wp_delete_post($post_id); endforeach; endif; $alter[] = " DELETE FROM $wpdb->links WHERE link_id IN {$nukem} "; endif; if (count($do_it['delete']) > 0) : $deletem = "(".implode(', ', $do_it['delete']).")"; // Make the items syndicated from this feed appear to be locally-authored $alter[] = " DELETE FROM $wpdb->postmeta WHERE meta_key = 'syndication_feed_id' AND meta_value IN {$deletem} "; // ... and delete the links themselves. $alter[] = " DELETE FROM $wpdb->links WHERE link_id IN {$deletem} "; endif; $errs = array(); $success = array (); foreach ($alter as $sql) : $result = $wpdb->query($sql); if (!$result): $errs[] = mysql_error(); endif; endforeach; if (count($alter) > 0) : echo "
\n"; if (count($errs) > 0) : echo "There were some problems processing your "; echo "unsubscribe request. [SQL: ".implode('; ', $errs)."]"; else : echo "Your unsubscribe request(s) have been processed."; endif; echo "
\n"; endif; return true; // Continue on to Syndicated Sites listing else : $targets = $wpdb->get_results(" SELECT * FROM $wpdb->links WHERE link_id IN (".implode(",",$link_ids).") "); ?>

Unsubscribe from Syndicated Links:

link_url, 1); $link_name = wp_specialchars($link->link_name, 1); $link_description = wp_specialchars($link->link_description, 'both'); $link_rss = wp_specialchars($link->link_rss, 'both'); ?>
Subscription :
display();