I think you're right.  You might try using entity references instead of the
actual html characters.  Not sure if that will work or not.
 
I did find the documentation for vCalendar, so you might find an answer
there:
 
http://www.imc.org/pdi/
 
Check out the Specifications and other materials link for product
developers.
 
It may also be that HTML is not allowed in a description.  I added a LINK
and some bolding and italics to a calendar entry in my Outlook, and then
saved that entry as a vCalendar file, then I opened the .vcs file in notepad
to view the text of it, and there was no HTML markup in it at all.  That
leads me to believe it might not be possible, but maybe you can find the
answer above.
 
Good luck!
 
Dave

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Barbara ONeal
Sent: Saturday, June 02, 2007 3:44 PM
To: 'Dallas/Fort Worth ColdFusion User Group Mailing List'
Subject: RE: [DFW CFUG] Adding Calendar Event to Outlook



Thanks for the lead.  I can’t comment on the post anymore so I am going to
ask what it is that I am doing wrong here.  I get a return file with what I
have below.  However, outlook doesn’t seem to like it.  I think because of
the html content.  In looking at the vCal below I am thinking that because
this is layed out in a table that it does’t like the description.  Outlook’s
error is:

 

The command line argument is not valid.  Verify the switch you are using.
If someone has an idea I would greately appreciate it.  

 

 

vCal = vCal & "DESCRIPTION;ENCODING=QUOTED-PRINTABLE:";

                // Convert CF_CRLF (13_10) into =0D=0A with CR/LF and indent
sequences

                description =
REReplace(stEvent.description,"[#Chr(13)##Chr(10)#]",
"=0D=0A=#Chr(13)##Chr(10)#     ", "ALL");

 

BEGIN:VCALENDAR

PRODID:-//LPCC_CAL

VERSION:1.0

BEGIN:VEVENT

DTSTART:20080321T131500Z

DTEND:20070602T203815Z

LOCATION:N/A

SUMMARY;ENCODING=QUOTED-PRINTABLE:June Membership Luncheon

DESCRIPTION;ENCODING=QUOTED-PRINTABLE:<H2>June Membership
Luncheon</H2>=0D=0A=

     =0D=0A=

     <TABLE cellSpacing=2 cellPadding=2 width="75%" border=1>=0D=0A=

     =0D=0A=

     <TBODY>=0D=0A=

     =0D=0A=

     <TR>=0D=0A=

     =0D=0A=

     <TD>Date:&nbsp;</TD>=0D=0A=

     =0D=0A=

     <TD>Thursday, June 21, 2007&nbsp;</TD></TR>=0D=0A=

     =0D=0A=

     <TR>=0D=0A=

     =0D=0A=

     <TD>Time:&nbsp;</TD>=0D=0A=

     =0D=0A=

     <TD>11:15 a.m. - 12:00 p.m. - Cocktails &amp;
Reception&nbsp;</TD></TR>=0D=0A=

     =0D=0A=

     <TR>=0D=0A=

     =0D=0A=

     <TD>&nbsp;</TD>=0D=0A=

     =0D=0A=

     <TD>12:00 p.m. - 1:30&nbsp;p.m. - Luncheon&nbsp;</TD></TR>=0D=0A=

     =0D=0A=

     <TR>=0D=0A=

     =0D=0A=

     <TD>Where:&nbsp;</TD>=0D=0A=

     =0D=0A=

     <TD>The Westin Michigan Avenue Hotel&nbsp;</TD></TR>=0D=0A=

     =0D=0A=

     <TR>=0D=0A=

     =0D=0A=

     <TD>Address:&nbsp;</TD>=0D=0A=

     =0D=0A=

     <TD>909 N. Michigan Avenue&nbsp;</TD></TR></TBODY></TABLE>=0D=0A=

     =0D=0A=

     <P>** <EM><STRONG>Raffle Ticket Drawing takes place.&nbsp; Buy your
tickets now! E-mail Bernadette at</STRONG></EM> <A
href="mailto:[EMAIL PROTECTED]"><EM><STRONG>[EMAIL PROTECTED]</STRONG></EM><
/A><EM><STRONG>!</STRONG></EM></P>=0D=0A=

     =0D=0A=

     <P><STRONG>GRAND PRIZE:</STRONG> Two round-trip, international business
class tickets on American Airlines to Madrid, Spain and a four-night hotel
stay at InterContinental Castellana Madrid.</P>=0D=0A=

     =0D=0A=

     <P><STRONG>CHICAGO LUXURY:</STRONG> Five Diamond Weekend Package at The
Ritz-Carlton Chicago which includes two-night weekend stay with breakfast,
dinner for two in The Café, overnight parking and more!</P>=0D=0A=

     =0D=0A=

     <P><STRONG>CHICAGO SPORTS:</STRONG> Tickets to selected games for
Chicago Cubs &amp; White Sox.</P>=0D=0A=

     =0D=0A=

     <P><STRONG>CHICAGO SHOPPING:</STRONG> 3 chances to win!</P>=0D=0A=

     =0D=0A=

     <P>? $500 gift certificate to The 900 Shops</P>=0D=0A=

     =0D=0A=

     <P>? $500 gift certificate to Water Tower Place</P>=0D=0A=

     =0D=0A=

     <P>? $500 gift certificate to Westfield North Bridge&nbsp;</P>=0D=0A=

     =0D=0A=

     <P><A href="/store/Details.cfm?ProdID=75">Purchase Ticket
On-line</A></P>

PRIORITY:2

END:VEVENT

END:VCALENDAR

 

 

Ms. Barbara S. ONeal

President/Co-Founder

Centric Web®, Inc.

http://www.centricweb.com

630-734-0741

Adobe Community Expert

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Saturday, June 02, 2007 12:17 PM
To: 'Dallas/Fort Worth ColdFusion User Group Mailing List'
Subject: RE: [DFW CFUG] Adding Calendar Event to Outlook

 

Barbara,

 

Okay, here's one even easier:

 

http://www.cflib.org/udf.cfm?id=385
<http://www.cflib.org/udf.cfm?id=385&enable=1> &enable=1

 

That's a CF Lib function that will create the file for you.  Instead of
attaching it to an e-mail, just create a link to point to it. Looks like
someone else has done all the work for you. :)

 

Dave

 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Barbara ONeal
Sent: Saturday, June 02, 2007 12:05 PM
To: [email protected]
Subject: [DFW CFUG] Adding Calendar Event to Outlook

Hello,

 

I have searched high and low for this but can’t find it anywhere so thought
I would try here.

 

I have a site for a client that has an event calendar.  They would like
something like this
http://www.lincolnparkchamber.com/home/eventDetailsByMonth.cfm?ID=411
<http://www.lincolnparkchamber.com/home/eventDetailsByMonth.cfm?ID=411&m=6&y
=2007> &m=6&y=2007 

 

They want the save to outlook functionality.  Does anyone know of where I
can get the code for something like this?

 

Thanks.

 

Ms. Barbara S. ONeal

President/Co-Founder

Centric Web®, Inc.

http://www.centricweb.com

630-734-0741

Adobe Community Expert

 

_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.instantspot.com/
  www.teksystems.com/

Reply via email to