Giter Club home page Giter Club logo

feeds2fb2's People

Contributors

traut avatar

Watchers

 avatar  avatar

feeds2fb2's Issues

Bad HTML

What steps will reproduce the problem?
1. Create opml file wiht one feed http://hegtor.livejournal.com/data/rss
2. Run applicaion -t opml --enable-pics --book-per-feed --disable-zip

What is the expected output? 
Running xmllint --format should be showing well-formed indented xml

What do you see instead?
feeds/Unlabeled%20-%20hegtor.fb2:41: parser error : EntityRef: expecting 
';'
rong></p><p><p href="http://www.cdep.ru/statistics.asp?
search_frm_auto=1&dept_id

^
feeds/Unlabeled%20-%20hegtor.fb2:44: parser error : Opening and ending tag 
mismatch: section line 43 and p
╬я└п╣я│я│п╦п╬пҐп╟п╩п╦пЇп╪п╟, п╟ 
пҐп╣ п╡я▀я│п╬п╨п╬пЁп╬ 
п╦я│п╨я┐я│я│я┌п╡п╟</p></p>

^
feeds/Unlabeled%20-%20hegtor.fb2:45: parser error : Opening and ending tag 
mismatch: body line 25 and section
</section>
          ^
feeds/Unlabeled%20-%20hegtor.fb2:50: parser error : Opening and ending tag 
mismatch: section line 49 and p
пЄп╦п╬ я│п╩п╟п╧пЄ я┬п╬я┐. п²п╟ 
я█я┌п╬ я─п╟пЇ пЁп╬п╩п╬я│ пҐп╣ 
п╪п╬п╧.</p></p></p>

^
feeds/Unlabeled%20-%20hegtor.fb2:51: parser error : Opening and ending tag 
mismatch: FictionBook line 2 and section
</section>
          ^
feeds/Unlabeled%20-%20hegtor.fb2:52: parser error : Extra content at the 
end of the document
<section>
^


What version of the product are you using? On what operating system?
4.1.3 on linux python 2.6.1

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 31 Mar 2009 at 6:25

LANG variable is None on Leopard

On Leopard, $LANG variable isn't set by default (yes, it's a confirmed
bug to be fixed). Correspondingly, line 16 in feeds2fb2.py returns
None, None,
which doesn't allow the file to be saved.

Original issue reported on code.google.com by [email protected] on 2 Feb 2008 at 10:26

converter fails when OPML file has hierarchial outlines

What steps will reproduce the problem?
1. run converter on an OPML file having outlines inside outlines (i.e.
exported from Bloglines; feeds should be organized in folders at Bloglines;
sample file attached)

What is the expected output? What do you see instead?
Script fails. Looks like it expects 'outline' elements to always have
'title' attribute. Level 1 'outline' elements(corresponding to folders) in
my file have no 'title', only 'text'.

What version of the product are you using? On what operating system?
v 0.4., XP Home


Original issue reported on code.google.com by [email protected] on 20 Jul 2008 at 8:47

Attachments:

Converter (or parser) failes if there is "&quot;" (or may be "&" signs) in feed title

What steps will reproduce the problem?
1. Create opml.file with only one feed (http://www.moneta.name/feed)
2. run feeds2fb2


>What is the expected output?
Completed fb2 book =)

>What do you see instead?
  File "./feeds2fb2.py", line 651, in ?
    feedbody = unicode(feedbody, 'utf8').encode('utf8')
UnicodeDecodeError: 'utf8' codec can't decode byte 0x95 in position 16074: 
unexpected code byte


>What version of the product are you using? On what operating system?
4.1.3 on linux python 2.3.4

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 31 Mar 2009 at 5:31

It seems images are not downloaded (python module is missing)?

What steps will reproduce the problem?
1. Create an opml file with only one feed http://iogannsb.livejournal.com/rss
2. run application

>What is the expected output? 
Completed fb2 book

What do you see instead?
Getting image from 
http://farm3.static.flickr.com/2397/2130049705_022fc93102_o.jpg
Traceback (most recent call last):
  File "./feeds2fb2.py", line 703, in ?
    books[book_title] += imagesToSections(feeds_images[book_title])
  File "./feeds2fb2.py", line 462, in imagesToSections
    binaryblock += base64.b64encode("".join(img_content))
AttributeError: 'module' object has no attribute 'b64encode'

What version of the product are you using? On what operating system?
4.1.3 on linux python 2.3.4

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 31 Mar 2009 at 5:36

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.