Export in HTML format
It would be great if the export support HTML format for a standalone reporting purpose.
Can I work on this?
Sure! It would be great to see some information here about what you have in mind as an approach, and how you intend to implement it before starting.
Thanks! Most likely will do the following: I will add the option to generate a simple html file to the scansearchresultexportmulti function of sfwebui.py . Given that I have correctly understood how the already existing Excel and CSV export capability work. So just to clarify a request to: ${docroot}/scansearchresultexport?filetype=excel&id= will get handled by the scansearchresultexport function in sfwebui.py and respond with the return value of the function?
I think smicallef was asking about the format for the HTML output.
The CSV functionality could be replicated and dumped into a HTML table. That would be quick and easy, but not particularly useful. Arguably less useful than simply dumping the output in CSV format.
Yes, you are totally right. In my opinion if an export of an individual data 'type' is requested then wrapping the Data in html is sufficient (For example if the user requests an export for all 'Human Names' then only a list of those will be exported just like in the cvs file. But if the user requests an export of the complete summary, then I believe preserving the hierarchy of the data is the only reasonable way of doing it. Also, I personally believe that when data is exported it should be as portable as possible, so separating the data into more than one file is generally rather unpractical. My solution would be to use a combination of <details> and <summary> tags. This gives the user the capability to expand the data instead of having to follow a hyperlink. But I am open to other suggestions.