 		
 		if articles.count == 1, let feed = articles.first!.feed {
 			menu.addItem(selectFeedInSidebarMenuItem(feed))
-		}
-		
-		if let markAllMenuItem = markAllAsReadMenuItem() {
-			menu.addItem(markAllMenuItem)
+			if let markAllMenuItem = markAllAsReadMenuItem(feed) {
+				menu.addItem(markAllMenuItem)
+			}
 		}
 		
 		if articles.count == 1, let link = articles.first!.preferredLink {

		
	}
	
	@objc func markAllAsRead(_ sender: Any?) {
		markAllAsRead()
	}
	
	@objc func openInBrowserFromContextualMenu(_ sender: Any?) {

		return menuItem(formattedMenuText as String, #selector(selectFeedInSidebarFromContextualMenu(_:)), feed)
	}

	func markAllAsReadMenuItem(_ feed: Feed) -> NSMenuItem? {
		
		let articles = Array(feed.fetchArticles())
		guard articles.canMarkAllAsRead() else {
			return nil
		}
		
		let localizedMenuText = NSLocalizedString("Mark All as Read in \"%@\"", comment: "Command")
		let menuText = NSString.localizedStringWithFormat(localizedMenuText as NSString, feed.nameForDisplay) as String
		
		return menuItem(menuText, #selector(markAllInFeedAsRead(_:)), articles)
	}
	
	func openInBrowserMenuItem(_ urlString: String) -> NSMenuItem {
