Giter Site home page Giter Site logo

apple's Introduction

Setting up your source calendar

Calendar must not be set to "Share only my free/busy information (Hide details)"

See: Calendar Details > Sharing Settings.

We must fetch the public/full version of the calendar, which is not available when the "Share only my free/busy information (Hide details)" box is checked. We need this version because it has extra nodes.

We need to full version in order to get the event times, and getTimes returns nothing from a basic calendar.

Full

<entry>
  <id>http://www.google.com/calendar/feeds/vddp2rq2f0j1asv103n6jps2og%40group.calendar.google.com/public/full/suecdo65gq0jnoisoudem8oksg</id>
  <published>2012-01-21T23:47:13.000Z</published>
  <updated>2012-01-27T23:51:10.000Z</updated>
  <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/g/2005#event"/>
  <title type="text">Example busy days for single month</title>
  <content type="text"/>
  <link rel="alternate" type="text/html" href="https://www.google.com/calendar/event?eid=c3VlY2RvNjVncTBqbm9pc291ZGVtOG9rc2cgdmRkcDJycTJmMGoxYXN2MTAzbjZqcHMyb2dAZw" title="alternate"/>
  <link rel="self" type="application/atom+xml" href="https://www.google.com/calendar/feeds/vddp2rq2f0j1asv103n6jps2og%40group.calendar.google.com/public/full/suecdo65gq0jnoisoudem8oksg"/>
  <author>
    <name>full</name>
  </author>
  <gd:comments>
    <gd:feedLink href="https://www.google.com/calendar/feeds/vddp2rq2f0j1asv103n6jps2og%40group.calendar.google.com/public/full/suecdo65gq0jnoisoudem8oksg/comments"/>
  </gd:comments>
  <gd:eventStatus value="http://schemas.google.com/g/2005#event.confirmed"/>
  <gd:where valueString=""/>
  <gd:who email="[email protected]" rel="http://schemas.google.com/g/2005#event.organizer" valueString="[TEST] Split Apple Rock availability"/>
  <gd:when endTime="2012-01-01" startTime="2011-12-28"/>
  <gd:transparency value="http://schemas.google.com/g/2005#event.opaque"/>
  <gCal:anyoneCanAddSelf value="false"/>
  <gCal:guestsCanInviteOthers value="true"/>
  <gCal:guestsCanModify value="false"/>
  <gCal:guestsCanSeeGuests value="true"/>
  <gCal:sequence value="6"/>
  <gCal:uid value="[email protected]"/>
</entry>

Basic

<entry>
  <id>http://www.google.com/calendar/feeds/vddp2rq2f0j1asv103n6jps2og%40group.calendar.google.com/public/basic/suecdo65gq0jnoisoudem8oksg</id>
  <published>2012-01-21T23:47:13.000Z</published>
  <updated>2012-01-27T23:12:03.000Z</updated>
  <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/g/2005#event"/>
  <title type="html">busy</title>
  <summary type="html">When: Wed 28 Dec 2011 to Sat 31 Dec 2011&amp;nbsp;&lt;br&gt;</summary>
  <link rel="alternate" type="text/html" href="https://www.google.com/calendar/event?eid=c3VlY2RvNjVncTBqbm9pc291ZGVtOG9rc2cgdmRkcDJycTJmMGoxYXN2MTAzbjZqcHMyb2dAZw" title="alternate"/>
  <link rel="self" type="application/atom+xml" href="https://www.google.com/calendar/feeds/vddp2rq2f0j1asv103n6jps2og%40group.calendar.google.com/public/basic/suecdo65gq0jnoisoudem8oksg"/>
  <author>
    <name>[TEST] Split Apple Rock availability</name>
  </author>
</entry>

(So the times are not returned unless you do ask for public/full)

An event must be public, and you must set it to busy for it to show.

Deployment

Run rake deploy to deploy the differences between the current and and the revision specified in VERSION.

Run rake changes to print the list of changes.

Note: the deployment system only includes files in the public_html/ directory. Note: deployment is via FTP and requires you to provide your credentials in a yaml file called .ftp in the root directory. Use .ftp.example as a template.

Tips

To find out what methods a javscript object has, for example all its getters: var anyObject = "xxx";

for (var prop in anyObject) {
  if (prop.indexOf("get") != -1) console.log(prop);
}

apple's People

Contributors

ben-biddington avatar

Watchers

 avatar James Cloos avatar

apple's Issues

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.