 
 (defun duncan/org-rss-publish-to-rss (plist filename pub-dir)
   "Wrap org-rss-publish-to-rss with PLIST and PUB-DIR, publishing only when FILENAME is 'archive.org'."
-  (if (equal "archive.org" (file-name-nondirectory filename))
+  (if (equal "rss.org" (file-name-nondirectory filename))
       (org-rss-publish-to-rss plist filename pub-dir)))
 
 ; Project definition

      (list
       (list "blog"
             :base-directory "./posts"
             :exclude (regexp-opt '("posts.org" "archive.org"))
             :base-extension "org"
             :recursive t
             :publishing-directory (expand-file-name "public/posts" (projectile-project-root))

             :sitemap-function 'duncan/org-publish-sitemap-latest-posts
             :sitemap-format-entry 'duncan/org-publish-sitemap-entry)

        (list "archive"
              :base-directory "./posts"
              :recursive t
              :exclude (regexp-opt '("posts.org" "archive.org" "rss.org"))
              :base-extension "org"
              :publishing-directory "./public"
              :publishing-function 'duncan/org-rss-publish-to-rss
