____  ___    _  _     _   _ _____     _______
 / ___|/ _ \  | || |   | | | |_ _\ \   / / ____|
| |  _| | | | | || |_  | |_| || | \ \ / /|  _|
| |_| | |_| | |__   _| |  _  || |  \ V / | |___
 \____|\___/     |_|   |_| |_|___|  \_/  |_____|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

jsoup - Tutorial #1 setup, basic commands

BY: @qami | CREATED: May 3, 2018, 7:07 p.m. | VOTES: 6 | PAYOUT: $0.13 | [ VOTE ]

https://steemitimages.com/DQmYstyySFoVnL2Xve8F6ZFF3ukGBkvNdLamgFi86kYDj1Q/23.png
What Will You Learn?
In this tutorial you will learn about jsoup. Its basic elements and development.

What is jsoup
jsoup is a Java based library to work with HTML based content. It provides a very convenient API to extract and manipulate data, using the best of DOM, CSS, and jquery-like methods. It implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers do.

Requirements
Basic Java Programming

Good OOP Concept is a plus point for you

Difficulty

Intermediate

jsoup - Overview
jsoup is a Java based library to work with HTML based content. It provides a very convenient API to extract and manipulate data, using the best of DOM, CSS, and jquery-like methods. It implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers do.

jsoup libary implements the WHATWG HTML5 specification, and parses an HTML content to the same DOM as per the modern browsers.

jsonp library provides following functionalities.

Multiple Read Support - It reads and parses HTML using URL, file, or string.

CSS Selectors It can find and extract data, using DOM traversal or CSS selectors.

DOM Manipulation It can manipulate the HTML elements, attributes, and text.

Prevent XSS attacksIt can clean user-submitted content against a given safe white-list, to prevent XSS attacks.

TidyIt outputs tidy HTML.

Handles invalid data - jsoup can handle unclosed tags, implicit tags and can reliably create the document structure.
https://steemitimages.com/DQmSV5FpAUUi6Hm2UuUeAUrUyTEjThkmiAi8f9WWxXk5gsz/Screenshot_15.png

Local Environment Setup
JUnit is a framework for Java, so the very first requirement is to have JDK installed in your machine.

System Requirement
https://steemitimages.com/DQmUULA1kWm5PaYmPZf9SqFcoPzj6VYTVPQjpqLgs8TXh1T/Screenshot_1.png

Step 1: Verify Java Installation in Your Machine
https://steemitimages.com/DQmQWcRj5JBLFZt9dGidNEVEXCriYo9QbGHrVqR6VfRV4xR/1.png
https://steemitimages.com/DQmTmFVFZcYDDRFF6wQYF8c4NiGb8W7TWbVV19ZPSdrmT4N/2.png

Step 2: Set JAVA Environment
https://steemitimages.com/DQmfF7gv1BhBDhpQZHCW8gdBtjQufKNfWb8GZiLSRGAs7Nz/21.png

Step 3: Download jsoup Archive
https://steemitimages.com/DQmb826mDfUzAv4sbpRbwFFpiQAyzrZMji3TGF68D61QZoT/3.png

Step 4: Set jsoup Environment
https://steemitimages.com/DQmZo3H1A6mWAv4A8CRj3V9YjEgq47PEjZbdKvpPp4R3UiD/4.png

Step 5: Set CLASSPATH Variable
[IMAGE: https://steemitimages.com/DQmNuqM72FwREWZLtUkzANKmuJ64HVxqhg7jn6c7R8Ty83n/5.png]

Source: Tutorialspoint.com

TAGS: [ #utopian-io ] [ #jsoup ] [ #java ] [ #programming ] [ #oop ]

Replies

@cheetah | May 3, 2018, 7:07 p.m. | Votes: 0 | [ VOTE ]

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://www.tutorialspoint.com/jsoup/jsoup_overview.htm

@steembottrackerr | May 12, 2018, 2:45 p.m. | Votes: 0 | [ VOTE ]

https://steemitimages.com/200x200/https://s-media-cache-ak0.pinimg.com/originals/81/28/3c/81283c6aed7bdb5b9f8ad73b8ce62c2f.jpg

Hello @qami , Congratulations ✅ . Your content began to appear in the hot section.
I am the information account of "SteemBotTracker" site.

Your Informations
Total SBD: 4.816
Total STEEM: 0.003

I recommend to increase this;
You can make "Resteem" and advertise to the followers of the whale accounts.
"Resteem Bot" for you;
✅ The most profitable Resteem Whale @hottopic has 18.500 Followers + 5200 Sp + Upvote with min +45 accounts.

You can purchase "upvote" by bid bots.
"Upvote Bot"
✅ The most profitable whale in the last round. @smartsteem

I'm taking this message once. You need to use the #steembottrackerr tag for more information.
Those who "upvote" this interpretation will be awarded a "UpVote" prize of 100 Sbd per week per person.
I am a bot, I can not answer the comment. I hope I could help. Good luck. Sorry if I disturbed you.

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>