Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick Add feature? #4

Closed
deanishe opened this issue Jan 30, 2018 · 9 comments
Closed

Quick Add feature? #4

deanishe opened this issue Jan 30, 2018 · 9 comments

Comments

@deanishe
Copy link
Owner

Add an action to create a new calendar event via text entry.

https://www.alfredforum.com/topic/11016-google-calendar-view/?tab=comments#comment-58329

@sundarv85
Copy link

Hi, Love viewing the calendar.. any timeline when adding also will be available @deanishe .. if available, this could be a replacement for fantastical 2 for me.

@deanishe
Copy link
Owner Author

Not really, tbh. It's a fairly simple feature (it'll just send your query straight to the Google Calendar webpage). It's mostly a question of when I get around to working on this workflow again.

@deanishe
Copy link
Owner Author

The URL in the above-linked thread doesn't work, and I can't find one that does.

An "Add Event" action is still possible in the workflow, but only a dumb "click here to go to the 'Create Event' page" one.

Does anyone know a Google Calendar URL that accepts a natural-language query for a new event, e.g. "dentist's at 9 on friday"?

@MrBeardedGuy
Copy link

MrBeardedGuy commented Jan 26, 2019

@deanishe just found this https://stackoverflow.com/questions/22757908/google-calendar-render-action-template-parameter-documentation

apparently it's something on these lines

action=TEMPLATE&
text=EventName&
dates=20131206T050000Z/20131208T060000Z
&location=EventLocation&
sprop=name:Name&
sprop=website:EventWebite&
details=EventDetail&
sf=true&
output=xml```

@deanishe
Copy link
Owner Author

Thanks @MrBeardedGuy, but that URL's not suitable, as it requires the start/end dates to be specified.

I'm looking for either an endpoint that supports a natural-language query or no parameters at all. I don't want to add a full "add event" interface to the workflow. I think it would be clunky trying to enter all the details in Alfred. (It'll already be somewhat clunky if you have multiple accounts set up.)

I also don't want to try and implement a natural-language parser myself.

@MrBeardedGuy
Copy link

Ahh to bad this would have been a great feature even with the URL.
Unfortunately Google Calendar removed the Natural language processing feature they had. https://www.howtogeek.com/338596/google-calendar-got-rid-of-its-best-feature-in-the-new-design/

@deanishe
Copy link
Owner Author

Oh, that sucks. Thanks for the info. The Calendar API doesn't have the feature, either.

I guess I can close this issue 🙁

@sundarv85
Copy link

Hi @deanishe Will integrating this parser help

https://github.com/olebedev/when

@deanishe
Copy link
Owner Author

Possibly. But the workflow was always intended to be essentially read only.

Adding an "Add Event" feature that just passes the input to a Google URL is a no-brainer: it's trivial to implement and any problems that arise are Google's fault, not mine.

I said earlier that I didn't want to try to implement natural-language parsing myself. It would be more accurate to say that I don't want to support (in the sense of "answer questions about and fix issues with") natural-language parsing.

It's not a feature I would personally use, and as such, I have little motivation to implement it and would have even less to maintain it.

If someone else submitted a PR for the feature and assumed responsibility for maintaining it, then sure.

But it's just not something I'm personally prepared to faff about with at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants