<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>RSS feed: post-processing?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I've been puzzling over something but can't figure out a solution. I&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">have an RSS feed providing the content behind all the links on this&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">page: </FONT><A HREF="http://demo.plinkit.org/interestsideas/goodreads/booklists"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://demo.plinkit.org/interestsideas/goodreads/booklists</FONT></U></A><FONT SIZE=2 FACE="Arial">.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">There's a nice bookmarklet tool in the world called LibraryLookup that&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">lets you check whether a book you find on Amazon or something is in&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">your library's catalog by scraping up the ISBN and launching an ISBN&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">catalog search. It's a javascript, really. I thought I would adapt this&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">to create a little add-on for the stuff the bestsellers RSS brings back&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">to my site. What I need to do is pluck out the ISBNs in the links on a&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">page like this one:&nbsp; </FONT>

<BR><A HREF="http://demo.plinkit.org/interestsideas/goodreads/sinList?synmap=HardcoverFiction"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://demo.plinkit.org/interestsideas/goodreads/sinList?synmap=HardcoverFiction</FONT></U></A>
</P>

<P><FONT SIZE=2 FACE="Arial">The ISBNs are all in the URLs for the book titles&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">(&quot;isbn=Some10digitNumberHere&quot;). How would I look for a piece of text in&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">that shape, i.e., isbn=5893193390, then, if it's there, copy and paste&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">that piece of information into the LibraryLookup javascript I have. The&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">end result should be that, if there's an ISBN in a feed result, an extra link&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">appears for each entry that says something like &quot;Check the catalog,&quot;&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">which you can click to look that book up in your own library's catalog.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I've been staring at the template that formats the RSS feed to figure&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">out whether any TAL expression would work for this. I've been playing&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">with a short Python script, then wondering how to call it within that&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">template, but I think I have to use regular expressions to do it.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I'm sorry to be so lost on this, but I guess I am. I'd love to do&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">something cool like this for our little Plinkit libraries. Can anyone&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">help? I'll take anything from a broad strategy to actual code snippets&nbsp; </FONT>

<BR><FONT SIZE=2 FACE="Arial">(I'm a terrible programmer but a good librarian).</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>

<BR><FONT SIZE=2 FACE="Arial">Eva the Librarian</FONT>
</P>

</BODY>
</HTML>