Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | Admin Panel Configuration File: Channels SEARCH    

AdminPanel

  TechNotes
Admin Panel Configuration File: Account
Admin Panel Configuration File: Alerts
Admin Panel Configuration File: Channels
Admin Panel Configuration File: Servers
Admin Panel Configuration File: Software
Admin Panel Configuration File: Tasks
Admin Panel Installation Troubleshooting
Installing Admin Panel on a server
Where to host Mioplanet Admin Panel

  Help
01. Introduction
02. The tab Products
03. The tab Alerts
04. The tab Channels

  Products
All Products
MioDB
MioFactory
Mioplanet Admin Panel

TechNote
Admin Panel Configuration File: Channels

Product: Admin Panel


A channel is an RSS compliant XML feed to publish news to desktop software or an AJAX like applications.

Settings are set in a .mem files stored on the server in panel/config/channels.

Possibles keys:
 
server
Valid ID of a server defined in panel/config/servers.

file
Path and filename of the XML document, relative to the path set in the server configuration file.
Set clientSideURL if the URL to the file is not the same client-side and server-side.

clientSideURL
Optional.
Path to the XML file to be used from the client application.
If not specified, the same location is used from the server and from the client (file parameter).
For a local path or for a path to a file server, please use double all the backslash characters.
 


Extra Features
 
Warning: Enabling one of the following features will make the RSS feed non-compliant with the RSS format.
You should use those extra features only with applications designed to use them.

schedule
Syntax: schedule=scheduleEnabled, startDateEnabled, endDateEnabled, repeatEnabled
Set scheduleEnabled to true for scheduling support, falseSet startDateEnabled to true so a start date can be set to delay an alert.
Set endDateEnabled to true so an end date can be set to disable the alert.
Set repeatEnabled to true so the alerts can be repeated.

defaultTimeZone
Default timezone to be used for scheduling.
Can be local or GMT.
Default value is GMT.

defaultExpirationHours
Number of hours an alert remains active when schedule is enabled.
This default value can be changed for each alert.
24 = 1 day
168 = 1 week
NEXT_YEAR = 1 year
 




Sample Code

server=MySERVER
file=channels/myRSSfeed.xml