Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
    type:"xml",
    urltype:"audio|image|news|..."
    imghideimg:true|false,
    addform:ID,
    form:ID,
    addformlabel:"string",
    cache:true|false,
    backbtn_for_webview:true|false
 }
nametypedescription
typestringxml
urltypestring

type content of the feed

  • audio
  • image
  • news
urlstringthe feed url
imghideimgboolean

specify if the img of the feed should be showedhidden

If missing default is truefalse (img visible)

formintegerid of the form to show prior to the feed request
addformintegerid of the form to show for add function
addformlabelstringthe label to be displayed for addform button
cachebooleancache webview content
backbtn_for_webviewbooleanshould the back action be triggered in the webview
pidintthe page ID, generated at creation time

 

...

For all the others values the view should display all the content (title,description,img) using the selected layout. The view should check in case of the list layout the key “img” “hideimg” that specify that the img si visible (default is showed) is hidden. When a item is selected the app should check the value of the key “show” that can have this value :

  • link

In this case the app should open the value of the key “link” with an external call

  • insidelink

In this case the app should open the value of the key “link” in a webview

  • content

In this case the app should show the value of the key “content” in a webview In the “insidelink” and “content” case the app should slideshow of news with next/prev/share

...