- Generating a HTML Table from RDF DESCRIBE Results (I'm actually using a construct to get the predicates and objects concerning a subject)
colspan makes the entire process painful...
It all seems rather convoluted, there's another snippet of mine that parses the results in to a dictionary of lists before generating the table - i had thought that it was rather ugly and obfuscated - this certainly doesn't look too intuitive either
Perhaps it would be better to create a table, and modify it (using dom) as we parse the results
Well I suppose that's for another day
- Sweet Burlap 2012-05-18
The templating in Django makes it rather difficult to encode links to hash URIs using this method (we need to autoescape the hash uri, but not all the <> symbols - guess that's another argument for using BeautifulSoup)
- Sweet Burlap 2012-05-26
sorry - not hashes aren't autoescaped - but we can use the urlencode filter to substitute %23 for hashes
Sign in to leave a comment.