Page 1 of 1

spaces in type names when subscribing to iCal

PostPosted: Tue Aug 05, 2008 1:38 am
by dysong3
Hi,

I just set up the iCal subscription kit and all's well … Except I have several "type" names in CCCalendar that are several words. How do you formulate the subscription address to deal with the spaces between words? I had assumed that uunderscore (_) would work but it doesn't seem to.

PostPosted: Tue Aug 05, 2008 5:48 am
by John Sindelar
I believe you can use %20 in place of the spaces in your data. FileMaker has an interesting paper here named fms9_cwp_xslt_en.pdf that explains all the interesting finds you can do with these query URLS.

PostPosted: Tue Aug 05, 2008 6:11 am
by dysong3
Thanks John. That did the trick.

PostPosted: Tue Aug 05, 2008 6:43 am
by dysong3
John

Just taking this a little further. Is there any way of limiting the subscription address to just one specific type even if there are other types that have in their names the first type name. For example I have a subscription address that includes the type name "pulloff" which subscribes to the type "pulloff" but also to "pulloff répète" and any type name with "pulloff" in it. Is there a way of just subscribing to "pulloff"?

PostPosted: Tue Aug 05, 2008 6:50 am
by John Sindelar
Sure. You can use the "op" parameter like this...

&Type= pulloff&name.op=eq&–find

...to find where type "equals" pulloff (instead of contains or begins with pulloff). Or you can omit things you don't want using the ! (omit) parameter.

You'll find examples of both in Appendix A of the .pdf I mentioned above.