Skip to content

Commit 892ebe1

Browse files
authored
Merge pull request #11 from os2display/feature/2328-feed-source-test-guide
Added testing guide for feed sources
2 parents 41bb0e6 + afa4d04 commit 892ebe1

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

content_structure/test_guide.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The following test scenarios are explained:
2424
* [T6 External users](#t6-external-users)
2525
* [T7 Campaigns](#t7-campaigns)
2626
* [T8 Shared playlists](#t8-shared-playlists)
27+
* [T9 Feed sources](#t9-feed-sources)
2728

2829
---
2930

@@ -488,3 +489,39 @@ When it is shared it can be displayed in another tenant, but not edited.
488489
* Test that the playlist is displayed on the screen. See T1 for how to activate the screen.
489490

490491
---
492+
493+
## T9 Feed sources
494+
495+
### Description
496+
497+
Feed sources are the link between external data source and slides. An example is the RSS feed.
498+
When creating a slide with the RSS template a feed source ("datakilde") needs to be selected.
499+
After the feed source has been selected it is possible to input the url to the RSS feed to show data from.
500+
The feed source contains the code that calls the external source and converts data to a format the RSS template
501+
understands.
502+
503+
Feed sources are connected to a tenant. New feed sources can be connected to a tenant in through the
504+
"Datakilde" link in the navigation.
505+
506+
The following guide describes how to add a "calendar api" feed source to a tenant.
507+
508+
NB! The calendar api feed source has some installation requirements that are assumed to have been set up.
509+
See the [documentation](https://github.com/os2display/display-api-service/blob/develop/docs/calender-api-feed.md) for
510+
further information.
511+
512+
With the calendar api feed source the administrator should select which locations are connected with the given tenant.
513+
When creating a slide with the given feed source, the resources that belong to the given locations are available
514+
to deliver data to the slide.
515+
516+
### Steps
517+
518+
* Go to `/admin/feed-sources/list`.
519+
* Click "Opret ny datakilde" (`/admin/feed-sources/create`).
520+
* Select a name (e.g. "My calendar feed") and add a description of the feed source.
521+
* Select "Kalender feed" for "Type".
522+
* It will display "Bemærk! Datakilden skal gemmes før der kan tilkobles lokationer. Gem og åbn datakilden igen.".
523+
* Save with "Gem datakilde".
524+
* Reopen the feed source from the list.
525+
* Select locations that should be connected with the given tenant.
526+
* Save with "Gem datakilde".
527+
* Now the feed source should be available in the feed selector, when setting up a "calendar" slide.

0 commit comments

Comments
 (0)