Hi Stephen, I personally prefer using JQuery. Manuel wrote a really good tutorial on using Jquery AJAX RQL. http://manuelschnitger.wordpress.com/2011/02/17/rql-in-a-nutshell-part-iii/
The asmx method is the method via webservice. I recommend against using the webservice because I found it much slower and unstable than the rqlconnector.asp method, especially in large scale RQLs. You mentioned that you will be writing a custom tool for import. Since javascript is not ideal for local file R/W, I would recommend writing a windows app for the import. Yes, windows app can send RQLs. Simply post the RQL to the rqlconnector.asp. Best regards, -Jian On Apr 12, 10:39 pm, Stephen Moore <[email protected]> wrote: > On Wed, Apr 13, 2011 at 2:34 AM, Jian Huang <[email protected]> wrote: > > Hi Stephen, > > Hello. > > > > > Sorry to hear about your trouble, but I am very glad to know that you > > are using the AJAX approach to RQL. > > Yes, I like Javascript quite a lot. > Infact, I'm actually using > coffeescript,http://jashkenas.github.com/coffee-script/ > And I'm able to define my rql in json :) > > Unfortunately, as I mentioned earlier, still proof-of-concept quality, > but nonetheless, kinda cool :p > > > > > > > > > > > > > Here is the asp rql gateway/connector we use > > > <?xml version="1.0" encoding="utf-8" ?> > > <% > > Response.ContentType = "text/xml" > > > Dim objIO 'Declare the objects > > Dim xmlData, sError, retXml > > set objIO = Server.CreateObject("RDCMSASP.RdPageData") > > objIO.XmlServerClassName = "RDCMSServer.XmlServer" > > > xmlData = Request.Form("rqlxml") > > > xmlData = objIO.ServerExecuteXml (xmlData, sError) > > > Set objIO = Nothing > > > If sError <> "" Then > > retXml = "<ERROR>" & sError & "</ERROR>" > > Else > > retXml = xmlData > > End If > > > Response.Write(retXml) > > %> > > > With this connector, you should still be getting returned rql > > containing loginguid whether user is already logged in or not. > > cool, thanks, I'll have a look into that as well as the asmx thing above. > > > > > I strongly advise against running RQL off of the webservice as it > > competes with Management Server for RQL communication bandwidth. > > I'm not exactly sure exactly what that means. My guess is that it > makes the cms quite a lot slower for other users ?? > > However, we have a separate server for site migrations where the tool > will run, so probably not a problem in this case ? > > > > > Please let us know if this worked for you. > > Will do > > Thankyou > > Regards, > Stephen. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
