A free social open sourced intranet based on Domino and XPages
| Make your Notes view columns responsive with Bootstrap in XPages
| Get Weather using Java agent
Attached you find a Domino database which fetch weather data (using json) from the swedish weather institute SMHI using a Java Agent.
You need to specify the latitude and longitude cordinates in the agent.
Image below show the collected data by date and time, for 11 day forecast, all the available parameters are included
All you have to do now is to create an xpage and display a "sun image" on the web if there are no clouds ;-)
Note: SMHI is for Swedish weather only, if you want weather for another part of the world you need to find another json api and modify the agent accordingly.
Click below to download
(See attached file: smhi.nsf)
Leave a comment below
|File Type||Size||File Name||Date|
||1 408 KB
| Quick Guide - Add your Domino Application to GitHub and prepare for source control
If you want to setup source control of your Domino application or simply share it with the world, here is a simple guide for how to upload your Domino application to GitHub
This guide will use sourcetree and put your Domino application on to GitHub, it will not teach you how to do source control and commit features and bugs
It is important to understand that there is no synch between DDE and sourcetree or between DDE and GitHub, Sourcetree is using your local disk to sync the ODP files to GitHub.
If you need to create a Domino application already on GitHub, instead use this guide
Create a new or use an existing Domino application
Create a folder structure for your git project and add a folder for your new app
this will be used for the git project files
Create another folder for your app
This folder will contain your nsf as text , also called ODP (on disc project)
Setup source control for your nsf, (will create the "On disk project" in your folder)
Give your new ODP a cool name, make sure you specify the location to the folder you created last
Your folder structure should now look like this
Open SourceTree and create a new repository
Make sure you choose the folder for the git files (not the ODP folder)
You folder structure should now look like this
Your "On disk project" is now seen in sourcetree, it is time to create your inital release (this will not upload to github)
Select all the files, enter a comment and click Commit
There should now be a master branch added to sourcetree
Initialize repository for Git Flow, Click "Git Flow" and accept the defaults
It should now look like this, two branches. "develop" and "master"
Login to GitHub and create a new Repository
Setup sourcetree to point to your repository on GitHub
Now it the time to push your master branch to GitHub
...and now we are ready, my Domino application is now in a repository on GitHub
Leave a comment below
| Quick guide for creating a Domino application from GitHub