[Xerte] debugging misc > rss page?
RonM
ronm at mitchellmedia.co.uk
Wed Mar 10 22:59:50 GMT 2010
Hi Pat
The var $agent in my snoopy was an empty string. I've just tried the
following:
var $agent="Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.2)
Gecko/20121223 Ubuntu/9.25 (jaunty) Firefox/3.8";
But it hasn't fixed the problem - I still get undefined with the twitter
feed but works fine with your Notts feed with or without the user agent
defined. I'm still using these two links:
http://search.twitter.com/search.atom?lang=en
<http://search.twitter.com/search.atom?lang=en&q=xerte&rpp=50>
&q=xerte&rpp=50
http://www.nottingham.ac.uk/xerte/rss/rssfeed.xml
Any ideas?
Cheers
Ron
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: 10 March 2010 22:05
To: 'Xerte discussion list'
Subject: RE: [Xerte] debugging misc > rss page?
Cheers both - will try this and report back.
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 10 March 2010 21:56
To: Xerte discussion list
Subject: RE: [Xerte] debugging misc > rss page?
yes, thats why you change the user agent in snoopy - we did it to fix
wikipedia ages ago. Must not have sent the updated snoopy to the zip.
_____
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Julian Tenney
Sent: Wed 10/03/2010 21:53
To: Xerte discussion list
Subject: RE: [Xerte] debugging misc > rss page?
Duh. The problem must be with rss_proxy if all the xerte stuff works
locally.
Pat: can rss_proxy be rumbled as a bot?
_____
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Patrick Lockley
Sent: Wed 10/03/2010 21:46
To: Xerte discussion list
Subject: RE: [Xerte] debugging misc > rss page?
we had a problem that wikipedia died once, and we fixed rss_proxy.php by
making a change in snoopy.
One of the options is the user agent to send, so we set that to be what
firefox sends, and it worked.
So swap the value in the snoopy class for a common user agent value and see
what happens.
_____
From: xerte-bounces at lists.nottingham.ac.uk on behalf of RonM
Sent: Wed 10/03/2010 19:39
To: 'Xerte discussion list'
Subject: [Xerte] debugging misc > rss page?
Hi Pat/Julian
I've been trying to resolve the twitter rss issue that I mentioned on Monday
morning and in testing have some more accurate details...
I created an LO with a toolkits installation added a couple of rss pages and
added a twitter search url to the first page and the notts rss feed to the
second page. I used the following urls:
http://search.twitter.com/search.atom?lang=en
<http://search.twitter.com/search.atom?lang=en&q=xerte&rpp=50>
&q=xerte&rpp=50
http://www.nottingham.ac.uk/xerte/rss/rssfeed.xml
The page with the twitter url doesn't work via toolkits now but the page
with the notts feed does work via toolkits.
If export the LO and view locally both pages work. Also pages with twitter
feeds added always worked previously which is how and why I also built my
dedicated twitter model.
So it seems like there is an incompatibility now between a twitter feed and
the code used with rss_proxy.php
Probably something that's changed at the twitter end but I can't spot what's
causing it to fail when using rss_proxy.php
I'm not sure if the problem is in rss_proxy itself or in the code inside the
xerte model which gets the feed from rss_proxy. This might be a dumb
question but how can I use the equivalent of debug to track what's happening
via toolkits rather than locally?
Cheers
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100310/7a2afb8f/attachment.html
More information about the Xerte
mailing list