akira-kurogane / furigana-injector

Automatically exported from code.google.com/p/furigana-injector
2 stars 1 forks source link

Long pages #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Doesn't seem to process long pages such as this one: 
http://www.dramanote.com/article/134559692.html#more

after 2/5ths of the way it just stops

But its a very a cool add-on other than that!

Original issue reported on code.google.com by coli...@gmail.com on 15 Dec 2009 at 12:29

GoogleCodeExporter commented 9 years ago
Thanks for the good sample. I'll have to debug this one.

Original comment by akira%ya...@gtempaccount.com on 15 Dec 2009 at 1:14

GoogleCodeExporter commented 9 years ago
Todo- 
1. In text nodes of larger > (8192 / 3) chars in length, split first (on 
nearest 
reverse-found sentence boundary) before adding to list of text nodes for 
submission.
2. enable the submission/reception operation to do different parts of the page 
asynchronously.
~~3. Find the textnodes on the visible part of the page and before it (DOM-wise 
if 
not vertically specified) and make that the first request to be submitted.~~
3. Make the max size for one request to be 30Kb of text. Just do from the DOM 
top to 
bottom, one by one.

Original comment by akira%ya...@gtempaccount.com on 27 May 2010 at 1:35

GoogleCodeExporter commented 9 years ago
Developed for chrome. Will release in version 0.9.
Todo: port to FF version as well.

Original comment by akira%ya...@gtempaccount.com on 29 May 2010 at 3:16

GoogleCodeExporter commented 9 years ago
Ported to FF in v2.1

Original comment by akira%ya...@gtempaccount.com on 4 Jun 2010 at 5:40