urlpath + doc.get_filename() + ".html",
doc.get_creation_date());
// If the items don't exceed max size of RSS feed
- if (feed.get()->get_num_items() <= MAX_RSS_FEED)
+ if (feed.get()->get_num_items() < MAX_RSS_FEED)
feed.get()->add_rss_item (fitem);
// Add the document details to the document list
DocListItem item (&doc, urlpath);