• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Calendar module - https URL

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 1.9k Views 1 Watching
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 Offline
    Tyvonne
    last edited by Jul 29, 2016, 10:57 AM

    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
    • K Offline
      KirAsh4 Moderator
      last edited by Jul 29, 2016, 4:14 PM

      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 Offline
        Tyvonne
        last edited by Aug 29, 2016, 10:02 AM

        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 Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy