]> code.citadel.org Git - citadel.git/commitdiff
* display VTODO parameters
authorArt Cancro <ajc@citadel.org>
Wed, 18 Sep 2002 21:44:02 +0000 (21:44 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 18 Sep 2002 21:44:02 +0000 (21:44 +0000)
webcit/ChangeLog
webcit/calendar.c

index 0f898dd87372a4ea78355da3b403be2a86394d3b..88f9dcef773311018d59a336d0f7ca44fa7badd3 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 400.17  2002/09/18 21:44:02  ajc
+* display VTODO parameters
+
 Revision 400.16  2002/09/17 04:21:00  ajc
 * Handler chains for VCALENDAR and VTODO types
 
@@ -994,3 +997,4 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index 92aeefe5ccb211f861b5ace37cd36960dd4af754..42c39fd23b2360cf121965c9d09399ce00d0b40e 100644 (file)
@@ -236,7 +236,32 @@ void display_individual_cal(icalcomponent *cal) {
 }
 
 void display_individual_task(icalcomponent *vtodo) {
+       icalproperty *p;
+
        wprintf("display_individual_task() called<BR>\n");
+
+       for (
+           p = icalcomponent_get_first_property(vtodo,
+                                               ICAL_ANY_PROPERTY);
+           p != 0;
+           p = icalcomponent_get_next_property(vtodo,
+                                               ICAL_ANY_PROPERTY)
+       ) {
+
+               /* Get a string representation of the property's value 
+               wprintf("Prop value: %s<BR>\n",
+                                       icalproperty_get_comment(p) ); */
+
+               /* Spit out the property in its RFC 2445 representation */
+               wprintf("<TT>%s</TT><BR>\n",
+                                       icalproperty_as_ical_string(p) );
+
+
+       }
+
+
+
+
 }
 
 /*