From: Robert M. <r.m...@ed...> - 2006-06-17 22:46:28
|
I've extracted the bookmarks for User:robertm into an XML file, by entering http://www.connotea.org/data/bookmarks/user/robertm in my browser address bar. Strangely, some of them have an empty <dc:title> element, while others do contain the assigned title. Yet when you look at robertm's bookmarks in Connotea, they all have a title. For all of them, the title (and other information) can be retrieved by picking up the rdf:resource attribute's value in the <rdfs:seeAlso> element. This is straightforward to do, but I am experiencing considerable unreliability doing it. I usually get the message that "The XML document must have a top level", suggesting that the XML is getting truncated. Moreover, the particular bookmark that this happens with varies from one try to the next. I guess that you might suggest that I try varying the timeout value. However (without wishing to complicate the story too much), I am not scripting anything, merely using an XSLT stylesheet with an <?xml-stylesheet?> processing instruction in the XML. I presume that there is no way to set the timeout value in this approach? It would simplify things a lot if all the information requested was returned in a single document, rather than requiring the programmer to follow a secondary link to retrieve the required information. This would solve the above problem, which is purely related to following such links and thus having to go back to the Connotea server for each bookmark. I appreciate that you might want to keep the <rdfs:seeAlso> element, in case developers have coded on the back of it, but would it also be possible to include this information in the main document as well? At the very least, it would be nice to have the bookmark's title in this document. Thanks, Robert |