Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | How to create a Desktop Alert SEARCH    

MioFactory

  TechNotes
Adding a Login feature
Get the real size of a web page
How to create a Business Card
How to create a Desktop Alert
How to create a Desktop Ticker
How to create a Scrolling Alert Software
How to create a Scrolling Ticker
How to create a simple RSS Reader
How to debug
LCD Monitor Chart: Screen Resolution, Size, Pitch, Display Area
Managing read marks
Measuring Elements in JavaScript
Media center remote control
Statistics: How to track users and actions
XML Configuration File Format

  Help
01. Introduction
02. Creating an application
03. Application Settings
04. Manipulating Files
05. Editing Code
06. MioFactory Installer
07. Publishing Applications

  Products
All Products
MioDB
MioFactory
Mioplanet Admin Panel

TechNote
How to create a Desktop Alert

Product: MioFactory


Creating a Desktop Alert

A Desktop Alert is a software that displays popup alerts when a new item is found in an RSS feed, or in an Alert feed.

For more information: Desktop Alert.

Creating a Desktop Alert

 
You can create a Desktop Alert application instantaneously with MioFactory:

Create a new project (File/New);

Choose the template Desktop Alert;

Select an empty folder (create it if necessary) where the application files will be stored;

Click Create.

You are ready to test your application with the default settings.
 

Customizing the Desktop Alert application

 
You can customize the application to feet your needs.

Customizing the Desktop Alert

Edit the XML configuration file to set the RSS feed source of the alerts, the content of the options menu, and much more: .
XML Configuration File Format

Replace the file alert_back.jpg to set the background image.

Edit the file alert.htm to change the fonts, colors, etc;

Replace the icon file app.ico, used for the shortcuts;

Replace the icon file statusIcon.ico, visible in the status bar (16x16 pixels icon).

Location of the XML configuration file

By default, this file is stored in the application itself, but you can put it on any HTTP server.
When your XML file is online, change the URL in the alert.htm file (SETTINGS_URL=...).
 

Advanced Features

 
With some JavaScript coding, you can add many features to your desktop alert application.
MioScript can also be used to accede to the whole capabilities of MioEngine.

Adding a Login feature

The Desktop Alert template uses JavaScript and MioScript libraries.
The libraries will help you to add advanced features such as an history of alerts, playing sounds when an alert is displayed, etc.

JavaScript libraries: alertEngineEx.js, xmlFeed.js, xmlSettings.js, optionsMenu.js