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 7447493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:37:09+00:00 2026-05-29T12:37:09+00:00

How does Evernote’s Web Clipper plugin or Announcify plugin only get relevant article/post/content part

  • 0

How does Evernote’s Web Clipper plugin or Announcify plugin only get relevant article/post/content part of the page? Here is an screenshot from evernote plugin:

enter image description here

No matter which website you visit which is completely different from other layout wises, these are always able to get you article/post/content part of the page.

Each website has different layouts, some have sidebar, some don’t, different tags, for main/article/content part, some use <article> or <section> of HTML5 others use <h1> > <p>, some use <h2> > <p> and others don’t use at all. So there are different combination of tags as well as layouts of websites.

Can anyone suggest a solution to getting main article/post/content please via Javascript or PHP?

  • 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-29T12:37:12+00:00Added an answer on May 29, 2026 at 12:37 pm

    You can do a simple DOM parsing and search for the <div>s and <p>s containing more text (text! not HTML code!). However, regardless of the intelligent method you will choose for determining where the content is, you should start from DOM parsing, so let’s have a look at DOM parsing PHP libraries.

    Anyway, you can start from this:

    http://w-shadow.com/blog/2008/01/25/extracting-the-main-content-from-a-webpage/

    Looks quite good, and gives technical explanations if you want to write something of your own.

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

Sidebar

Related Questions

Does anyone know, what an XMLHttpRequest enables a web page to do, which cannot
Does anyone know how to get IntelliSense to work reliably when working in C/C++
Does C# have built-in support for parsing strings of page numbers? By page numbers,
Does anybody have an idea why Google App Engine permits only a single thread
Does a firewall running on a machine only block stuff from outside that machine,
Does anyone know of any samples that use the DataTables jquery plugin with a
Does this line of Perl really do anything? $variable =~ s/^(\d+)\b/$1/sg; The only thing
does someone know how I can get Sublime Text 2 to auto-hide the tabs
Does anyone know why this bean is getting instantiated multiple times? I only ever
Does Google force employees who have offers from Facebook to leave immediately?

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.