News-ui.xml

From MythTV Official Wiki
Revision as of 19:37, 11 February 2010 by Lynchmv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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