New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rss for sections (#2068) #2463
Rss for sections (#2068) #2463
Conversation
|
||
Example: | ||
|
||
link://section_index_atom/cars => /cars/rss.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That’s supposed to be section_index_rss
, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep.
El dom., ago. 21, 2016 14:45, Chris Warrick notifications@github.com
escribió:
In nikola/plugins/task/indexes.py
#2463 (comment):@@ -296,3 +335,12 @@ def index_section_atom_path(self, name, lang):
link://section_index_atom/cars => /cars/index.atom
"""
return self.index_section_path(name, lang, is_feed=True)
+
- def index_section_rss_path(self, name, lang):
"""Link to the RSS feed for a section.
Example:
link://section_index_atom/cars => /cars/rss.xml
That’s supposed to be section_index_rss, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/getnikola/nikola/pull/2463/files/1ccfadec9df7ed57f39c36f4525ade1243922b36#r75599839,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAGKzT1BUtMUf4bjcsdRZVy6QiaLZR2ks5qiI6dgaJpZM4Jo-MQ
.
Ouch, branched out of the wrong place. Let's not merge this without #2462 first, I don't want to have to split diffs.
Also, this has path conflicts on multilingual sites for some reason I still have not debugged.