Re: HTML Table-of-Content Extraction Script

2006-11-28 Thread [EMAIL PROTECTED]
Fredrik Lundh wrote: > robert wrote: > > > I'm looking for a function which extracts a table of contents > > of HTML file(s) from ... > > and possibly auto-creates the ancors. > > Maybe something already exists? > > that's the kind of stuff you'll write in approximately two minutes using > Beaut

Re: HTML Table-of-Content Extraction Script

2006-11-28 Thread Fredrik Lundh
robert wrote: > I'm looking for a function which extracts a table of contents > of HTML file(s) from ... > and possibly auto-creates the ancors. > Maybe something already exists? that's the kind of stuff you'll write in approximately two minutes using BeautifulSoup (or if you prefer the Elemen

Re: HTML Table-of-Content Extraction Script

2006-11-28 Thread Thomas Guettler
robert wrote: > I'm looking for a function which extracts a table of contents of HTML file(s) > from ... and possibly auto-creates the ancors. > Maybe something already exists? You can try mine: http://www.thomas-guettler.de/scripts/number-html-headings.py.txt -- Thomas Güttler, http://www.tho

HTML Table-of-Content Extraction Script

2006-11-28 Thread robert
I'm looking for a function which extracts a table of contents of HTML file(s) from ... and possibly auto-creates the ancors. Maybe something already exists? Robert -- http://mail.python.org/mailman/listinfo/python-list