View Single Post
Old 03-01-2011, 08:56 PM   #11
clintiepoo
Member
clintiepoo began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2011
Device: kindle
I spent some time on the code, and I'm just not seeing how to do this. It tags the parent tag with <p> tags, which I get, but my problem (I think) is that I'm grabbing spans and not a div's. These just kind of sit out there inside the body, with no parent tag around them.

Is there a way to put what I grab (for example, dict(name='img', attrs={'id':'img-holder'})) and put a tag around that?

<Newtag><img id="img-holder" src="images/img1.jpg" alt=" " class="calibre12"></Newtag>

I think if I could do that, I could add <p> tags or anything around the content.
clintiepoo is offline   Reply With Quote