String xpathToArticleUrl,
String xpathToArticleGuid,
String xpathToArticleImageUrl,
String xpathToArticlePubDate)
{
ConfigurationItems output = new ConfigurationItems(PLUGIN_NAME);
// title
output.setUserTitle(title);
// url
ConfigurationItem urlItem = new TextFieldItem(CFG_URL_KEY, url);
output.addItem(urlItem);
// String xpathToFrontPageTitle
ConfigurationItem xp_fp_title = new TextFieldItem(CFG_XP_FRONTPAGE_TITLE_KEY, xpathToFrontPageTitle);
output.addItem(xp_fp_title);
// String xpathToArticleNodes
ConfigurationItem xp_a_nodes = new TextFieldItem(CFG_XP_ARTICLE_NODES_KEY, xpathToArticleNodes);
output.addItem(xp_a_nodes);
// String xpathToArticleTitle
ConfigurationItem xp_a_title = new TextFieldItem(CFG_XP_ARTICLE_TITLE_KEY, xpathToArticleTitle);
output.addItem(xp_a_title);
// String xpathToArticleContent
ConfigurationItem xp_a_content = new TextFieldItem(CFG_XP_ARTICLE_CONTENT_KEY, xpathToArticleContent);
output.addItem(xp_a_content);
// String xpathToArticleUrl
ConfigurationItem xp_a_url = new TextFieldItem(CFG_XP_ARTICLE_URL_KEY, xpathToArticleUrl);
output.addItem(xp_a_url);
// String xpathToArticleGuid
ConfigurationItem xp_a_guid = new TextFieldItem(CFG_XP_ARTICLE_GUID_KEY, xpathToArticleGuid);
output.addItem(xp_a_guid);
// String xpathToArticleImageUrl
ConfigurationItem xp_a_img = new TextFieldItem(CFG_XP_ARTICLE_IMAGE_URL_KEY, xpathToArticleImageUrl);
output.addItem(xp_a_img);
// String xpathToArticlePubDate
ConfigurationItem xp_a_date= new TextFieldItem(CFG_XP_ARTICLE_PUBLICATION_DATE_KEY, xpathToArticlePubDate);
output.addItem(xp_a_date);
return output;
}