title: generate epub using python by newbie
body: <p>As my first project for python coding, I want to create epub file from articles in journals like BMJ using python.</p>
  
  <p>I extract links from <a href="http://www.bmj.com/specialties/7/all-bmj/feed?list=all-bmj" rel="nofollow">BMJ</a> RSS using <code>feedparser</code>, used the <code>beautifulsoup</code> to capture the component in the html file that I need, then I follow the instruction from the <a href="http://www.manuel-strehl.de/dev/simple_epub_ebooks_with_python.en.html" rel="nofollow">link</a> to create a epub file.</p>
  
  <p>EPUB file can be created, but not some epub reader consider the file corrupted, for example the coolreader for both windows and android show nothing, while the android version even exit the program unexpectedly.</p>
  
  <p>I guess some of the "declaration" for epub is not right that cause this problem, but I don't know how to fix it. </p>
  
  <p>I have some coding experience in R and did some web scraping using the <code>XML</code> package, but no experience in EPUB format.</p>