Giter VIP home page Giter VIP logo

javascript-ical-parser's Introduction

Hello world

javascript-ical-parser's People

Contributors

thybag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

javascript-ical-parser's Issues

Homeaway and other .ics formats

This struggled with processing the .ics from homeaway.com.

Their format is:

    BEGIN:VEVENT
    UID:2739f1fd-dbb7-40f8-bf3c-a23ffcc30ae2
    DTSTAMP:20180625T100336Z
    DTSTART;VALUE=DATE:20160124
    DTEND;VALUE=DATE:20160224
    SUMMARY:Reserved  - Rennovations 3
    END:VEVENT

I've made it work on my local copy, but being able to strip off the ;value=date or to be able to process other value types might be useful if you do an update.

Anyway - thanks for this!

Variables not set

Hi,
Great job on the parser algorithm. There is a small issue in the code with regards to setting dates for DTSTART and DTEND objects. The logic is doing a comparison to the string but the string does not return a match because DTSTART & DTEND are present as a substring with other characters. It could very well be that the ics file i am using is slightly off the standard format. By using indexof instead of a perfect match comparison (==) the code worked like a charm.

OLD -
if(type == 'DTEND')

NEW -
if(type.indexOf('DTEND') != -1 ){

Thanks

License

Could you specify the License for this code? Because I'm not sure could I use the code in my project. Thx

Apple iCalendar compatibility

Hi Carl,

Unfortunately I can't get any output when I am using Apple iCalendar's .ics file. Do you have any time check it? I know that this is an old project, but it would be good to get it to work.

Regards,
Adrian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.