<HTML dir=ltr><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876">
<STYLE>
<!--
                       
 font-face
        {font-family:"Cambria Math";}
font-face
        {font-family:Calibri;}
font-face
        {font-family:Tahoma;}
                        
 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;}
span.EmailStyle18
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {
        font-size:10.0pt;}

div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-GB link=blue vLink=purple>
<DIV dir=ltr id=idOWAReplyText51244>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial><A href="http://search.twitter.com/search.atom?q=xerte">http://search.twitter.com/search.atom?q=xerte</A></FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial>works</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><A href="http://www.nottingham.ac.uk/toolkits/rss2.php?rss=http://search.twitter.com/search.atom?q=xerte">http://www.nottingham.ac.uk/toolkits/rss2.php?rss=http://search.twitter.com/search.atom?q=xerte</A></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>brings up a 301 error, which means their server is playing silly.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>if i go directly to the search, i just get a 200 - so no error at all.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>I'm guessing Twitter sees the rss_proxy as a bot and kills it.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Maybe the RLM should move over to use the API?</DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of RonM<BR><B>Sent:</B> Wed 10/03/2010 22:04<BR><B>To:</B> 'Xerte discussion list'<BR><B>Subject:</B> RE: [Xerte] debugging misc &gt; rss page?<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="COLOR: #1f497d">Cheers both &#8211; will try this and report back.</SPAN></P>
<P class=MsoNormal><A name=_MailEndCompose><SPAN style="COLOR: #1f497d"></SPAN></A>&nbsp;</P>
<DIV>
<DIV style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US>From:</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Patrick Lockley<BR><B>Sent:</B> 10 March 2010 21:56<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] debugging misc &gt; rss page?</SPAN></P></DIV></DIV>
<P class=MsoNormal>&nbsp;</P>
<DIV id=idOWAReplyText31263>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt">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.</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN>&nbsp;</P>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt">
<HR align=center SIZE=2 width="100%">
</SPAN></DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> xerte-bounces@lists.nottingham.ac.uk on behalf of Julian Tenney<BR><B>Sent:</B> Wed 10/03/2010 21:53<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] debugging misc &gt; rss page?</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN></P></DIV>
<DIV>
<DIV id=idOWAReplyText77782>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt">Duh. The problem must be with rss_proxy if all the xerte stuff works locally.</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN>&nbsp;</P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Pat: can rss_proxy be rumbled as a bot?</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN>&nbsp;</P>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt">
<HR align=center SIZE=2 width="100%">
</SPAN></DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> 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 &gt; rss page?</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN></P></DIV>
<DIV>
<DIV id=idOWAReplyText94350>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt">we had a problem that wikipedia died once, and we fixed rss_proxy.php by making a change in snoopy.</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN>&nbsp;</P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">One of the options is the user agent to send, so we set that to be what firefox sends, and it worked.</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN>&nbsp;</P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">So swap the value in the snoopy class for a common user agent value and see what happens.</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN>&nbsp;</P>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt">
<HR align=center SIZE=2 width="100%">
</SPAN></DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> 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 &gt; rss page?</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"></SPAN></P></DIV>
<DIV>
<P class=MsoNormal>Hi Pat/Julian</P>
<P class=MsoNormal>I&#8217;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>&nbsp;</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>&nbsp;</P>
<P class=MsoNormal><A href="http://search.twitter.com/search.atom?lang=en&amp;q=xerte&amp;rpp=50">http://search.twitter.com/search.atom?lang=en&amp;q=xerte&amp;rpp=50</A></P>
<P class=MsoNormal>&nbsp;</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>&nbsp;</P>
<P class=MsoNormal>The page with the twitter url doesn&#8217;t work via toolkits now but the page with the notts feed does work via toolkits.</P>
<P class=MsoNormal>&nbsp;</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>&nbsp;</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&#8217;s changed at the twitter end but I can&#8217;t spot what&#8217;s causing it to fail when using rss_proxy.php </P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>I&#8217;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&#8217;s happening via toolkits rather than locally?</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>Cheers</P>
<P class=MsoNormal>Ron</P></DIV></DIV></DIV></DIV></DIV></BODY></HTML>