Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

user-image
Question ajoutée par Utilisateur supprimé
Date de publication: 2015/03/30
Utilisateur supprimé
par Utilisateur supprimé

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
par 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
par Muhammad Waqas , C#/.Net Developer , Signup solution

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