Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for /trunk/boilerpipe-core/src/main/de/l3s/boilerpipe/sax/BoilerpipeHTMLContentHandler.java #38

Closed
GoogleCodeExporter opened this issue May 25, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

This is part 1 of a 2 part fix for problems with title detection.

Currently setTitle() is being called sometimes many times per file resulting in 
the class thinking there is no title when there actually is, the class just 
erased the value after setting it.

The problem lies in the way the title is detected, using lastStartTag.  If 
characters() is called before the next start tag, the title can be overridden.

Original issue reported on code.google.com by tucker...@gmail.com on 15 Mar 2012 at 2:33

Attachments:

@GoogleCodeExporter
Copy link
Author

Sorry, for multiple issues, I'm not sure how to suggest a patch that spans 
multiple files.  Also, its 3 parts not 2.

The other 2 related isses are:
http://code.google.com/p/boilerpipe/issues/detail?id=39
http://code.google.com/p/boilerpipe/issues/detail?id=40

Original comment by tucker...@gmail.com on 15 Mar 2012 at 2:42

@GoogleCodeExporter
Copy link
Author

Original comment by ckkohl79 on 21 Mar 2012 at 9:10

  • Changed state: Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant