Tech note links in RSS feed
(1) By Joel Dueck (joeld) on 2018-12-18 23:18:27 [link] [source]
A humble question...
When I go to /timeline?y=e
for a repo in my browser, what I see are links to /technote/abcde123
etc. That is, links to view each tech note.
But when I go to /timeline.rss?y=e
, all the links are instead pointing to /info/fedb6543
, that is links to view raw artifacts which are instances of the tech notes (and which thus have no wiki/markdown formatting).
Is there a way to have an RSS feed for tech notes such that each item's <link>
element points to its /technote/
URI?
Same might be asked of RSS feeds which are limited to wiki pages? (timeline.rss?y=w
)
(2) By Joel Dueck (joeld) on 2019-01-23 19:22:18 in reply to 1 [source]
Although there have been no replies to this, and although it has been a very long time since I used C on any platform, I want this feature badly enough that I am blundering my way through figuring out how to write a patch for it.
I am looking to add a parameter, timeline.rss?prose=1
that will A) limit results to only tech notes and wiki pages, and B) set the <link>
element for each <item>
in the RSS feed to use /technote/ID
for tech notes and /wiki?name=Page+Name
for wiki pages, and (stretch goal) C) include the complete contents of each page in the item's <content>
tag (converted to HTML and included as CDATA).
The y
parameter could still be used to limit the results to just tech notes (e
) or just wiki pages (w
). If prose=1
is used and y
is used to specify anything other than e
or w
, the result would be an empty feed.
Use of the tkt=UUID
, tag=TAG
, or wiki=NAME
filters would have no effect when prose=1
is in use.
If anyone knows of any big problems with this approach that would prevent it from being eventually accepted into trunk (or from working at all) and wants to save me wasting a lot of time, feel free to chime in.