abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chaitali Gupta <chaitaligupt...@yahoo.com>
Subject Parsing XHTML from Atom using Abdera
Date Wed, 07 Jul 2010 21:11:53 GMT

I need to parse an ATOM using Abdera. But the ATOM contains entries with XHTML content. Here
is an example of how each entry look like -

<entry xmlns="http://www.w3.org/2005/Atom">
    <title type="text">SomeTitle</title>
        <name>Some Author </name>
    <content type="xhtml">
        <div xmlns="http://www.w3.org/1999/xhtml">
            <div class="hnews hentry item">
        <div class="hmedia">
    <a rel="enclosure" type="image/jpeg" href="some reference">
      <img border="0" class="photo" src="some src "></img>
    <div class="fn">Some comment</div>
  <div class="entry-content">
    <p>"Some Content"</p>
    <p>"More Content"</p>

My question is how can I parse the div element and extract images and "entry-content". From
each Abdera Entry object, how do I get Div object? 


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message