Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Create web pages using programs (Requires Network Module)

Featured Replies

Posted

This is a repost of the instructions for logging information using programs ...

 

We added an enhancement to the networking module that allows you to update files in /user/web when sending a notification from programs. This allows you to make custom HTML files, XML files, or do some custom logging to that directory.

The interface requires the direct use of keywords, although at some point we may make a more user friendly version in the GUI. When creating a custom notification, do the following:

  • Start the subject with @webpage:
  • Optionally add @append: or @delete, nothing specified means create or overwrite the file
  • Supply the relative file path to /user/web, e.g. specify myDir/hi.htm for /user/web/myDir/hi.htm
  • You may update multiple files by supplying multiple @webpage:... entries separated by a space
  • Add an actual e-mail subject if this is to be e-mailed as well.
  • NOTE: You can fully use substitution variables to create the subject, allowing file names based on a variable for example.
  • NOTE: File names are limited to the 8.3 format

Examples:
// Send notification with subject "My Status" (no file created)
Subject: My Status

// Create file /user/web/mydir/status.htm whose content is the body of this notification
// Send e-mail notification with subject "My Status"
Subject: @webpage:myDir/status.htm My Status

// Create file /user/web/mydir/status.htm whose content is the body of this notification (no e-mail notification sent out)
Subject: @webpage:myDir/status.htm

// Append body of this message to file /user/web/mydir/status.htm
Subject: @webpage:@append:/mydir/status.htm

// Create file with name based on the value of a variable (e.g. if the variable=24, then file is /user/web/mydir/file24.txt)
Subject: @webpage:/mydir/file${var.1.1}.txt

// Delete a file
Subject: @webpage:@delete:/mydir/status.htm

// - Create file /user/web/mydir/status.htm whose content is the body of this notification
// - Append the content to /user/web/mydir/log.htm
Subject: @webpage:mydir/status.htm @webpage:@append:mydir/log.htm 

Nice. Very nice.

 

I'm Gary Funk and I approved this message.

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.