How to extract data from an ics file by colsfusion?
I am new to Coldfusion. i am working on an email template in which i need to upload an ics file and then extract the information of that file using coldfusion. and also i want to create an ics file using dynamic data.
how can i extract data from ics file and how can we create an icf file using data.
i searched about this but could not find a specific answer. Thanks
my ics file looks like this
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Test VTF
X-WR-TIMEZONE:Asia/Karachi
BEGIN:VEVENT
DTSTART:20181115T180000Z
DTEND:20181115T190000Z
DTSTAMP:20181112T154513Z
UID:3k6frbl4bqnebdh1obi42pocnq@google.com
CREATED:20181112T154449Z
DESCRIPTION:Vein Clinics of America California Appointment USA
LAST-MODIFIED:20181112T154449Z
LOCATION:VTF Location USA
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Vein Appointment Conf Nov
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
mysql sql-server-2012 coldfusion-11
add a comment |
I am new to Coldfusion. i am working on an email template in which i need to upload an ics file and then extract the information of that file using coldfusion. and also i want to create an ics file using dynamic data.
how can i extract data from ics file and how can we create an icf file using data.
i searched about this but could not find a specific answer. Thanks
my ics file looks like this
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Test VTF
X-WR-TIMEZONE:Asia/Karachi
BEGIN:VEVENT
DTSTART:20181115T180000Z
DTEND:20181115T190000Z
DTSTAMP:20181112T154513Z
UID:3k6frbl4bqnebdh1obi42pocnq@google.com
CREATED:20181112T154449Z
DESCRIPTION:Vein Clinics of America California Appointment USA
LAST-MODIFIED:20181112T154449Z
LOCATION:VTF Location USA
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Vein Appointment Conf Nov
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
mysql sql-server-2012 coldfusion-11
1
ICS files are unstructured text files, so there is no in-built function to turn them into usable data (and back to ICS). But they are text files and do have set data field names (e.g. DTSTART). A very basic way is to upload the ics with cffile and use string search to find the data field names and values you need. You could also have a look at: github.com/dkimbell13/cf_ics_parser Writing an ICS is just like writing a text file, you just have to get the data field names right and and time/timezone values to match expectations.
– Dom Robinson
Nov 13 '18 at 12:28
thanks Dom Robinson. But i am confused. actually i have to open the attachment (ics) into google, outlook and yahoo calendar. i have a button in email Add to calendar. by clicking on specific option, icf should open in calendar. How can i give reference of that attached file to calendars. i am little bit confused. i don't want to download the ics.
– Zeeshan Ali
Nov 13 '18 at 13:18
add a comment |
I am new to Coldfusion. i am working on an email template in which i need to upload an ics file and then extract the information of that file using coldfusion. and also i want to create an ics file using dynamic data.
how can i extract data from ics file and how can we create an icf file using data.
i searched about this but could not find a specific answer. Thanks
my ics file looks like this
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Test VTF
X-WR-TIMEZONE:Asia/Karachi
BEGIN:VEVENT
DTSTART:20181115T180000Z
DTEND:20181115T190000Z
DTSTAMP:20181112T154513Z
UID:3k6frbl4bqnebdh1obi42pocnq@google.com
CREATED:20181112T154449Z
DESCRIPTION:Vein Clinics of America California Appointment USA
LAST-MODIFIED:20181112T154449Z
LOCATION:VTF Location USA
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Vein Appointment Conf Nov
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
mysql sql-server-2012 coldfusion-11
I am new to Coldfusion. i am working on an email template in which i need to upload an ics file and then extract the information of that file using coldfusion. and also i want to create an ics file using dynamic data.
how can i extract data from ics file and how can we create an icf file using data.
i searched about this but could not find a specific answer. Thanks
my ics file looks like this
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Test VTF
X-WR-TIMEZONE:Asia/Karachi
BEGIN:VEVENT
DTSTART:20181115T180000Z
DTEND:20181115T190000Z
DTSTAMP:20181112T154513Z
UID:3k6frbl4bqnebdh1obi42pocnq@google.com
CREATED:20181112T154449Z
DESCRIPTION:Vein Clinics of America California Appointment USA
LAST-MODIFIED:20181112T154449Z
LOCATION:VTF Location USA
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Vein Appointment Conf Nov
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
mysql sql-server-2012 coldfusion-11
mysql sql-server-2012 coldfusion-11
edited Nov 13 '18 at 11:15
Zeeshan Ali
asked Nov 13 '18 at 10:56
Zeeshan AliZeeshan Ali
13
13
1
ICS files are unstructured text files, so there is no in-built function to turn them into usable data (and back to ICS). But they are text files and do have set data field names (e.g. DTSTART). A very basic way is to upload the ics with cffile and use string search to find the data field names and values you need. You could also have a look at: github.com/dkimbell13/cf_ics_parser Writing an ICS is just like writing a text file, you just have to get the data field names right and and time/timezone values to match expectations.
– Dom Robinson
Nov 13 '18 at 12:28
thanks Dom Robinson. But i am confused. actually i have to open the attachment (ics) into google, outlook and yahoo calendar. i have a button in email Add to calendar. by clicking on specific option, icf should open in calendar. How can i give reference of that attached file to calendars. i am little bit confused. i don't want to download the ics.
– Zeeshan Ali
Nov 13 '18 at 13:18
add a comment |
1
ICS files are unstructured text files, so there is no in-built function to turn them into usable data (and back to ICS). But they are text files and do have set data field names (e.g. DTSTART). A very basic way is to upload the ics with cffile and use string search to find the data field names and values you need. You could also have a look at: github.com/dkimbell13/cf_ics_parser Writing an ICS is just like writing a text file, you just have to get the data field names right and and time/timezone values to match expectations.
– Dom Robinson
Nov 13 '18 at 12:28
thanks Dom Robinson. But i am confused. actually i have to open the attachment (ics) into google, outlook and yahoo calendar. i have a button in email Add to calendar. by clicking on specific option, icf should open in calendar. How can i give reference of that attached file to calendars. i am little bit confused. i don't want to download the ics.
– Zeeshan Ali
Nov 13 '18 at 13:18
1
1
ICS files are unstructured text files, so there is no in-built function to turn them into usable data (and back to ICS). But they are text files and do have set data field names (e.g. DTSTART). A very basic way is to upload the ics with cffile and use string search to find the data field names and values you need. You could also have a look at: github.com/dkimbell13/cf_ics_parser Writing an ICS is just like writing a text file, you just have to get the data field names right and and time/timezone values to match expectations.
– Dom Robinson
Nov 13 '18 at 12:28
ICS files are unstructured text files, so there is no in-built function to turn them into usable data (and back to ICS). But they are text files and do have set data field names (e.g. DTSTART). A very basic way is to upload the ics with cffile and use string search to find the data field names and values you need. You could also have a look at: github.com/dkimbell13/cf_ics_parser Writing an ICS is just like writing a text file, you just have to get the data field names right and and time/timezone values to match expectations.
– Dom Robinson
Nov 13 '18 at 12:28
thanks Dom Robinson. But i am confused. actually i have to open the attachment (ics) into google, outlook and yahoo calendar. i have a button in email Add to calendar. by clicking on specific option, icf should open in calendar. How can i give reference of that attached file to calendars. i am little bit confused. i don't want to download the ics.
– Zeeshan Ali
Nov 13 '18 at 13:18
thanks Dom Robinson. But i am confused. actually i have to open the attachment (ics) into google, outlook and yahoo calendar. i have a button in email Add to calendar. by clicking on specific option, icf should open in calendar. How can i give reference of that attached file to calendars. i am little bit confused. i don't want to download the ics.
– Zeeshan Ali
Nov 13 '18 at 13:18
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53279473%2fhow-to-extract-data-from-an-ics-file-by-colsfusion%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53279473%2fhow-to-extract-data-from-an-ics-file-by-colsfusion%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
ICS files are unstructured text files, so there is no in-built function to turn them into usable data (and back to ICS). But they are text files and do have set data field names (e.g. DTSTART). A very basic way is to upload the ics with cffile and use string search to find the data field names and values you need. You could also have a look at: github.com/dkimbell13/cf_ics_parser Writing an ICS is just like writing a text file, you just have to get the data field names right and and time/timezone values to match expectations.
– Dom Robinson
Nov 13 '18 at 12:28
thanks Dom Robinson. But i am confused. actually i have to open the attachment (ics) into google, outlook and yahoo calendar. i have a button in email Add to calendar. by clicking on specific option, icf should open in calendar. How can i give reference of that attached file to calendars. i am little bit confused. i don't want to download the ics.
– Zeeshan Ali
Nov 13 '18 at 13:18