if (null != soloArticle) {
article = soloArticle;
imported = soloArticle.getBoolean(
BLOG_SYNC_EXTERNAL_ARTICLE_IMPORTED);
} else { // Not retrieved yet, get the article from External blogging system
final Post externalPost =
metaWeblog.getPost(externalArticleId);
if (null == externalPost) {
LOGGER.log(Level.WARNING,
"Retrieve article[postId={0}] from external blogging system[{1}] is null",
new String[]{externalArticleId, externalSys});
continue;
}
article = externalPost.toJSONObject();
final JSONObject externalArticleSoloArticleRelation =
new JSONObject();
externalArticleSoloArticleRelation.put(
BLOG_SYNC_EXTERNAL_ARTICLE_IMPORTED, false);
externalArticleSoloArticleRelation.put(