|
Added UI Mockup: <External blog management interface>
Edited UI Mockup <External blog management interface>: Removed AJAX stuff, as Tim suggested it is not needed.
Sorry, but now we have the settings block I think this needs to be moved in there
Same with general blog preferences. In fact, shouldn't they all just be on the same page? This not finished. In HQ we decided to implement a one-way synchronisation process instead of the current copy-only functionality. The following remain to be done:
1. Make external entries read-only Details of the synchronisation process: $feed = load_feed items();
$time = earliest_timemodified_in_feed($feed);
$entries = get_blog_entries_equal_or_after_time($time);
foreach ($entries as $entry) {
if entry not in feed, delete it
if entry->timemodified != matching_feed_item->timemodified, update it
}
Thanks to Martin for the pseudocode The above pseudocode will not work, because RSS does not include any data about modified time, it only has "pubDate", which is the item's publication date.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1. New table for external blogs: blog_external [id | userid | name | URL]
2. New admin settings: externalblogcrontime, maxexternalblogsperuser, useexternalblogs
3. Implement simple code (using magpie) for fetching and copying external blog posts
4. Implement user interface for managing external blogs
5. Use tag API for associating tags with external blogs and automatically tagging imported posts