| id | Comma-separated list of channel ID's. Use * to return all channels. |
| name (n) | Comma-separated list of channel names. Use * to return all channels. Enable the regex switch to use regular expressions. |
| filter | Comma-separated list of channel filter names. Enable the regex switch to use regular expressions. |
| regex (re) | Flags if channel names and channel filter names should be interpreted as regular expressions. Special characters such as , and & can be hex-encoded e.g. \x2C or \x26 respectively). |
| folderId | Comma-separated list of channel folder ID's. |
| folderName | Comma-separated list of channel folder names. |
| subFolders | Flags if channels in sub-folders of a targeted folder should be returned. Only applies to the folderId and folderName parameters. |
| verbose (v) | Flags if verbose information should be returned about each channel. |
| id | Channel ID. |
| name (n) | Channel name. Enable the regex switch to use regular expressions. |
| filter | Comma-separated list of channel filter names. Enable the regex switch to use regular expressions. |
| regex (re) | Flags if channel names and channel filter names should be interpreted as regular expressions. Special characters such as , and & can be hex-encoded e.g. \x2C or \x26 respectively). |
| showFeedItemsMode (sfim) | Controls which feed items will be shown (default|all|unread|new). |
| showFeedItemsWindow (sfiw) | Controls how many feed items will be shown (positive values are the number of days to go back, negative values are the number of feed items, 0 means "default"). |
| feedItemDescriptionFormat (fidf) | Controls the presentation of feed item content (default|full|excerpt|plainText). |
| id | Comma-separated list of channel ID's. Use * to open all channels. |
| name (n) | Comma-separated list of channel names. Use * to open all channels. Enable the regex switch to use regular expressions. |
| filter | Comma-separated list of channel filter names. Enable the regex switch to use regular expressions. |
| regex (re) | Flags if channel names and channel filter names should be interpreted as regular expressions. Special characters such as , and & can be hex-encoded e.g. \x2C or \x26 respectively). |
| folderId | Comma-separated list of channel folder ID's. |
| folderName | Comma-separated list of channel folder names. |
| subFolders | Flags if channels in sub-folders of a targeted folder should be returned. Only applies to the folderId and folderName parameters. |
| id | Comma-separated list of channel ID's. Use * to update all channels. |
| name (n) | Comma-separated list of channel names. Use * to update all channels. Enable the regex switch to use regular expressions. |
| filter | Comma-separated list of channel filter names. Enable the regex switch to use regular expressions. |
| regex (re) | Flags if channel names and channel filter names should be interpreted as regular expressions. Special characters such as , and & can be hex-encoded e.g. \x2C or \x26 respectively). |
| folderId | Comma-separated list of channel folder ID's. |
| folderName | Comma-separated list of channel folder names. |
| subFolders | Flags if channels in sub-folders of a targeted folder should be returned. Only applies to the folderId and folderName parameters. |
| id | Comma-separated list of channel ID's. Use * to delete all channels. |
| name (n) | Comma-separated list of channel names. Use * to delete all channels. Enable the regex switch to use regular expressions. |
| filter | Comma-separated list of channel filter names. Enable the regex switch to use regular expressions. |
| regex (re) | Flags if channel names and channel filter names should be interpreted as regular expressions. Special characters such as , and & can be hex-encoded e.g. \x2C or \x26 respectively). |
| folderId | Comma-separated list of channel folder ID's. |
| folderName | Comma-separated list of channel folder names. |
| subFolders | Flags if channels in sub-folders of a targeted folder should be returned. Only applies to the folderId and folderName parameters. |
| id | Comma-separated list of channel ID's. Use * to get the error log for all channels. |
| name (n) | Comma-separated list of channel names. Use * to get the error log all channels. Enable the regex switch to use regular expressions. |
| filter | Comma-separated list of channel filter names. Enable the regex switch to use regular expressions. |
| regex (re) | Flags if channel names and channel filter names should be interpreted as regular expressions. Special characters such as , and & can be hex-encoded e.g. \x2C or \x26 respectively). |
| folderId | Comma-separated list of channel folder ID's. |
| folderName | Comma-separated list of channel folder names. |
| subFolders | Flags if channels in sub-folders of a targeted folder should be returned. Only applies to the folderId and folderName parameters. |
| url (u) | The feed URL to preload. |
| url (u) | The URL of the import file. |
| type (t) |
The format being used to import channels.
Currently only OPML is supported.
|
| name (n) | The name of the new folder. |
| parent (p) | The ID of the parent folder. |
| after (a) | The ID of the folder to insert the new folder after. |
| id | The ID of the folder to be deleted. Use * to delete all folders. |
| verbose (v) | Flags if verbose information should be returned about each channel filter. |
When creating a new channel, or updating existing ones, the channel configuration must be sent as the request's POST data. The format is the same as that returned by $/channels/list except that there is no top-level <channels> node. For example, the following POST request sent to $/channels/create will create a new channel:
<channel type="standard">
<feedUrl> https://awasu.com/news.xml </feedUrl>
</channel>
The type of channel is configured via the channel@type attribute:
<channel type="standard">
<feedUrl> https://awasu.com/news.xml </feedUrl>
</channel>
<channel type="plugin">
<pluginChannel path="{:INSTALL-DIR:}/Samples/python-channel2/sample_python_channel2.py">
<param name="nItems"> 3 </param>
</pluginChannel>
</channel>
<channel type="search">
<searchQuery searchInUrls="no" searchInTitles="yes" searchInDescriptions="yes">
query string
<scoreCutoff> 25 </scoreCutoff>
</searchQuery>
</channel>
Most channel configuration is fairly straight-forward and values are configured via child nodes in the root <channel> node.
Basic channel details such as its name and description are usually specified by the publisher in the feed itself but can be overridden by the user e.g.
<channel type="standard">
<name> ... </name>
<description> ... </description>
<homeUrl> ... </homeUrl>
</channel>
The channel summary page can be configured like this:
<channel type="...">
<channelSummary compact="no" showItems="..." itemWindow="..." contentFormat="...">
<templateFilename> {:INSTALL-DIR:}/Resources/Channel Summary Templates/Rusty.template </templateFilename>
</channelSummary>
</channel>
where:
The username and/or password can be set for channels as follows:
<channel type="standard">
<auth>
<name> ... </name>
<password> ... </password>
</auth>
</channel>
To remove the authentication details from a channel, include an empty <auth> node:
<channel type="standard">
<auth />
</channel>
Channel hooks can be added to new or existing channels as follows:
<channel type="...">
<channelHook path="...">
<param name="..."> ... </param> include as needed
</channelHook>
</channel>
To update a hook that has already been attached to a channel, it must be identified by its ID. The hook itself cannot be changed and so only the display name and/or hook parameters may be altered.
To detach a hook from a channel, include a delete="yes" attribute e.g.
<channel type="...">
<channelHook id="..." delete="yes" />
</channel>
Any settings that include a directory path (e.g. template filename or output filename) can use one of the following directory aliases:
| {:INSTALL-DIR:} | the Awasu installation directory |
| {:USER-DATA:} | the user's roaming data directory |
| {:USER-LOCALDATA:} | the user's local data directory |
| {:USER-OUTPUT:} | the user's My Documents folder |