I would like to give users of my website the opportunity to export their calendar, but I'm not sure how to do this.
I have read about two differents way, .ics file and webcal.
.ics file, this file they have to download (does it work on mobiledevices)?
webcal, i saw on another website that I could subscribe to an url with webcal:// and then get the calendar informations.
I have tried to read on it on this forum and google it, and found out that I could use a tool like http://www.davical.org/, but it seems quite hard, so I don't know if I understands it right?
I had hoped there was a way to just do it yourself in php, and then offer the users the webcal:// address, but maybe it is a way bigger task?
Edit If the users of the calendar only have to have read access when they subscribes to the webcal, can you then just do it like this? - a href="webcal://calendar.ics">webcal ics link/a?
Hopes someone can make it more clear for me:-)
Thanks, Andreas
It seems like that I can just make a .ics file like this in this tutorial - https://gist.github.com/jakebellacera/635416. And then i can call this .ics file like this.
calendar
I dont know if it's the right way to do it, but it seems like it works for me.
yep your webcal link will work, but be aware that webcal is not an officially supported URI, so your mileage will vary. In particular, it doesn't work on Android phones.
Related
I am using wordpress site and sending user to open a particular chat on whatsapp. Its working fine in case of simple text send like this:
Chat
But i want to let the users to open a particular contact. I have seen this functionality in iOS but dont know weather its also applicable in php or not. Here is the code i am trying:
Chat
There are the links that i found for help:
https://www.macstories.net/tutorials/use-whatsapps-url-scheme-with-drafts-launch-center-pro-or-a-bookmarklet/
http://www.technetexperts.com/mobile/interact-with-whatsapp-from-ios-application/
What you are mentioning is NOT dealing with PHP, since PHP is a server-side language and you are only dealing with HTML (client-side).
Nevertheless, that being said, you should better use the official solution that replaces ABID need. I've mentioned it and another schema solution that also seems to be working (july 2017) in THIS OTHER ANSWER (because S.O. policies I had to put a link to the solution, no duplicates).
I'm looking for a way to create a QR Code and a shortened link when a form is submitted. I have the QR Code bit, but the link is too long for me and the QR Code looks scary and complicated. The way it works is; the user types in (in this instance) a contract number. Then, a folder is created on the server of that contract number. (www.mysite.com/QR/$contractnumber). Then, using PHP again, I create a QR Code through Google because I know that every QR code will be linking to the same place, just a different ending of the link. The only bit that changes is the $POST...
I was wondering if there was a way to shorten the link before it goes to Google? It would have to be through php. The user enters the contact number in the form, then that number(usually around 5/6 digits) will be entered into a already existing command? I'm not an expert in anything, I just know some really random snippets of code... And HTML and CSS, of course.
Any help would be appreciated and judging by the few days I have been searching this, I think it might help a few people in the future. I would also like to confirm that the solution can't be one of this visual URLShorteners. If it is, it just needs to be the back-end of it, built into a existing form and QR Generator. Simple?
We had a similar challenge with one of our internal apps, and since any shortcut system (that I know of) relies on a database to translate what the short url really means , we opted to start our work from something that had already been done, rather than re-invent the wheel and based our solution on yourls.org.
We installed that, and populated the database from within our PHP, not really using the provided interface for anything except testing and it's statistics. It's reasonably flexible, and while it does need some standards improvement, the core code that we were interested in (as you would be) was sound, and worked very well for us.
It sounds like you might be able to use the TagLabs solution. Check out the developer site; developer.taglabsinc.com and create a free account at portal.taglabsinc.com. The platform will create the QR Code and shortened url. You can manually create the QR Codes or leverage the API.
For what it's worth, that's exactly what a.zat.is for. Disclaimer: I made it.
I came across EtherPad but found out shortly afterwards that it has been shelved by Google.
Is there something else that I could use that allows people to collaborate on an online document? It must have version control.
Should I redevelop something instead?
Andre
Try Etherpad Lite, its much leighter than the original Etherpad
TypeWithMe is a slightly modified version of Etherpad. It's pretty darn good. Oh but, you need to view the document every once in a while or itll get wiped.
I'd recommend Google Docs. You can create new, upload existing, and collaborate online on files like documents, spreadsheets, presentations and drawings. Take a look at their Youtube page for a demonstration.
It seems like MobWrite http://code.google.com/p/google-mobwrite/ is a good solution. Just wish it had the versioning information etc that EtherPad had. Does anyone agree or have something better to embed in a PHP and mySQL website?
EtherPad is still available for buidling and deploying and it even have some seldom commits. If you want to use as an user, there are a few deployments of Etherpad (or perhaps modified versions of it) such as:
PiratePad
MoPad
Besides that, there is a quite comprehensive list of possibilities in this wikipedia entry for collaborative text editing software
I'm thinking that someone might of already solved this problem. I tried to look at the Spreadsheets API and there's no mention of being able to download the file. cURL might be an option but I'd rather not get into the hassle of authenticating / POSTing manually.
You can take a look at Dynamic FAQ Section w/ jQuery, YQL & Google Docsif you want something like this.
This should help you out: http://code.google.com/apis/spreadsheets/data/1.0/developers_guide_php.html
Although C# this will help too: How to download Google SpreadSheets using C#?
I'm writing a ticket-shop-system atm for reserving tickets for various concerts.
What I have is a php-backend and a webpage that shows a .swf with some actionsscript-3 code in it, to draw in flash some sort of map and make available seats clickable for the end-user.
The problem with this solution is, that there are quite large halls and just making the seats smaller isn't the right solution.
My next idea was to make a google-maps-like interface, so that users can pan and zoom and things like that. But I can't find any information about doing something like this, whether it'll be flash or javascript or something else...
I would appreciate any information regarding this topic!
Thanks in advance!
Google maps allows you to use their system and provide your own custom map too, so you can overlay your seating chart and nothing else. You can read the documentation here.
There's a sample pan-zoom flex application you might find helpful:
Source Code for Pan-Zoom Flex Map.
Hope that's helpful.
Take a look at Seadragon (http://seadragon.com). Might be an interesting way to expose the functionality.