nfd-status-http-server: serve XML
nfd-status-http-server to serve XML report (from
The XML report should link to a CSS or XSLT stylesheet that displays the XML report in a human-friendly format.
That stylesheet should also be served from
Accept: header should be used to specify the content type that the client is willing to accept.
- Assignee set to Chengyu Fan
So far as I know, there is no standard xslt library in Python.
lxml might be an option, but it requires users to install another library ... Any suggestions on it?
lxml should be acceptable, because this package exists on both supported systems.
apt-get install python-lxml
port install py25-lxml
One other option is to serve XML report only.
There's no HTML report.
Instead, the XML report links an stylesheet (CSS) that makes it look nice by human user.
Ehm. Why do we need to produce HTML? All normal browsers will do XSLT processing and we shouldn't really do anything special. The script should just serve proper xslr and xml files.
- Subject changed from nfd-status-http-server: serve XML; generate HTML from XSLT to nfd-status-http-server: serve XML
- Description updated (diff)
uploaded the initial xslt file, please help me to improve it.
Don't upload it here. Upload it directly to gerrit, so we can test how the result is actually looking.
Junxiao, I remember you had an example of status page. Can you post the link to it here? It was looking very nice and we should take it as a template.
I see, I will modify the current one according to the sample status page and upload it to gerrit
- Status changed from New to In Progress
- % Done changed from 0 to 80
- Status changed from In Progress to Code review
- % Done changed from 80 to 100
- Status changed from Code review to Closed
Also available in: Atom