[Xerte] Re: XOT: difference using feeds when proxy server is set and when not?
Patrick Lockley
Patrick.Lockley at nottingham.ac.uk
Wed Feb 2 18:37:52 GMT 2011
Fsockopen is the major function - try some examples with code from the php site and see what happens
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 02 February 2011 16:23
To: 'Xerte discussion list'
Subject: [Xerte] Re: XOT: difference using feeds when proxy server is set and when not?
I tried a couple of different agent strings but neither fixed the problem :-(
"server problem with code being turned on or not" can you explain further? But also just to say this is consisten across a number of installations e.g. only those with proxy settings added via management page display the twitter feed.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 02 February 2011 15:41
To: Xerte discussion list
Subject: [Xerte] Re: XOT: difference using feeds when proxy server is set and when not?
There is a timeout setting in snoopy.
It's more likely a server problem with code being turned on or not.
Google firefox agent and then paste the long agent string into snoopy.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 02 February 2011 15:30
To: 'Xerte discussion list'
Subject: [Xerte] Re: XOT: difference using feeds when proxy server is set and when not?
That's my point we've been here before! :-( e.g.
http://itq.jisctechdis.ac.uk/xerte/rss_proxy.php?rss=http://search.twitter.com/search.atom?q=xerte
times out
but
http://search.twitter.com/search.atom?q=xerte
works in browser
and yet
http://itq.jisctechdis.ac.uk/xerte/rss_proxy.php?rss=http://www.nottingham.ac.uk/xerte/rss/rssfeed.xml
works
and on a server where proxy is configured so does
http://xerte5.techdis.palepurple.co.uk/rss_proxy.php?rss=http://search.twitter.com/search.atom?q=xerte
So on a server without a proxy configured the twitter search feed fails but nottingham feed works and on a server with proxy configured both work. This applies to the lo's as well as links in browser.
Is it possible there is a timeout setting somewhere which can be changed?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 02 February 2011 15:10
To: Xerte discussion list
Subject: [Xerte] Re: XOT: difference using feeds when proxy server is set and when not?
Renaming wouldn't help, it just seems your problem is a bit voo doo
What does
http://itq.jisctechdis.ac.uk/xerte/rss_proxy.php?rss=http://search.twitter.com/search.atom?q=xerte
bring you?
It seems to timeout to me.
Remember the all the proxy does is get the content, I can't see why it would fail on some content and work on some content. It should be agnostic to what the content is.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 02 February 2011 15:06
To: 'Xerte discussion list'
Subject: [Xerte] Re: XOT: difference using feeds when proxy server is set and when not?
yes no feed appearing. http://itq.jisctechdis.ac.uk/xerte/play_13
Fiddler shows GET /xerte/rss_proxy.php?rss=http://search.twitter.com/search.atom?q=xerte but doesn't show any error as far as I can see.
Ho would renaming the proxy file help? isn't that coded into the rlm?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 02 February 2011 14:44
To: Xerte discussion list
Subject: [Xerte] Re: XOT: difference using feeds when proxy server is set and when not?
Define work - nothing appearing?
Have you tried fiddler? Renaming the proxy file?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 02 February 2011 14:42
To: 'Xerte discussion list'
Subject: [Xerte] Re: XOT: difference using feeds when proxy server is set and when not?
Ok cheers but I'll re-phrase...
why do other rss feeds work with the rss page but the twitter rss doesn't? If that's because twitter.com doesn't have a crossdomain file why does a twitter feed work on an installation with a proxy configured and not work on an installation without a proxy configured yet on that same installation other rss feeds work?
My main question is how can I get around this if a proxy isn't available for a particular installation or is it just a case of adding localhost and a suitable port via the management page?
Cheers
Ron
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 02 February 2011 14:12
To: Xerte discussion list
Subject: [Xerte] Re: XOT: difference using feeds when proxy server is set and when not?
The rss.rlm uses a proxy all the time.
A web server cannot access the internet without one, unless there is a crossdomain.xml
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 02 February 2011 13:30
To: 'Xerte discussion list'
Subject: [Xerte] XOT: difference using feeds when proxy server is set and when not?
Hi
I'm revisiting this question as I don't think we resolved it last time...
If I add a twitter search feed e.g. http://search.twitter.com/search.atom?q=xerte to the standard rss page type or my custom twitter page type it works when a proxy server has been added via the management page but doesn't work when no proxy settings are added.
Here's a couple of examples:
With proxy added: http://xerte5.techdis.palepurple.co.uk/play_2237
Without proxy added: http://itq.jisctechdis.ac.uk/xerte/play_13
But what's the difference? Doesn't the rss.rlm still use rss_proxy.php whether a proxy server is configured via management or not? Is there a way I can get this to work without a proxy server configured?
Cheers
Ron
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110202/47ef4ebe/attachment-0001.html>
More information about the Xerte
mailing list