config.append("<script type=\"text/javascript\">\n");
config.append("function LoadDynamicFeedControl() {");
config.append("var feeds = [");
Iterator<IFeed> feedItr = project.getFeeds().iterator();
IFeed feed = null;
while (feedItr.hasNext()) {
if (feed != null) {
config.append(",");
}
feed = feedItr.next();
config.append("{title: '" + feed.getTitle() + "',");
config.append("url: '" + feed.getFeedURL() + "'");
config.append("}");
}
config.append("];");
config.append("var options = {");