This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
Web Server - Share Knowledge / Created an CSS and JS Minfier/gZipper
« on: August 03, 2023, 08:30:06 AM »2
Web Server - Share Knowledge / Finally - Push Notifications for iOS Safari
« on: March 29, 2023, 03:37:15 AM »
iOS 16.4 Updates
This update includes the following enhancements and bug fixes:
* 21 new emoji including animals, hand gestures, and objects are now available in emoji keyboard
* Notifications for web apps added to the Home Screen
* Voice Isolation for cellular calls prioritizes your voice and blocks out ambient noise around you
* Duplicates album in Photos expands support to detect duplicate photos and videos in an iCloud Shared Photo Library
* VoiceOver support for maps in the Weather app
* Accessibility setting to automatically dim video when flashes of light or strobe effects are detected
* Fixes an issue where Ask to Buy requests from children may fail to appear on the parent's device
* Addresses issues where Matter-compatible thermostats could become unresponsive when paired to Apple Home
* Crash Detection optimizations on iPhone 14 and iPhone 14 Pro models
This update includes the following enhancements and bug fixes:
* 21 new emoji including animals, hand gestures, and objects are now available in emoji keyboard
* Notifications for web apps added to the Home Screen
* Voice Isolation for cellular calls prioritizes your voice and blocks out ambient noise around you
* Duplicates album in Photos expands support to detect duplicate photos and videos in an iCloud Shared Photo Library
* VoiceOver support for maps in the Weather app
* Accessibility setting to automatically dim video when flashes of light or strobe effects are detected
* Fixes an issue where Ask to Buy requests from children may fail to appear on the parent's device
* Addresses issues where Matter-compatible thermostats could become unresponsive when paired to Apple Home
* Crash Detection optimizations on iPhone 14 and iPhone 14 Pro models
3
Web Server - Share Knowledge / File Upload Example Showing Upload Events via Javascript
« on: July 17, 2022, 01:13:23 PM »
Modified NetTalk File Upload example application demonstrating the use of Javascript to capture upload events.
Also shows how OpenCV.js can be used to perform client side image modifications.
https://drive.google.com/file/d/1uEPSLrt5I1Vq6_LaxND8B-KorE3ACcBU/view?usp=sharing
Hope you find this useful.
Also shows how OpenCV.js can be used to perform client side image modifications.
https://drive.google.com/file/d/1uEPSLrt5I1Vq6_LaxND8B-KorE3ACcBU/view?usp=sharing
Hope you find this useful.
4
Web Server - Share Knowledge / SVG-CSS Utility
« on: June 16, 2022, 02:33:23 PM »
Hello Everyone,
Bruce demonstrated a long time ago a way to use CSS to reference embedded images in an SVG file. Then use the CSS to display icons in a NetTalk web application.
Instead of manually creating the CSS file, I put together a small app to assist in creating the file.
It's nothing spectacular but maybe someone can find it useful.
Have a great day!
https://github.com/donridley1972/SVG-CSS-Utility
Bruce demonstrated a long time ago a way to use CSS to reference embedded images in an SVG file. Then use the CSS to display icons in a NetTalk web application.
Instead of manually creating the CSS file, I put together a small app to assist in creating the file.
It's nothing spectacular but maybe someone can find it useful.
Have a great day!
https://github.com/donridley1972/SVG-CSS-Utility
5
Web Server - Share Knowledge / Example NetTalk Web App with Dynamic Chart
« on: January 14, 2022, 09:21:49 AM »6
Web Server - Share Knowledge / Demo of Button in Browse Header along with a Modified Menu
« on: November 07, 2020, 09:17:03 AM »
You will have to modify line 3332 of NetWeb.clw and add orof 'button' to allow a button to exist in the header.
You can see a demo of it here:
https://testserver.leoscript.com
Login is demo and demo
Be sure to put the site in “mobile” mode and check out the menu.
You can see a demo of it here:
https://testserver.leoscript.com
Login is demo and demo
Be sure to put the site in “mobile” mode and check out the menu.
7
Web Server - Ask For Help / If You're Getting Compile Error Unresolved External NetSignToken in NetHttp.obj
« on: September 20, 2019, 04:16:21 AM »
Options:
Try compiling in DLL mode vs LIB mode under project properties.
or
Comment out this line in NetHttp.clw in the NetWebHttp.CreateAuthorizationStringVapid method:
Sig.SetValue(NetSignToken(jwtInfo.GetValue(),jwtData.GetValue(),PrivateKey.GetValue()))
Try compiling in DLL mode vs LIB mode under project properties.
or
Comment out this line in NetHttp.clw in the NetWebHttp.CreateAuthorizationStringVapid method:
Sig.SetValue(NetSignToken(jwtInfo.GetValue(),jwtData.GetValue(),PrivateKey.GetValue()))
8
Web Server - Share Knowledge / JavaScript to Clarion Date/Time Functions
« on: June 27, 2019, 08:36:09 AM »
I thought I would share these with anyone who is interested. Big thank you to Bruce for giving me a few clues. Also, thanks to Steve Parker for sharing some of his date/time methods with me (converted to JavaScript). I am no JS expert so feel free to modify or fix as needed.
function getClarionTime(clariontime) {
var d = new Date(),
clariontime = parseInt((d.getTime() - d.setHours(0,0,0,0)) / 10)
return clariontime;
}
function getClarionDate(clariondate) {
thisdate = new Date();
day = thisdate.getDay();
month = thisdate.getMonth()+1;
year = thisdate.getYear();
date = Date(year,month,day);
clariondate = parseInt(((Date.parse(date) / 86400) / 1000) + 61730);
return clariondate;
}
function createStarDate(date,time,stardate) {
//needs to be Clarion Date/Time
stardate = date + (time / 8640000)
return stardate;
}
function createRbnFromDateTime(date,time,rbn) {
//needs to be Clarion Date/Time
rbn = parseInt(time + (date * 8640000))
return rbn;
}
Don
function getClarionTime(clariontime) {
var d = new Date(),
clariontime = parseInt((d.getTime() - d.setHours(0,0,0,0)) / 10)
return clariontime;
}
function getClarionDate(clariondate) {
thisdate = new Date();
day = thisdate.getDay();
month = thisdate.getMonth()+1;
year = thisdate.getYear();
date = Date(year,month,day);
clariondate = parseInt(((Date.parse(date) / 86400) / 1000) + 61730);
return clariondate;
}
function createStarDate(date,time,stardate) {
//needs to be Clarion Date/Time
stardate = date + (time / 8640000)
return stardate;
}
function createRbnFromDateTime(date,time,rbn) {
//needs to be Clarion Date/Time
rbn = parseInt(time + (date * 8640000))
return rbn;
}
Don
9
Web Server - Share Knowledge / NetTalk and OnsenUI Example
« on: April 08, 2019, 05:05:31 AM »
Thought y'all might like this.
UPDATE:
If you want to play around with different OnsenUI elements, check out the following link. Select an element from the drop down.
https://onsen.io/playground/
Example app:
Clarion 11.0.13401
NT 11.07
StringTheory 3.06
Don
UPDATE:
If you want to play around with different OnsenUI elements, check out the following link. Select an element from the drop down.
https://onsen.io/playground/
Example app:
Clarion 11.0.13401
NT 11.07
StringTheory 3.06
Don
10
Web Server - Share Knowledge / Get data from your NetTalk server - It's in the doc's! - An API FYI
« on: January 14, 2019, 03:34:26 AM »
Hello All,
Those who have been using NetTalk's API functionality are probably aware of what I am about to describe. However, for those new to NetTalk or new to using API's, this post is for you.
We often find ourselves in the position of developing an application needing access to data on a web server. The application could be a desktop, mobile, or web based app. One reaches a point in the development process where you need to contruct a request for that data. The request could be SOAP, REST, Javascript, or using a NetWebClient. If you're new to this, you may not know how to construct these requests. Enter the NetTalk API server's auto generated documentation.
If your follow the documentation for creating a NetTalk API server you can easily create this ability in just a few minutes. The NetTalk NetWebService/NetWebServiceMethod templates automatically create documentation for your API requests. This documentation is easily accessed via a URL.
Here's some examples from my NetTalk API server:
A Javascript POST request with JSON response:
function syncdevicelocations_getjson(host,urldata,result){
fetch(host + "/syncdevicelocations" +"?" + urldata, {
credentials: "include",
headers: {
"Accept": "application/json;",
}
}).then(function(response){ // get the text out of the reply
return response.text()
}).then( function(text){
// do something with the text reply
})
}
var host = "https://xxxx.xxxxxxxxxxx.com"
Same request using NetWebClient:
net.ContentType = 'application/json'
net.SetAccept('application/json')
net.Post('https://xxxxxx.xxxxxxxxx.com/syncdevicelocations',jsonData)
My point is that you don't have to guess as to how to construct your request. NetTalk tells you how to construct it! That pretty darn cool in my book!
As I said, many are familiar with this, but hopfully this will save some time and headaches for the API newbies.
Take care and have fun with your NetTalk API server!
Don
Those who have been using NetTalk's API functionality are probably aware of what I am about to describe. However, for those new to NetTalk or new to using API's, this post is for you.
We often find ourselves in the position of developing an application needing access to data on a web server. The application could be a desktop, mobile, or web based app. One reaches a point in the development process where you need to contruct a request for that data. The request could be SOAP, REST, Javascript, or using a NetWebClient. If you're new to this, you may not know how to construct these requests. Enter the NetTalk API server's auto generated documentation.
If your follow the documentation for creating a NetTalk API server you can easily create this ability in just a few minutes. The NetTalk NetWebService/NetWebServiceMethod templates automatically create documentation for your API requests. This documentation is easily accessed via a URL.
Here's some examples from my NetTalk API server:
A Javascript POST request with JSON response:
function syncdevicelocations_getjson(host,urldata,result){
fetch(host + "/syncdevicelocations" +"?" + urldata, {
credentials: "include",
headers: {
"Accept": "application/json;",
}
}).then(function(response){ // get the text out of the reply
return response.text()
}).then( function(text){
// do something with the text reply
})
}
var host = "https://xxxx.xxxxxxxxxxx.com"
Same request using NetWebClient:
net.ContentType = 'application/json'
net.SetAccept('application/json')
net.Post('https://xxxxxx.xxxxxxxxx.com/syncdevicelocations',jsonData)
My point is that you don't have to guess as to how to construct your request. NetTalk tells you how to construct it! That pretty darn cool in my book!
As I said, many are familiar with this, but hopfully this will save some time and headaches for the API newbies.
Take care and have fun with your NetTalk API server!
Don
12
Web Server - Share Knowledge / Reponsive NT WebServer App with "Hamburger" Menu Item
« on: September 08, 2018, 01:59:07 AM »
Example app attached.
NT10
NT10
13
Web Server - Share Knowledge / Good YouTube Video Explaining Progressive Web Apps
« on: September 03, 2018, 04:45:49 AM »14
Web Server - Ask For Help / Disconnected Mobile PhoneGap App Not Getting Data From Server
« on: July 01, 2018, 08:05:52 AM »
Hello All,
I have been attempting to create a disconnected mobile app.
mBuild works great. PhoneGap works great. The app installs to my iPhone 7 quite easily. App runs on my phone with no issues except...
I can enter data in my phone and the data arrives at my server fine.
Data entered server side does not arrive at my phone.
The apps are wizarded apps.
This is not a showstopper issue. Just testing and learning.
I'm about 80% sure I'm doing something wrong but I have tried everything I can think of.
Any input would be appreciated,
Don
I have been attempting to create a disconnected mobile app.
mBuild works great. PhoneGap works great. The app installs to my iPhone 7 quite easily. App runs on my phone with no issues except...
I can enter data in my phone and the data arrives at my server fine.
Data entered server side does not arrive at my phone.
The apps are wizarded apps.
This is not a showstopper issue. Just testing and learning.
I'm about 80% sure I'm doing something wrong but I have tried everything I can think of.
Any input would be appreciated,
Don
15
Web Server - Share Knowledge / mBuild - Apple - Adobe PhoneGap Automatice Certificate Generator App
« on: May 17, 2018, 08:35:48 AM »
As mentioned in NetTalk User Group webinar on 5/17/2018.
I threw this app together the morning of the webinar so it may be a little rough around the edges.
ZIP file attached.
NetTalk 10.21
String Theory
Hyperactive
I threw this app together the morning of the webinar so it may be a little rough around the edges.
ZIP file attached.
NetTalk 10.21
String Theory
Hyperactive