Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Instant Nokogiri

Buy
Instant Nokogiri, 9781783289974 (178328997X), Packt Publishing, 2013

Learning data scraping and parsing in Ruby using the Nokogiri gem

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Master Nokogiri with the use of clear, step-by-step instructions and real world examples
  • Learn how to identify sources, parse documents, and extract information from them
  • Use the interactive Ruby shell and the features of Nokogiri to test and refine your theories in real-time

In Detail

A wealth of information sits waiting on the Internet. Instant Nokogiri helps you access this information today with Nokogiri, a slick and fast HTML and XML parsing engine. Bundled in an easy-to-use Ruby gem, Nokogiri empowers you to combine disparate data sources and gain an unprecedented insight into your Ruby applications.

"Instant Nokogiri" is a hands-on guide to extracting information from the sources available on the Internet, sources that are not traditionally accessible to developers. You will learn the secrets of identifying content, extracting just the right parts, and incorporating the new data in your Ruby applications.

"Instant Nokogiri" provides step-by-step instructions on how to incorporate the power of the Nokogiri gem and data parsing into your Ruby projects. You will learn all the basics of designing a project around data parsing, exploring disparate data sources, and refining strategies and theories. You will also combine your thoughts in a real-world, real-data sample application. This book will examine common Nokogiri and Ruby methods useful in scraping and parsing complete with practical code samples. You will also learn the secrets behind effective caching, rate limiting, and masking your identity. Instant Nokogiri will teach you how to get targeted data out of HTML and into Ruby, as well as tons of tips, tricks, code snippets, and expert advice.

What you will learn from this book

  • Set up a development environment for Nokogiri
  • Know when to use a parsing engine
  • Identify ideal sources from which to extract content and devise optimal strategies for selecting content
  • Use CSS and XPath selectors to target content
  • Test your theories in an interactive Ruby shell
  • Work with live web data
  • Avoid detection and be a good netizen
  • Incorporate your finished snippets in a full Sinatra application

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. A concise, illustrated guide to extracting information available on the Internet using Nokogiri.

Who this book is written for

"Instant Nokogiri" is the perfect choice for the aspiring Ruby developer looking to incorporate screen scraping and parsing technology in their applications. Beginner level Ruby, basic HTML, and CSS experience is suggested.

(HTML tags aren't allowed.)

Adaptive Control: Algorithms, Analysis and Applications (Communications and Control Engineering)
Adaptive Control: Algorithms, Analysis and Applications (Communications and Control Engineering)
Adaptive Control (second edition) shows how a desired level of system performance can be maintained automatically and in real time, even when process or disturbance parameters are unknown and variable. It is a coherent exposition of the many aspects of this field, setting out the problems to be addressed and moving on to solutions, their...
Mastering Mathematica: Programming Methods and Applications/Book and Disk
Mastering Mathematica: Programming Methods and Applications/Book and Disk
This book addresses the use of Mathematica as a symbolic manipulator, a programming language, and a general tool for knowledge representation. The main focus of the book, however, is on the use of Mathematica as a programming language....
Algorithms and Data Structures: 12th International Symposium, WADS 2011, New York, NY, USA, August 15-17, 2011, Proceedings (Lecture Notes in Computer Science)
Algorithms and Data Structures: 12th International Symposium, WADS 2011, New York, NY, USA, August 15-17, 2011, Proceedings (Lecture Notes in Computer Science)
This book constitutes the refereed proceedings of the 12th Algorithms and Data Structures Symposium, WADS 2011, held in New York, NY, USA, in August 2011.
The Algorithms and Data Structures Symposium - WADS (formerly "Workshop on Algorithms and Data Structures") is intended as a forum for researchers in the area of design
...

R and Data Mining: Examples and Case Studies
R and Data Mining: Examples and Case Studies
This book guides R users into data mining and helps data miners who use R in their work. It provides a how-to method using R for data mining applications from academia to industry. It
  • Presents an introduction into using R for data mining applications, covering most popular data mining techniques
  • ...
Murach's Beginning Visual Basic .NET
Murach's Beginning Visual Basic .NET
With this book, you can learn the skills of a professional programmer in just 692 pages. Because of its self-paced approach in the first 7 chapters, you can do that whether you're new to Visual Basic.NET or you're upgranding from Visual Basic 6.

From that point on, you're ready for rapid progress as you learn how to...

6800 assembly language programming
6800 assembly language programming
Lance Leventhal is a partner in Emulative Systems Company. Inc.. a San Diego-based consulting firm specializing in microprocesors and microprogramming. He is a national lecturer on microprocessors for the IEEE, the author of ten books and more than 60 articles on microprocessors, and a regular contributor to such publications as Simulation and...
©2019 LearnIT (support@pdfchm.net) - Privacy Policy