Nokogiri - S. Hunter Powers - E-Book

Nokogiri E-Book

S. Hunter Powers

0,0
19,19 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

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.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 44

Veröffentlichungsjahr: 2013

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Instant Nokogiri
Credits
About the Author
About the Reviewer
www.packtpub.com
Support files, eBooks, discount offers, and more
packtlib.packtpub.com
Why Subscribe?
Free Access for Packt account holders
1. Instant Nokogiri
So, what is Nokogiri?
Installation
Step 1 – what do I need?
Step 2 – Ruby
Step 3 – RubyGems
Step 4 – Nokogiri and Bundler
Step 5 – verify
And that's it
Quick start – creating your first Nokogiri application
Step 1 – research
Step 2 – explore
Step 3 – write
Step 4 – extend
Top 13 features you need to know about
The css method
The length method
The each method 1
The each method 2
The content method
The at_css method
The xpath method
The at_xpath method
The to_s method
Spoofing browser agents
Caching
SSL
Mechanize
People and places you should get to know
Official sites
Articles and tutorials
Community
Twitter

Instant Nokogiri

Instant Nokogiri

Copyright © 2013 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: August 2013

Production Reference: 1240813

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78328-997-4

www.packtpub.com

Credits

Author

Hunter Powers

Reviewer

Eduardo Figarola Mota

Acquisition Editor

Kunal Parikh

Commissioning Editor

Govindan K.

Technical Editor

Sonali S. Vernekar

Project Coordinator

Sherin Padayatty

Proofreader

Kelly Hutchinson

Production Coordinator

Kyle Albuquerque

Cover Work

Kyle Albuquerque

Cover Image

Abhinash Sahu

About the Author

Hunter Powers, a Full Stack web developer, began programming at the age of 6 and has been gathering steam ever since. From childhood awards (including "Most Outstanding Presentation in the Field of Engineering" from NC State University and "Superior Achievement in Computer Science" from the North Carolina Student Academy of Science) to more recent achievements at TechCrunch Disrupt 2012, he has never lost his passion for the science, languages, and dynamics of computers. His early accomplishments in the field led him to open WireThePlanet.com, his first business, at the age of 13. The company has prospered through the years, developing local and national websites, producing national television advertisements, and directing the art and design for an international card and print company. With a range of products such as websites, book covers, advertising, logos, and national festivals, his customer base includes e-commerce companies, charities and clubs, renowned foodies, and even the weatherman.

In 2011, Powers joined a big data streaming company. His work there has been represented by projects for AOL's TechCrunch, Engadget, The Washington Post, The New York Times, Fox's X-Factor, Fox Sports Australia, New York Presbyterian Hospital, and The NFL, to name a few.

A graduate of The University of Virginia, Powers interests extend beyond technology into filmmaking, photography, and writing. He was first published while in high school in 4 Guys from Rolla and has written many short, as well as a feature length, science fiction and screenplays. Powers also directs with credits for multiple commercial, web videos, and short films.

Currently residing in the Logan Circle arts district in Washington, DC, Powers is working on his next book. You can find his blog at http://www.HunterPowers.com.

About the Reviewer

Eduardo Figarola Mota graduated from the Universidad de Colima with a degree in software engineering. Deeply entrenched in web technologies, he loves programming, and Ruby has become his favorite language.

Currently working for Crowd Interactive, a leading Ruby on Rails consultancy in Mexico, Eduardo finds himself surrounded with cutting-edge technology and Mexico's greatest programming talent.

This is Eduardo's first book serving as Reviewer.

I'd like to thank my friends, family, and girlfriend for the continuous support.

www.packtpub.com

Support files, eBooks, discount offers, and more

You might want to visit www.packtpub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packtpub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.packtpub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

packtlib.packtpub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark content