How to validate if ical ( iCalendar ) file is valid using javascript?

Is there any javascript library which I can use to validate if ical file is valid.

Below is invalid ical file content example

BEGIN:VCALENDAR
END:VCALENDAR

Looks like is not useful. Unable to invalidate above ical file.

There is no event. This is also failing with ( would like to see something like this )

0

1 Answer

You can try to use server-side validation by They have an option to show errors in JSON format from ical feed from URL

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like