Okay, so I had two different semi-similar things.  In the first case,
I was parsing and editing a flat text configuration file, where I
needed to find the sections and then change some stuff in the section.
 In the other I was getting HTTP resources.  If you look at the top
chunk for the downloading, and the bottom chunk for parsing and
editing and writing back out to a file, you should be able to see
roughly how this would go together in Python.  (Just treat 'feed' and
'config' as equalish.)

 - Tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modify-html.py
Type: text/x-python
Size: 1625 bytes
Desc: not available
Url : http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20101027/3a1f1048/attachment-0001.py