Difference between revisions of "News-ui.xml"

From MythTV Official Wiki
Jump to: navigation, search
Line 20: Line 20:
 
| style="background:silver" | The configuration screen.  
 
| style="background:silver" | The configuration screen.  
 
|}
 
|}
 +
  
 
=== The "news" window ===
 
=== The "news" window ===
Line 80: Line 81:
 
|}
 
|}
  
=== The "editor" window ===
+
 
 +
=== The "config" window ===
  
 
{| cellpadding="4"
 
{| cellpadding="4"
Line 88: Line 90:
 
| <b>Required?</b>
 
| <b>Required?</b>
 
|-  
 
|-  
| style="background:darkturquoise" | name
+
| style="background:darkturquoise" | category
| style="background:darkturquoise" align="center" | textedit
+
| style="background:darkturquoise" align="center" | buttonlist
| style="background:darkturquoise" | The name of the item being edited.
+
| style="background:darkturquoise" | The category of the feed.
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
|-  
 
|-  
| url
+
| sites
| align="center"  | textedit
+
| align="center"  | buttonlist
| The url of the item being edited.
+
| The list of subscribed feeds.
 
| align="center"  | <b>Yes</b>
 
| align="center"  | <b>Yes</b>
 
|-  
 
|-  
| style="background:darkturquoise" | icon
+
| style="background:darkturquoise" | context_switch
| style="background:darkturquoise" align="center" | textedit
+
| style="background:darkturquoise" align="center" | textarea
| style="background:darkturquoise" | The path and filename of the item being edited.
+
| style="background:darkturquoise" | I have no freaking idea.
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
|-  
 
|-  
| podcast_check
+
| help
| align="center"  | checkbox
+
| align="center"  | textarea
| Checkbox to designate the item as a podcast.
+
| Help text area.
 
| align="center"  | <b>Yes</b>
 
| align="center"  | <b>Yes</b>
|-
 
| style="background:darkturquoise" | ok
 
| style="background:darkturquoise" align="center" | button
 
| style="background:darkturquoise" | The "OK" button.
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
|-
 
| cancel
 
| align="center"  | button
 
| The "Cancel" button.
 
| align="center"  | No
 
 
|}
 
|}

Revision as of 21:53, 20 February 2009

The news-ui.xml file governs the layout and behavior of the MythNews Plugin. It consists of the following windows and named attributes:

MythVideo 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 then no sites are configured. N
title textarea The Title of the selected article. N
description textarea The description of the selected article. N
updated textarea The text area to appear if the feed has been updated. N
thumbnail imagetype The thumbnail image associated with an article. N
enclosures imagetype Icon to indicate enclosures are present in the article. N
download imagetype Icon indicating the article requires a download. N
ispodcast imagetype Icon indicating the article is a podcast. N


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
context_switch textarea I have no freaking idea. Yes
help textarea Help text area. Yes