Ticker XML: This does not appear to be a valid RSS or Atom feed.

Asked by Johan Vermeer

I have a XML file with the following content for example in it (yes, it is dutch):

<FacilityTalk>
<LOCATIECODE/>
<LOCATIE/>
<Reservering>
<RESERVERINGSCODE>5089449.00</RESERVERINGSCODE>
<RUIMTECODE>B01.04</RUIMTECODE>
<RUIMTENAAM>_B01.04, Plesmanzaal *</RUIMTENAAM>
<VOORZITTEREXTERN/>
<OMSCHRIJVING>Overleg OR-SSO</OMSCHRIJVING>
<STARTDATUM>01-12-2014</STARTDATUM>
<EINDDATUM>01-12-2014</EINDDATUM>
<STARTTIJD>10:30:00</STARTTIJD>
<EINDTIJD>12:30:00</EINDTIJD>
</Reservering>
</FacilityTalk>

I have this .XML file on a webserver that I can view with my browser. When I load this into Xibo (because this can be according to this page: http://www.xibo.org.uk/manual/index.php?toc=layouts&p=layout/content_ticker) it gives me this error:
11940 2014-12-29 11:05:22 Feed Error: A feed could not be found at http://example.example.com/ReserveringenVWS.XML. This does not appear to be a valid RSS or Atom feed.
11939 2014-12-29 11:05:22 GetOption updateInterval: Set - returning: 120
11938 2014-12-29 11:05:22 GetOption uri: Set - returning: http%3A%2F%2Fexample.example.com%2FReserveringenVWS.XML

Why is it telling me that it is not valid?

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

Does the feed really exist at: http://example.example.com/ReserveringenVWS.XML ?

The web server is probably identifying the file as plain text rather than XML - you can try adding the below line to modules/ticker.module.php

$feed->force_feed(true);

just after the line

$feed = new SimplePie();

Revision history for this message
Johan Vermeer (johan-vermeer) said :
#2

Yes this feed realy exists, I only changed the url for privacy reasons.
When I copy+paste the feed url into my browser I can read the XML file.

I made this change to ticker.module.php and restarted httpd service but the same error occurs.

Revision history for this message
Vincent Vandermeeren (vandermeeren-vincent) said :
#3

Johan,
something is wrong with the xml tags ..

I see a <VOORZITTEREXTERN/> but before that no <VOORZITTEREXTERN> ...
Please check the xml tag ...

Kind regards,
Vincent

Revision history for this message
Johan Vermeer (johan-vermeer) said :
#4

I now use a different XML just for this. This one: http://www.w3schools.com/xml/note.xml
Now how do I show this content in Xibo?

When I use a ticker feed with this URL and I type in <to> nothing shows up.

Revision history for this message
Johan Vermeer (johan-vermeer) said :
#5

Anyone?

Revision history for this message
Dan Garner (dangarner) said :
#6

The ticker module is for RSS/Atom feeds either as documents served from the web, or XML files local to the CMS. We don't have a module that handles custom XML documents yet.

I guess this would be an extension to use XML as the source for a dataset, something like that

Can you help with this problem?

Provide an answer of your own, or ask Johan Vermeer for more information if necessary.

To post a message you must log in.