[metrics-bugs] #23854 [Metrics/Website]: Add an RSS feed for https://metrics.torproject.org/news.html
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Mar 20 11:19:47 UTC 2018
#23854: Add an RSS feed for https://metrics.torproject.org/news.html
-----------------------------+--------------------------
Reporter: cypherpunks | Owner: irl
Type: enhancement | Status: accepted
Priority: Medium | Milestone:
Component: Metrics/Website | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------+--------------------------
Comment (by irl):
The first approach is making me write code that makes me very sad. It
hides presentation steps as data pre-processing steps.
I'd like to take the second approach instead, with the reusable portion
(each row of the table) inserted as a include in the JSPs for GraphServlet
and NewsServlet.
This has benefits later for localisation, for the styleguide updates, and
it would be really easy to add an iCal feed in addition to the RSS/ATOM.
I'd also like to change the format of news.json to not presume that output
is going to only be HTML. Does anything else consume news.json other than
GraphServlet and NewsServlet?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23854#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list