[Xerte] rss page
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Tue Sep 15 10:08:29 BST 2009
RSS
Wikipedia
Delicious
All use rss_proxy.
The Youtube and flickr ones call their APIs 'properly'.
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Monday, September 14, 2009 10:43 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] rss page
I didn't think that would work on a different server but I did copy
rss_proxy.php to the same location as my test file and used a similar
link but it didn't work.
I also tried debugging _level0.site_url thinking it would be possible to
extend the if statement and include rss_proxy.php for examples where
this is required.
Do any of the other page types require rss_proxy.php too?
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 14 September 2009 22:05
To: Xerte discussion list
Subject: RE: [Xerte] rss page
I don't think so, as the flash security means you cannot make that
request directly from the Flash player.
So something has to be in the middle.
That could be a central service somewhere...?
Have you tried calling our
http://www.nottingham/toolkits/rss_proxy.php?rss=' +
pageIcon.templateData.rss[0].url?
I'd have to check that is something we can sustain.
________________________________
From: xerte-bounces at lists.nottingham.ac.uk on behalf of RonM
Sent: Mon 14/09/2009 21:17
To: 'Xerte discussion list'
Subject: [Xerte] rss page
Hi Pat/Julian
This never occurred to me before but am I right in thinking that if an
LO created with the page templates contains an RSS feed page and is then
exported and uploaded to a vle or webserver e.g. outside of a toolkits
install then the RSS feed page won't work?
e.g. the rss.rlm has the following:
if (templatePath.indexOf('modules/xerte') == -1){
feedURL = pageIcon.templateData.rss[0].url;
} else {
feedURL = _level0.site_url + 'rss_proxy.php?rss=' +
pageIcon.templateData.rss[0].url;
}
I know the need for rss_proxy.php is due to the flash player security
and for the rss page to work online it needs to make use of
rss_proxy.php but I'm just wondering if there's a way of getting this to
work outside of toolkits. I tried adding a static path to rss_proxy.php
on the server where I uploaded a test and that didn't work. The same LO
works fine when run locally but is there a way of getting the rss page
to work when viewed online but outside of toolkits?
Cheers
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090915/77df0b2d/attachment.html
More information about the Xerte
mailing list