A Free Idea: Search Engine for Webpages

Anthony Ventimiglia ant at mongrel.dogpound
Sat Aug 24 23:33:29 EDT 2002


On 24 Aug 2002 18:34:44 +0000, Serge Boiko 
<serge.boiko at gmx.net> wrote:
> Thomas Guettler <pan-newsreader at thomas-guettler.de> writes:
>> > I've just came up with the idea which IMHO looks attracting. Imagine
>> > that you have a looong web page and you'd like to find entries of some
>> > phrase, not all of them are of interest. You run your software on that
>> > page and it builds a list of all entries; clicking on the entry will
>> > bring you to the place it occurs. So it's something like pydoc, but
>> > works on an arbitrary web-page.
>> 
>> Sounds not to difficult: Use Pythons HTML parser. Make a dictonary of all
>> words of the page. After parsing create a HTML page with all word of the
>> page (alphabetically sorted)
>> 
> Yes, it looks not that difficult to implement using Python. 
> 
>> The problem ist that you can link only to anchors in a page (#foo). So
>> you need to modifiy the original page and put a mark after each word.
>> 
> Absolutely, that is why I think about small web-server, which works on
> a localhost's free port, you only have to point your browser there and it 
> displays the modified web-page.
[snip]
> 
> I frequently *need* such a functionality while browsing lists of journals, 
> online libraries, etc. 

What would be really nice is implementing is as a browser plug-in, this
way it could be totally implemented on the client side.



More information about the Python-list mailing list