<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<item>
<guid>661e4533afef0661e4533afef4</guid>
<title>20% discount</title>
<description>Grocery from local distributors</description>
<category/>
<pubDate>2024-04-16 00:00:00</pubDate>
<endDate>2024-05-21 00:00:00</endDate>
<changeDate>2024-04-15 16:00:01</changeDate>
<link>https://.../661e4533afef0661e4533afef4/</link>
<media:content url="https://.../6533afef4.jpg" type="image/jpeg"/>
<media:group>
<media:content url="https://.../JHR0906799.pdf" name="Document name" type="application/pdf"/>
<media:content description="Long information text ..." type="text/plane"/>
<media:content type="text/html">
<![CDATA[
<h1>Title</h1>
<p>Html formated text</p>
]]>
</media:content>
</media:group>
</item>
</channel>
</rss>
channel.item.guid
unique id of channel item
newer change
usually is database record id
channel.item.title
Title of channel item
can NOT be empty
optional html formating
channel.item.description
Description of channel item
optional html formating
channel.item.category
If channel has multiple categories, here is name of item category
if everywhere is only one category, in preview category picker will be not visible
channel.item.author
name of post creator
channel.item.link
address pointing to webpage
preview is QR-CODE to scan by mobile
channel.item.pubDate
date-time, when was item created
channel.item.endDate
date-time, last day of visibility
if current device time is more than endDate then post is invisible
channel.item.changeDate
date-time, last change of channel item
item will stay in cache (under guid), if changed, then item will be fetched again
channel.item.content
, channel.item.image
the same as channel.item.media:content
channel.item.media:content
image which representing channel item
required attributes: url, type
enabled type IMAGE
channel.item.media:group
media holder of multiple content-types
can contain one or more media
channel.item.media:group.media:content
media item
enabled types IMAGE, VIDEO, DOCUMENT, HTML, TEXT
Parameter | Attribute | Required | Type | Example |
---|---|---|---|---|
guid | - | YES | Text / Number | 548A59C5B5E |
title | - | YES | Text / Html | Great news |
description | - | NO | Text / Html | Ths is BIG news |
link | - | NO | Url | https://... |
category | - | NO | Text | News |
author | - | NO | Text | Bill Johanson |
pubDate | - | YES | Date-Time | Wed, 02 Oct 2002 08:00:00 +0000 |
endDate | - | NO | Date-Time | Wed, 20 Oct 2002 08:00:00 +0000 |
changeDate | - | NO | Date-Time | Wed, 03 Oct 2002 08:00:00 +0000 |
media:content | - | NO | Entry | |
media:content | url | YES | Url | https://... |
media:content | type | YES | Content-Type | image/jpeg |
media:group | - | NO | Group |
Parameter | Attribute | Required | Type | Example |
---|---|---|---|---|
media:content | - | YES | Entry | |
media:content | url | YES | Url | https://... |
media:content | type | YES | Content-Type | image/jpeg |
media:content | name | NO | Text | Name of media |
Parameter | Attribute | Required | Type | Example |
---|---|---|---|---|
media:content | - | YES | Text / Html | Large text, html can be used |
media:content | type | YES | Content-Type | text/html |
Parameter | Attribute | Required | Type | Example |
---|---|---|---|---|
media:content | - | YES | Entry | |
media:content | type | YES | Content-Type | text/plane |
media:content | description | YES | Text | Small text definition |
IMAGE
image/webp
image/jpeg
image/png
VIDEO
video/mp4
video/x-msvideo
video/webm
video/quicktime
video/x-m4v
video/mpeg
DOCUMENT
application/pdf
application/rtf
application/msword
application/vnd.openxmlformats-officedocument.wordprocessingml.document
application/vnd.ms-excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/vnd.ms-powerpoint
application/vnd.openxmlformats-officedocument.presentationml.presentation
application/vnd.oasis.opendocument.text
application/vnd.oasis.opendocument.presentation
application/vnd.oasis.opendocument.spreadsheet
TEXT
text/plane
text/html
Server will connect to defined RSS channels and fetch definition. Store definition locally.
Download, convert, prepare new media. Delete unused media, items.
If are any differences between old definition and new one, send new definition to devices where is channel attached.
Devices download prepared media from server.
if guid from new definition is not in old definition
it is new item
all media from new definition are downloaded, converted, prepared
if guid from old definition is not in new definition
it is old item
all media from old definition are removed
if guid is in old and new definition but changeDate is not equals
it is changed item
all media from old definition are removed
all media from new definition are downloaded, converted, prepared