Larry Geller

Postby Larry Geller » Wed Nov 05, 2003 5:34 am

I'm using the plugin to check sites to see if they've changed, but all it does in increment the error count. The error was xml token parse failure or something like that. One would think the return file from the plugin would be ok...? Anyway, I don't yet understand these things. This is the returned feed, but I never see it in Awasu. Could you possibly shed some light on this?

Code: Select all

<?xml version="1.0"?>
<RSS version="2.0">
<CHANNEL>
<TITLE>Monitoring URL(s) for Changes</TITLE>
<LINK> </LINK>
<DESCRIPTION>RSS feed to monitor URLs and notify if changes detected</DESCRIPTION>
<ITEM>
        <TITLE>http://www.awasu.com (~ awasu ~)</TITLE>
        <LINK>http://www.awasu.com</LINK>
        <GUID isPermaLink="false">http://www.awasu.com (1204037980)</GUID>
        <DESCRIPTION><![CDATA[<pre>No changes to the site have been observed since 2003-11-03 11:53:02.
</pre>]]></DESCRIPTION>
</ITEM>
<ITEM>
        <TITLE>http://headlines.yahoo.co.jp/hl (Yahoo!¥Ë¥å¡¼¥¹ - ¥È¥Ã¥×)</TITLE>
        <LINK>http://headlines.yahoo.co.jp/hl</LINK>
        <GUID isPermaLink="false">http://headlines.yahoo.co.jp/hl (1765893542)</GUID>
        <DESCRIPTION><![CDATA[<pre>The site has changed; the most recent changes noted were at the following times:
2003-11-04 14:47:36
2003-11-04 14:39:08
2003-11-04 14:37:02
2003-11-04 14:35:42
2003-11-04 14:26:13
</pre>]]></DESCRIPTION>
</ITEM>
<ITEM>
        <TITLE>http://thomas.loc.gov/home/approp/app04.html (Status of FY2004 Appropriations Bills)</TITLE>
        <LINK>http://thomas.loc.gov/home/approp/app04.html</LINK>
        <GUID isPermaLink="false">http://thomas.loc.gov/home/approp/app04.html (1400369360)</GUID>
        <DESCRIPTION><![CDATA[<pre>No changes to the site have been observed since 2003-11-04 14:22:52.
</pre>]]></DESCRIPTION>
</ITEM>
<ITEM>
        <TITLE>http://hawaiipublicradio.org/ts.htm (Town Square)</TITLE>
        <LINK>http://hawaiipublicradio.org/ts.htm</LINK>
        <GUID isPermaLink="false">http://hawaiipublicradio.org/ts.htm (513198970)</GUID>
        <DESCRIPTION><![CDATA[<pre>No changes to the site have been observed since 2003-11-04 14:22:52.
</pre>]]></DESCRIPTION>
</ITEM>
<ITEM>
        <TITLE>http://eff.org/IP/P2P/riaasubpoenas/ (EFF: RIAA Subpoena Database Query Tool)</TITLE>
        <LINK>http://eff.org/IP/P2P/riaasubpoenas/</LINK>
        <GUID isPermaLink="false">http://eff.org/IP/P2P/riaasubpoenas/ (-1673747027)</GUID>
        <DESCRIPTION><![CDATA[<pre>No changes to the site have been observed since 2003-11-04 14:22:53.
</pre>]]></DESCRIPTION>
</ITEM>
<ITEM>
        <TITLE>http://hawaiipublicradio.org/toti.htm (Talk of the Islands with Bob Rees, Tuesdays at 5 p)</TITLE>
        <LINK>http://hawaiipublicradio.org/toti.htm</LINK>
        <GUID isPermaLink="false">http://hawaiipublicradio.org/toti.htm (1252087180)</GUID>
        <DESCRIPTION><![CDATA[<pre>No changes to the site have been observed since 2003-11-04 14:22:54.
</pre>]]></DESCRIPTION>
</ITEM>
<ITEM>
        <TITLE>http://www.ed.gov/legislation/FedRegister/announcements/index.html (Federal Register Documents
Announcements Application Notices Requests for Comment etc. October 2003 to Present)</TITLE>
        <LINK>http://www.ed.gov/legislation/FedRegister/announcements/index.html</LINK>
        <GUID isPermaLink="false">http://www.ed.gov/legislation/FedRegister/announcements/index.html
(1913516013)</GUID>
        <DESCRIPTION><![CDATA[<pre>No changes to the site have been observed since 2003-10-31 15:45:11.
</pre>]]></DESCRIPTION>
</ITEM>
<ITEM>
        <TITLE>http://headlines.yahoo.co.jp/hl (Yahoo!¥Ë¥å¡¼¥¹ - ¥È¥Ã¥×)</TITLE>
        <LINK>http://headlines.yahoo.co.jp/hl</LINK>
        <GUID isPermaLink="false">http://headlines.yahoo.co.jp/hl (1765893542)</GUID>
        <DESCRIPTION><![CDATA[<pre>No changes to the site have been observed since 2003-11-04 14:47:36.
</pre>]]></DESCRIPTION>
</ITEM>
</CHANNEL>
</RSS>

abwilson
Posts: 247
Joined: Sat Feb 08, 2003 8:36 pm
Location: San Francisco, CA -- USA

Postby abwilson » Wed Nov 05, 2003 4:33 pm

Sorry -- I wrote the plug-in before Awasu (or I) knew much about possible Website encodings. The original plug-in knows only about plain ASCII Websites and text, so when it simply passes anything more than that to Awasu, Awasu (rightly) fails when trying to parse the resulting RSS.

I believe I have the plug-in fixed to handle "encoded" sites properly; it now works fine with this particular site you want to monitor.

A question: Do you use the .py or the .exe version of the plug-in?

Thanks

Allan

abwilson
Posts: 247
Joined: Sat Feb 08, 2003 8:36 pm
Location: San Francisco, CA -- USA

Postby abwilson » Wed Nov 05, 2003 10:55 pm

STATUS:

I updated the plug-in so it knows about non-ASCII encodings and sent it to Larry to try. It is working for him.

When I have some time over the next few days I will package it up and rerelease it.

Allan


Return to “Awasu - Extensions”

Who is online

Users browsing this forum: No registered users and 6 guests