Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6801747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:08:16+00:00 2026-05-26T19:08:16+00:00

I need to recognize content in a page – to do something as so

  • 0

I need to recognize content in a page – to do something as so http://www.alchemyapi.com/api/text/ (I need to get the HTML so I cant use this API)

What logic can I use to accomplish this? (Coding language is not matter)

Here what I did (with a good result) – needs a lot more fixes…

  1. Find the most text in page so don’t have a breaking tags – ignore inline tags (span, b, etc…)
  2. Go up one level and count breaking tags (br, p, div, etc…)
  3. Go up another level and count tags
  4. Compare tags count from step 2 with step 3
  5. If there is a lot of different we stop here – if not we go to step 3
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:08:17+00:00Added an answer on May 26, 2026 at 7:08 pm

    Look for the Boilerpipe library. It is a comprehensive solution.

    Using the Boilerpipe library, you can specify the output as HTML. So you get the main content(the article) while still preserving its HTML tags.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found the following example on http://www.erictobia.com/2009/02/21/LoadADataTableWithLINQ.aspx Unfortunately, I need it in VB and
I'm planning on using an instance of Markitup (http://markitup.jaysalvat.com/home/) to format HTML on a
imagine this url: http://www.youtube.com/watch?v=6n8PGnc_cV4&feature=rec-LGOUT-real_rn-2r-13-HM what is the cleanest and best regexp to do the
I need something as a placeholder. I at first looked to Content Control as
I am working on a on-screen keyboard for Android, and I need to recognize
I asked a similar question yesterday, but recognize that i need to rephase it
I'm curious, why does sed need 3 \ just to recognize one? I'd understand
I am trying to do the following: http://msdn.microsoft.com/en-us/library/dd456857.aspx I created the function in the
I have a page app/views/shared/_tcpsocket.html.erb and am trying to include the following two javscripts:
I need to fire an event anytime the content of a textbox has changed.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.