dan mackinlay  committed b1659d7

don't explode when told to index undated entries

  • Participants
  • Parent commits f1cee0d

Comments (0)

Files changed (2)

File feed/TODO.txt

   - make sorting by date optional
   - make displaying date optional
   - support microformats for date display
+  - rather than ignoring undated articles, include them at the bottom of the list.
 - write rss at the `html-collect-pages` event

File feed/sphinxcontrib/feed/

         includefiles = node['includefiles']
         decorated_entries = [
-          (feed_pub_dates.get(doc,{}), title, doc)
-          for title, doc in entries]
+          (feed_pub_dates.get(doc), title, doc)
+          for title, doc in entries
+          if doc in feed_pub_dates]
         latest_list = nodes.bullet_list('')