MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Calendar module - https URL

    Troubleshooting
    2
    3
    1654
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tyvonne last edited by

      Hi all,

      A question about URL integration for calendar module, I add my personnal google calendar in Config.js file. URL starts with ‘https://calendar.google.com…’.
      By replacing all URL setting value it works well but I don’t understand why sample is defined by ‘webcal://’ and replaced in calendar parser after : “calendar.url = calendar.url.replace(“webcal://”, “http://”);”?
      Is this replace have mandatory reasons?

      Thanks for your answer and for your work !
      Tyvonne

      1 Reply Last reply Reply Quote 0
      • KirAsh4
        KirAsh4 Moderator last edited by

        The webcall:// protocol triggers an external handler to handle the information (such as iCal), whereas the http:// (or https://) handler will simply download the .ics file, which is what we need to then process.

        A Life? Cool! Where can I download one of those from?

        1 Reply Last reply Reply Quote 0
        • T
          Tyvonne last edited by

          Hi,

          Coming back from holidays, thanks a lot for your answer!
          If I understand well, by using “webcall” I’m not going to download .ics file but just parse it. And by using “https” I’m going to download file and parse local file. Question is, how this downloaded file is managed? Where is it? How many space of all version of this file will be used?

          I think I’ll try to come back to the external handler by modifying .replace function…
          I’m coming back if necessary, thanks again.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy