Samir Nassar wrote: > On 08/30/2011 18:09 , Kim Minh Kaplan wrote: > >> You do not have to change SKS to do what you want. You should not >> use SKS HTML output but use it as a webservice : do a HTTP request >> asking for machine readable output, parse and display that as it >> suits you. > > Does SKS provide output differently for browsers and non-browser HTTP > clients?
No. But you can use "options=mr" to get plain text colon separated output. Mmm, I see that you do not provide it on your index.html. Check out Phil Pennocks', he has a checkbox for Machine-readable. > If so, you want us to write custom parsers for the HTML-like stuff SKS > outputs as a solution that's preferable to outputting proper HTML to > begin with? I do not want you to write anything, I merely suggested a easy solution concerning the difficulties you presented here. But if you'd rather change SKS' output, go ahead. With machine readable output you get easily parsable plain text, not HTML. Most languages will provide some form of split function that will do most of the work. Some extra work is needed to catter for the name field that could contain colons but it should be really easy... Probably much easier than adding a template system to SKS. What part of SKS' HTML output is not proper? -- Kim Minh. http://www.kim-minh.com/ _______________________________________________ Sks-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/sks-devel
