View Single Post
Old 06-07-2011, 06:23 AM   #4
schuster
Zealot
schuster doesn't litterschuster doesn't litter
 
Posts: 119
Karma: 100
Join Date: Jan 2011
Location: Germany / NRW /Köln
Device: prs-650 / prs-350 /kindle 3
hi,
that was not the problem. i strip out the section_title out of the url, now
Code:
           for post in section.findAll('a', href=True):
                url = post['href']
                split_url = url.split("/")
                section_title = split_url[1]
                if url.startswith('/'):
the problem is that the toc shows like the pic
and i don't know why it is
Attached Thumbnails
Click image for larger version

Name:	inhaltsverzeichniss.PNG
Views:	241
Size:	14.6 KB
ID:	72436  
schuster is offline   Reply With Quote