Difference between revisions of "News-ui.xml"
From MythTV Official Wiki
m (Created MythUI category...I think) |
m (Update required/optional items) |
||
(One intermediate revision by the same user not shown) | |||
Line 43: | Line 43: | ||
| style="background:darkturquoise" align="center" | textarea | | style="background:darkturquoise" align="center" | textarea | ||
| style="background:darkturquoise" | The text area to appear when no sites are configured. | | style="background:darkturquoise" | The text area to appear when no sites are configured. | ||
− | | style="background:darkturquoise" align="center" | | + | | style="background:darkturquoise" align="center" | No |
|- | |- | ||
| title | | title | ||
Line 58: | Line 58: | ||
| align="center" | textarea | | align="center" | textarea | ||
| The text area to appear if the feed has been updated. | | The text area to appear if the feed has been updated. | ||
− | | align="center" | | + | | align="center" | No |
|- | |- | ||
| style="background:darkturquoise" | thumbnail | | style="background:darkturquoise" | thumbnail | ||
| style="background:darkturquoise" align="center" | imagetype | | style="background:darkturquoise" align="center" | imagetype | ||
| style="background:darkturquoise" | The thumbnail image associated with an article. | | style="background:darkturquoise" | The thumbnail image associated with an article. | ||
− | | style="background:darkturquoise" align="center" | | + | | style="background:darkturquoise" align="center" | No |
|- | |- | ||
| enclosures | | enclosures | ||
| align="center" | imagetype | | align="center" | imagetype | ||
| Icon to indicate enclosures are present in the article. | | Icon to indicate enclosures are present in the article. | ||
− | | align="center" | | + | | align="center" | No |
|- | |- | ||
| style="background:darkturquoise" | download | | style="background:darkturquoise" | download | ||
| style="background:darkturquoise" align="center" | imagetype | | style="background:darkturquoise" align="center" | imagetype | ||
| style="background:darkturquoise" | Icon indicating the article requires a download. | | style="background:darkturquoise" | Icon indicating the article requires a download. | ||
− | | style="background:darkturquoise" align="center" | | + | | style="background:darkturquoise" align="center" | No |
|- | |- | ||
| ispodcast | | ispodcast | ||
| align="center" | imagetype | | align="center" | imagetype | ||
| Icon indicating the article is a podcast. | | Icon indicating the article is a podcast. | ||
− | | align="center" | | + | | align="center" | No |
|} | |} | ||
− | |||
=== The "editor" window === | === The "editor" window === | ||
Line 171: | Line 170: | ||
|} | |} | ||
− | [[Category: | + | [[Category:Developer_Documentation]] |
Latest revision as of 19:37, 11 February 2010
The news-ui.xml file governs the layout and behavior of the MythNews Plugin. It consists of the following windows and named attributes:
MythNews Windows
Window Name | Type | Description |
news | Window | The main MythNews screen. |
editor | Settings Screen | The "Edit Feed" Screen. |
config | Window | The configuration screen. |
The "news" window
Widget Name | Widget Type | Description | Required? |
siteslist | buttonlist | The button list of subscribed RSS feeds | Yes |
articleslist | buttonlist | The button list of articles from a given feed. | Yes |
nosites | textarea | The text area to appear when no sites are configured. | No |
title | textarea | The Title of the selected article. | Yes |
description | textarea | The description of the selected article. | Yes |
updated | textarea | The text area to appear if the feed has been updated. | No |
thumbnail | imagetype | The thumbnail image associated with an article. | No |
enclosures | imagetype | Icon to indicate enclosures are present in the article. | No |
download | imagetype | Icon indicating the article requires a download. | No |
ispodcast | imagetype | Icon indicating the article is a podcast. | No |
The "editor" window
Widget Name | Widget Type | Description | Required? |
title | textarea | The title of the configuration page | Yes |
namelabel | textarea | The "Name:" label. | Yes |
name | textedit | The name of the item being edited. | Yes |
urllabel | textarea | The "URL:" label. | Yes |
url | textedit | The url of the item being edited. | Yes |
iconlabel | textarea | The "Icon:" label. | Yes |
icon | textedit | The path and filename for the icon of the selected item. | Yes |
podcastlabel | textarea | The "Is Podcast?" label. | Yes |
podcast_check | checkbox | The checkbox for whether the selected item is a podcast. | Yes |
ok | button | The "OK" button. | Yes |
cancel | button | The "Cancel" button. | Yes |
The "config" window
Widget Name | Widget Type | Description | Required? |
category | buttonlist | The category of the feed. | Yes |
sites | buttonlist | The list of subscribed feeds. | Yes |
help | textarea | Help text for the category and sites items. | Yes |