From: Benjamin G. <go...@in...> - 2006-08-09 15:33:49
|
Hi Robert, I'm actually using an RDF processing library called Jena (http:// jena.sourceforge.net/ ) to work with the results data. Its probably much slower than almost anything else.. but it is very flexible and I have to use it for other work so I'll probably stick with it. I was hoping to add sorting conditions directly to my request so that I could limit the amount of results based on my own criteria. For example - give me the top 100 tags according to frequency of use or recency or number of users etc. thanks though! -Ben On Aug 9, 2006, at 8:17 AM, Robert Muetzelfeldt wrote: > Hi Ben, > > I don't know the answer to your basic question, nor do I work with > Java! However, you do ask about sorting. I've been using XSLT > to do all the processing of the Connotea result XML, and sorting by > any criterion is a breeze. Are you using XSLT at all for > processing the result XML, or doing it using the Java DOM API? If > you've not used XSLT and are tempted, feel free to drop me a line. > Cheers, > Robert > > Benjamin Good wrote: >> Hi, >> >> I would like to GET tags that are related to a search term. >> Trying the following results in an error (perhaps the developers >> have seen the auto-bug reports already). >> >> http://www.connotea.org/tags/?q=ontology&num=10 >> >> If I constrain the query to a particular user like: >> >> http://www.connotea.org/tags/user/bgood/?q=ontology&num=10 >> >> then things are peachy. >> >> What am I doing wrong? >> What exactly does the ?q=X search actually do ? >> Is there any way to return the results sorted in a particular way? >> How are the results currently sorted (if at all) ? >> Anyone else working with Java? >> >> thanks! >> -Ben >> >> >> --------------------------------------------------------------------- >> ---- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Connotea-code-devel mailing list >> Con...@li... >> https://lists.sourceforge.net/lists/listinfo/connotea-code-devel >> > |