Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What's the best method to extract article text from HTML documents?

user-image
Question added by Deleted user
Date Posted: 2015/03/30

Basm Allah Alrahman Alrahim

 

 

Learn How To make Addons or Extensions

 

This video to show you what you can do with Firefox addon , its not just to extract article , but to translate article

 

There are a lot of different things to extract articles like evernote clipper and bookmarklet [ used with WordPress ] ...etc , those addons made by JavaScript or similar codes

 

 

Thank you for this question that help us to search and learn

Ibrahim Saleh
by Ibrahim Saleh , Front End Developer , Souq.com

http://www.quora.com/Whats-the-best-method-to-extract-article-text-from-HTML-documentsThere is some answers here ,,, hope it'll help you.

Muhammad Waqas
by Muhammad Waqas , Dot Net and MVC Developer , Osys Technologies

A simple, but useful, jQuery method for extracting article text:

  • text() - Sets or returns the text content of selected elements

EXAMPLE:

 

 

Jquery:

 

$(document).ready(function(){

    $("#btn1").click(function(){

        alert("Text: " + $("#test").text());

});

 

HTML:

 

<button id="btn1">Show Text</button>

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.