1. General information

1.1. Description of the control

News displays a list of news items loaded from an RSS or RDF feed – for example from a news site, a company blog, or another system that publishes its content as a feed.

  • Each item of the feed is listed with its title, description, and a “more...” link leading to the full text at the source. If an item has no link, its identifier (guid) is used as its address. The link is rendered only if the address of the item starts with “http://” or “https://”.
  • The news items scroll smoothly upwards within the area of the control. Hovering the mouse over the “more...” link stops the scrolling so that the link can be clicked.
  • The list of news items has a fixed height of 120 pixels.
  • Details
    • The title and description of an item are written as plain text and HTML formatting is not applied in them – HTML tags written in the description as text (escaped or in a CDATA section) are displayed literally.
    • The loaded content of the feed is cached for one hour, and during that time the feed is not downloaded again.
    • If the feed cannot be downloaded or parsed, the text “The page cannot be displayed.” is shown instead of the news items, and the control tries to load it again after five minutes at the earliest. A feed whose server does not respond within one second is also considered unavailable.

1.2. Create a new control

New news can be created as follows from the view page using the toolbar with controls:

  • First, clicking on the view page determines the position in which the new news should be placed. This will highlight the selected position with a gray horizontal line. Then just click on the item “News” in the toolbar of the view page, fill in the attributes of the new control in the newly opened dialog, and then save. This will insert new news at a pre-selected location on the view page.
  • If the required position is not determined before inserting new news, the new news will be inserted at the end of the view page.
  • Together with the new news, a heading is inserted above it – a Title control of type B with the same name and the same rights.
  • Details
    • The control is not available in NET Genium Online – the view page toolbar does not offer it.
    • A control inserted into a view page in NET Genium Online in another way (for example by writing the model) loads the feed only from an address with the “http” or “https” scheme that does not lead to the server itself or to the internal network, and does not follow redirects. A path to a file on the server is not supported in NET Genium Online. A feed from any other address and a feed whose address redirects are displayed as unavailable.

1.3. Edit or delete a control

  • For each existing control, a pencil icon appears to the left of the control page to change or delete the control's settings.
  • Individual controls can be moved vertically on the view page using the Drag&Drop method. Moving consists of grabbing the control, preferably behind its name, and then dragging it to the desired location on the view page.
  • Controls can be moved only with the “Drag & Drop” or “Multi Drag & Drop” check box located above the toolbar with controls selected. For security reasons, these check boxes are cleared after each login to the application, so that a control is not moved by accident.
  • With the “Multi Drag & Drop” check box selected, a check box is displayed next to the controls instead of the pencil icon. Controls marked with the check box are moved together with the dragged control and keep their mutual order.

2. List of tabs in the control settings dialog

  • General – Setting general properties
  • Rights – Rights settings
  • Administration – Setting other properties

2.1. “General” tab

2.1.1. Name

  • The name of the control.

2.1.2. Dictionary

  • The dictionary lists the names of other controls, forms, view pages, categories, applications, application groups, and database query columns and headers used across the entire NET Genium installation.
  • The dictionary search is used to design the correct control name and to maintain the consistency of the nomenclature throughout the application so that controls with the same meaning located in different places in the application are named in the same way.

2.1.3. RDF/RSS URL

  • Internet address of the RSS or RDF feed, or the path to a file with the feed on the NET Genium server.

2.2. “Rights” tab

2.2.1. Rights

  • Rights define a list of user groups and users who have permission to display the control on the view page.
  • For a new control, the rights are prefilled from the control at the position selected before inserting it or, if no position is selected, from the rights of the view page.

2.2.2. Replace rights to other controls

  • The “Replace rights to other controls” feature is used to unify rights across the entire view page for controls that are related in terms of rights.
  • Thanks to the “Show...” link, it is possible to display a list of all controls on the view page, including the settings of the rights of these controls. A check box is displayed for each control to select it. When the control is saved, the same rights are then set for the selected controls.
  • An alternative for unifying rights within the entire view page is the overview of the rights settings of all controls, displayed by the “Show summary...” link on the “Rights” tab in the view page settings.

2.3. “Administration” tab

  • The “Administration” tab is only displayed for existing controls.

2.3.1. Location

  • Select the view page on which the control is located.
  • The drop-down list contains the view pages located in the same application and in the same category as the view page on which the control stands. For a view page without a category, it offers only view pages without a category. For a new control, it contains only the current view page.

2.4. “Save”, “Delete”, and “Close” buttons

  • “Save” button – Saves changes to the control settings.
  • “Delete” button – Permanently deletes the control.
  • “Close” button – Closes the control settings dialog without saving changes.