News-ui.xml

From MythTV Official Wiki
Revision as of 16:24, 24 February 2009 by Iamlindoro (talk | contribs) (MythNews Windows)

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. Yes
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. Yes
thumbnail imagetype The thumbnail image associated with an article. Yes
enclosures imagetype Icon to indicate enclosures are present in the article. Yes
download imagetype Icon indicating the article requires a download. Yes
ispodcast imagetype Icon indicating the article is a podcast. Yes


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