From: Ben F. <li...@hi...> - 2005-02-09 18:00:36
|
Hi all. I can't seem to get phpicalendar to display the URLs associated with calendar objects. Each event in my calendar has a web page associated with it which gives further details (retrieved from a mysql database) about the event. I had toyed with the idea of actually putting this data within the iCal file itself, but I don't think it's flexible enough. I need to be able to separate it into lots of fields such as "price" "film rating" and things. So I'm trying to put a link in each calendar object to point to more information. Is the URL feature of calendar events turned off in phpicalendar on purpose, perhaps because of security issues? Is it possible to turn it on? Are there issues associated with this? Many Thanks Ben Extract from Internet Calendaring and Scheduling Core Object Specification which I think is relevant (http://www.faqs.org/rfcs/rfc2445.html): =========================================== 4.8.4.6 Uniform Resource Locator Property Name: URL Purpose: This property defines a Uniform Resource Locator (URL) associated with the iCalendar object. Value Type: URI Property Parameters: Non-standard property parameters can be specified on this property. Conformance: This property can be specified once in the "VEVENT", "VTODO", "VJOURNAL" or "VFREEBUSY" calendar components. Description: This property may be used in a calendar component to convey a location where a more dynamic rendition of the calendar information associated with the calendar component can be found. This memo does not attempt to standardize the form of the URI, nor the format of the resource pointed to by the property value. If the URL property and Content-Location MIME header are both specified, they MUST point to the same resource. Format Definition: The property is defined by the following notation: url = "URL" urlparam ":" uri CRLF urlparam = *(";" xparam) Example: The following is an example of this property: URL:http://abc.com/pub/calendars/jsmith/mytime.ics -- Ben "tola" Francis http://hippygeek.co.uk ---------------------------------------------------- COMPUTER SUPPORT for small businesses and home users http://tolatech.co.uk ---------------------------------------------------- |
From: Chad L. <ch...@ch...> - 2005-02-09 18:11:34
|
HI, we don't have support for the URL property tag of RFC2445. To my knowledge I haven't seen an application that uses is and it's never been requested by our audience. You can put URLs directly into the Description field and we'll convert them into an href upon displace. I also believe we do this for the Location field as well. If you want to submit a feature request, please do so on the Sourceforge site and attach a sample calendar. Thanks, Chad On Feb 9, 2005, at 10:00 AM, Ben Francis wrote: > Hi all. > > I can't seem to get phpicalendar to display the URLs associated with > calendar objects. Each event in my calendar has a web page associated > with it which gives further details (retrieved from a mysql database) > about the event. I had toyed with the idea of actually putting this > data within the iCal file itself, but I don't think it's flexible > enough. I need to be able to separate it into lots of fields such as > "price" "film rating" and things. So I'm trying to put a link in each > calendar object to point to more information. > > Is the URL feature of calendar events turned off in phpicalendar on > purpose, perhaps because of security issues? Is it possible to turn it > on? Are there issues associated with this? > > Many Thanks > > Ben > > > Extract from Internet Calendaring and Scheduling Core Object > Specification which I think is relevant > (http://www.faqs.org/rfcs/rfc2445.html): > =========================================== > 4.8.4.6 Uniform Resource Locator > > Property Name: URL > > Purpose: This property defines a Uniform Resource Locator (URL) > associated with the iCalendar object. > > Value Type: URI > > Property Parameters: Non-standard property parameters can be > specified on this property. > > Conformance: This property can be specified once in the "VEVENT", > "VTODO", "VJOURNAL" or "VFREEBUSY" calendar components. > > Description: This property may be used in a calendar component to > convey a location where a more dynamic rendition of the calendar > information associated with the calendar component can be found. This > memo does not attempt to standardize the form of the URI, nor the > format of the resource pointed to by the property value. If the URL > property and Content-Location MIME header are both specified, they > MUST point to the same resource. > > Format Definition: The property is defined by the following notation: > > url = "URL" urlparam ":" uri CRLF > > urlparam = *(";" xparam) > > Example: The following is an example of this property: > > URL:http://abc.com/pub/calendars/jsmith/mytime.ics > > -- > Ben "tola" Francis http://hippygeek.co.uk > ---------------------------------------------------- > COMPUTER SUPPORT for small businesses and home users > http://tolatech.co.uk > ---------------------------------------------------- > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Ben F. <li...@hi...> - 2005-02-09 19:31:43
|
Chad Little wrote: > HI, we don't have support for the URL property tag of RFC2445. To my > knowledge I haven't seen an application that uses is and it's never > been requested by our audience. Erm, Apple iCal, Mozilla Calendar? I presume I'm referring to the right part of the RFC. A URL attached to an event. > > You can put URLs directly into the Description field and we'll convert > them into an href upon displace. I also believe we do this for the > Location field as well. Oh OK. Just a note on this, whilst experimenting I've noticed that URLs in the description field don't work consistently between normal view and printer friendly view if written in HTML. For example, if I type... <a href="http://example.com/page.htm">more...</a> into a description field, if you click on the event in a normal view you get a popup in which the HTML breaks. If you go to printer friendly view, the HTML is parsed correctly and works as intended. If you don't use HTML and just type a URL in plain text, it becomes a link as you describe in normal view and is not clickable in printer friendly view which is fair enough. A demo of this can be seen at: http://www.catmosearts.co.uk/calendar/week.php?cal=all_calendars_combined971&getdate=20050209 I suppose this is just because you're not supposed to put HTML in event descriptions! But the inconsistency is a little frustrating. > > If you want to submit a feature request, please do so on the > Sourceforge site and attach a sample calendar. OK, thanks :) Ben -- Ben "tola" Francis http://hippygeek.co.uk ---------------------------------------------------- COMPUTER SUPPORT for small businesses and home users http://tolatech.co.uk ---------------------------------------------------- |