How to extract data from Google Calendar and show in plain text - text

I would like to extract the data and event name from a google calendar then show it as plain text. When ever the calendar is updated I would like the text to reflect this. It will be a part of a web site that I am working on.
What would be a good way to go about this?

The GData apis are what you're looking for. There are APIs for .NET, PHP, and Java at least (having used all, they are all fine)[1]. I have used the Zend Framework's implementation [2] to great success making a timeclock application totaling the hours the members in our organization recorded on their Google calendars, and the .NET framework is just as good. For a website, this is the way to go.
There is also a nifty command line tool, though I have not has as much success with it (Both *nix and Windows command line, though of course you'll have much more processing power in *nix ;))
[1] http://code.google.com/apis/gdata/docs/client-libraries.html
[2] http://framework.zend.com/manual/en/zend.gdata.html
[3] http://code.google.com/p/googlecl/
[Edit]
The project I mentioned for building a timeclock is available at http://code.google.com/p/gcaltimeclock/
The files you are probably most interested in are http://code.google.com/p/gcaltimeclock/source/browse/application/controllers/calendars.php and http://code.google.com/p/gcaltimeclock/source/browse/application/views/calendars/timesheets.php

Related

What is the state of generating Word documents in 2021? (Language agnostic)

Okay, so this is a pretty generic and vague question, so please let me elaborate.
We have a large codebase which we are splitting up the past years to more individual self-contained libraries.
One of the larger and more unwieldy parts is our Word export module. It uses docx4j currently, however we run into memory issues with large exports with a lot of pictures. Besides that, it is pretty difficult to update the exporter due to changes in our domain model.
It has been a while since someone worked on it (like years...) so I took it upon myself to investigate the state of generating Word documents in 2021. I hoped a lot had changed, but some Google searches let me to posts of 2010, and libraries of 2012. Of course, it can be the case that a library of 2012 means it is just that good.
I have identified the following solutions, though I am probably missing a lot:
Docx4j (JVM), still maintained, we run into memory problems with that.
Docx4j with Content Control Data Binding. Seems to be some way to use templating?
Apache POI (JVM), have some okay experience with the Excel part, no experience with the Word part. The 'consensus' online appears to be that Docx4j is more user-friendly.
JasperReports. Don't know anything about that.
DocX, .NET library, no experience.
Office Add-In using Office.js (JS). Official API from Microsoft. Runs at client in Word, so required connection to an API.
docxtemplates (Node / Browser). No experience. Looks complete, don't know about performance though.
officegen (Node). Last release 2019.
Carbone (node). https://github.com/Ideolys/carbone. No experience also.
probably more...
So, as expected a lot of libraries in JS popping up as well.
Looking at my requirements:
using a template would be nice
running it as a service would be nice
efficient (memory wise, don't mind if it takes some time to generate)
We have quite a good JSON API available, which is very easy to maintain and maps pretty good to our domain model. My preference would be to use that as a source of course.
what are peoples experiences and/or am I missing some very good libraries out there?

Create website which has usefull information like videos, third party API for live information on education

I want to create a website which consists of videos which will be uploaded by the admin and many useful information which all will be uploaded by an admin.
I have got the domain name, remote LAMP server.
I have gone through many tutorials and I tired creating using Drupal 8. Website was fine but while creating a new existing module the whole thing got crashed and I don't want to goback and recover it since it is a big mess.
So I want to try from first keeping it very simple.
Kindly guide me to achieve this. I will put all my effort to learn it.
Any help any documents which will help me to create will be greatly accepted.
I am beginner in C++, html. Can you guys let me know how can I achieve in creating a website.
You can find your answer here on your own:
So there are various languages that are being used in the web that perform various purposed and hence you can choose what functionality do you need in your website and according to that you can write the code in that language.
Lets take a quick look at some of the most widely used languages of the web:
1: HTML
This is a Markup Language which can be used basically just for writing the content and displaying on your webpage. You can create too many pages and link them to form a website.
2: CSS
This language helps you design your webpage and thus makes your webpage look way too better. A site only written in html in not preferrable.
3: JavaScript
This language is a scripting language that helps you do various cool stuff like handling input events (like click, hover,etc), change the content of your webpage dynamically, bring popups , etc.
4: PHP
This scripting language is also being widely used as this lets you work with the forms and submit to a database. In fact, if you learn this language you can write the logic behind your own facebook and you can give it a face using HTML, CSS.
Once you are done learning all these languages, you can now learn some of the cool libraries like:
Bootstrap (for css, js)
Jquery (Javascript)

2 people working on 1 HTML file simultaneously

My freind and I want to setup a collaborative project where we both work on a HTML file (and do PHP) at the same time (bit like Google Docs share feature). I want to be able to work with him to teach him certain things in PHP and HTML while I also code at the same time. Any suggestions? I have a VPS I thought we could use for it so nothings really going to get in our way. Maybe something like GIT or something?
Sounds like what you need is a real-time collaborative text editor. Here's an extensive list from wikipedia.
I use Google Docs personally but Microsoft has added this type of functionality into Office and there are a slew of desktop and online tools on that link. I had looked into Etherpad before but i don't remember enough to suggest one or the other. All of the links are on the wikipedia article so I won't repeat here.

Automatically create GMail filters based on externally hosted word list

I'd like to easily import a word list, hosted on Github, to GMail as archive filters. Then later re-run this process to update the list.
The goal is to provide blacklists against common known Finnish spammers.
Possible options I have considered
Bookmarklet
Using GMail API
Creating GMail Labs extension (or whatever they are called)
What kind API options I have for maintaining GMail filter list? Programming language does not matter.
Optionally this would be a single click / single command operation e.g. from terminal or browser bookmark.
Today I was curious about this myself, although for a different reason... I found this info and thought I'd risk a bit of necromancy :)
You should take a look at Gmail settings API - filters
There is a Java wrapper

How to build an shipable, "local", branded mini-browser

Since I don't really have a good idea for word to search with myself I’d like to ask you:
Is there some project, technology, w/e that enables you to build a 'browser' with a very slim ui. Just some CI and a customised "starting page".
I'm thinking of something like the Webkit engine (and interface) Valve/Steam uses for it's clients store page.
In what direction should I search for something like that ? How would one start implement something like that ?
Answers to questions:
We need this to provide something like a "Kiosk" application (for touchscreens) and shippable to our Customers. Running a browser in "full screen" is a temporary solution.
As of Platforms: Windows is absolutely sufficient for now, but Mac/Linux wouldn't hurt.
Prism looks nice so far but lacks the "shippable" part, e.g. I see no way of packaging it.
Take a look at Mozilla Prism. It's a "UI-Less" version of the Mozilla/Gecko rendering engine aimed at deploying web apps on the Desktop. It's also multi-platform. It might be fairly close to what you need, with comparably little work.
WebKit has bindings for many languages, is cross-platform, and is full-featured as a HTML engine. A bit of work capturing signals and calling functions will make it into any kind of web browser you like.
You could use Adobe Air, follow this tutorial and include your website within an iframe. That would allow you to build an executable you can ship to your customer.
Various graphics toolkit libraries contain some components which can display a limited amount of HTML. I've seen this in qt (a C++ GUI library) and in Java Swing, and have indeed built a tiny "browser" in Java within a couple of hours. Java Swing lets you attach a link listener so links can be made clickable and thereby jump to different URLs. Thus, my application could be made to work as a very limited browser.
This approach lets you display text, images and links; in the case of Java, there's even fairly good support for CSS styling. However, there's no simple way to make buttons and form fields work, and of course no support for manipulating the DOM or anything else done in JavaScript.

Resources