rss ticker unable to get media resource

Asked by Conor Vahland

testing a 1.6.0 rc2 server running on xampp on wimdows with client v1.6.0 rc1 on windows.
when adding an rss ticker to an internally hosting sharepoint2013 rss feed i receive this error message on the client
Method=xmds_GetResource
Message=Unable to get Resource: Unable to get the media resource

i have taken sharepoint out of the equation and tried hosting the rss file on both iis and xampp with the correct mimetypes added.
i have run the rss file through the w3c feed validator and fixed up most issues (as of writing still need to fix up an error with atom:link)

from what i have read in other posts, sharepoint creates incompatible rss feeds. is it possible to manipulate the file to get it working?

Where can i find further logs to diagnose where/why its failing? i understand as of a recent version the server now downloads the data and then passes it to the client. so i think i need to find the server log to identify the error. so far in the server webpage under Advanced Logs, i only receive the errors for the mysql_connect is now deprecated which i understand is being worked on and wont have any impact to this.

internally this site is a little more complicated with ntlm proxies and authentication on the sharepoint site. i have managed to get a weather rss feed to successfully work so have gotten my head around the proxy access and config now, the authentication on the rss i should be able to collect using another process and store on another server for xibo to access, just need to get the rss itself working.

here is a sample of the current RSS:

<?xml version="1.0" encoding="UTF-8"?>
<!--RSS generated by Microsoft SharePoint Foundation RSS Generator on 5/1/2014 10:07:35 PM -->
<?xml-stylesheet type="text/xsl" href="/Staff/_layouts/15/RssXslt.aspx?List=6f50ce4c-e6c4-4ec6-ac31-bb6d2ee510e6" version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Staff: Absences</title>
    <link>http://server/Staff/Lists/Staff%20Absences/today.aspx</link>
    <description>RSS feed for the Absences list.</description>
    <lastBuildDate>Thu, 01 May 2014 12:07:35 GMT</lastBuildDate>
    <generator>Microsoft SharePoint Foundation RSS Generator</generator>
    <ttl>60</ttl>
    <language>en-US</language>
    <image>
      <title>Staff: Absences</title>
      <url>http://server/Staff/_layouts/15/images/siteIcon.png</url>
      <link>http://server/Staff/Lists/Staff%20Absences/today.aspx</link>
    </image>
    <item>
      <title>Thursday 1st May</title>
      <link>http://server/Staff/Lists/Staff%20Absences/DispForm.aspx?ID=118</link>
      <description><![CDATA[<div class="ExternalClass6B1A9067B420462FB60602A3E739428A"><p>Joy L&#160;&#160;&#160;&#160;&#160;&#160;&#160; LSL&#160; -&#160; Abby H?</p><p>Nuria M&#160;&#160;&#160;&#160; ill&#160; -&#160;&#160; N/R</p><p>Rick C&#160;&#160; C/L -&#160; Sean B</p><p>Sam M&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ill&#160;&#160; -&#160; Anzuk</p><p>Bec P&#160;&#160;&#160;&#160;&#160; ill&#160;&#160; -&#160; Anita R</p></div>]]></description>
      <author>Katrina C</author>
      <pubDate>Wed, 30 Apr 2014 21:43:57 GMT</pubDate>
      <guid isPermaLink="true">http://server/Staff/Lists/Staff%20Absences/DispForm.aspx?ID=118</guid>
    </item>
  </channel>
</rss>

so really, i know rss and sharepoint are trouble but if i can manipulate the feed before hand i should be able to still use it. my trouble seems to be more so that i cant use the feed itself and need to see the proper log files to continue on
Conor

Question information

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

You are right, the CMS is now responsible for parsing the RSS feed - only the rendered content is sent to the client.

We use another Open Source library called SimplePie (http://simplepie.org/) - meaning the RSS handling in Xibo is as simple as:

$feed = new SimplePie();
$feed->set_feed_url("the URL");

The "unable to get media content" error comes straight from the library.

I'd try removing the XSLT and the image node and see if that helps.

Revision history for this message
Conor Vahland (conor-vahland) said :
#2

Thanks for the clarification Dan.
As i suspected it was a problem with proxy servers. i had entered a proxy server into the xibo settings which wouldnt let me correctly access local servers as an exclusion. i have now entered a different proxy that is correctly setup to support both local addresses and external web addresses and all is going well.

i havent tested accessing the local sharepoint again directly, but have finished off my curl script to run from a scheduled batch file to grab the rss locally. works a treat!

now to update to 1.6.0 stable (hoping it includes the fix for Fit to Region)
thanks for your help
Conor