<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR>
<STYLE>
<!--
font-face
        {font-family:"Cambria Math";}
font-face
        {font-family:Calibri;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV id=idOWAReplyText77782 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Duh. The problem must be with rss_proxy if all the xerte stuff works locally.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Pat: can rss_proxy be rumbled as a bot?</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Patrick Lockley<BR><B>Sent:</B> Wed 10/03/2010 21:46<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] debugging misc > rss page?<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV id=idOWAReplyText94350 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>we had a problem that wikipedia died once, and we fixed rss_proxy.php by making a change in snoopy.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>One of the options is the user agent to send, so we set that to be what firefox sends, and it worked.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>So swap the value in the snoopy class for a common user agent value and see what happens.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of RonM<BR><B>Sent:</B> Wed 10/03/2010 19:39<BR><B>To:</B> 'Xerte discussion list'<BR><B>Subject:</B> [Xerte] debugging misc > rss page?<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal>Hi Pat/Julian</P>
<P class=MsoNormal>I’ve been trying to resolve the twitter rss issue that I mentioned on Monday morning and in testing have some more accurate details...</P>
<P class=MsoNormal> </P>
<P class=MsoNormal>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:</P>
<P class=MsoNormal> </P>
<P class=MsoNormal><A href="http://search.twitter.com/search.atom?lang=en&q=xerte&rpp=50">http://search.twitter.com/search.atom?lang=en&q=xerte&rpp=50</A></P>
<P class=MsoNormal> </P>
<P class=MsoNormal><A href="http://www.nottingham.ac.uk/xerte/rss/rssfeed.xml">http://www.nottingham.ac.uk/xerte/rss/rssfeed.xml</A> </P>
<P class=MsoNormal> </P>
<P class=MsoNormal>The page with the twitter url doesn’t work via toolkits now but the page with the notts feed does work via toolkits.</P>
<P class=MsoNormal> </P>
<P class=MsoNormal>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.</P>
<P class=MsoNormal> </P>
<P class=MsoNormal>So it seems like there is an incompatibility now between a twitter feed and the code used with rss_proxy.php </P>
<P class=MsoNormal>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 </P>
<P class=MsoNormal> </P>
<P class=MsoNormal>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?</P>
<P class=MsoNormal> </P>
<P class=MsoNormal>Cheers</P>
<P class=MsoNormal>Ron</P></DIV></DIV></DIV></BODY></HTML>