root/Web-Scraper/trunk/Changes

Revision 2254 (checked in by miyagawa, 13 years ago)

Checking in changes prior to tagging of version 0.05. Changelog diff is:

=== Changes
==================================================================
--- Changes (revision 6680)
+++ Changes (local)
@@ -1,8 +1,18 @@

Revision history for Perl extension Web
Scraper

+0.05 Wed May 9 18:21:22 PDT 2007
+ - Added (less DSL-ish) Web::Scraper->define(sub { ... }) syntax
+ - Fixed bug where the module dies if there's no encoding found in HTTP response headers
+ - Added more examples in eg/
+ - When we get value using callback, pass HTML::Element object as $_, in addition to $_[0]
+ (Suggested by Matt S. Trout)
+ - If the expression (1st argument to process()) starts with "/", it's
+ treated as a direct XPath and no Selector-to-XPath conversion is done.
+

0.04 Wed May 9 00:55:32 PDT 2007

- *API CHANGE* Now scraper {} returns Web
Scraper object and not closure.
You should call ->scrape() to get the response back.
+ (Suggested by Marcus Ramberg)

I loved the code returning closure, but this is more compatible to
scrapi.rb API and hopefully less confusing to people.

Line 
1 Revision history for Perl extension Web::Scraper
2
3 0.05  Wed May  9 18:21:22 PDT 2007
4         - Added (less DSL-ish) Web::Scraper->define(sub { ... }) syntax
5         - Fixed bug where the module dies if there's no encoding found in HTTP response headers
6         - Added more examples in eg/
7         - When we get value using callback, pass HTML::Element object as $_, in addition to $_[0]
8           (Suggested by Matt S. Trout)
9         - If the expression (1st argument to process()) starts with "/", it's
10           treated as a direct XPath and no Selector-to-XPath conversion is done.
11
12 0.04  Wed May  9 00:55:32 PDT 2007
13         - *API CHANGE* Now scraper {} returns Web::Scraper object and not closure.
14           You should call ->scrape() to get the response back.
15           (Suggested by Marcus Ramberg)
16
17           I loved the code returning closure, but this is more compatible to
18           scrapi.rb API and hopefully less confusing to people.
19
20 0.03  Tue May  8 23:04:13 PDT 2007
21         - use 'TEXT' rather than 'content' to grab text from element
22           to be more compatible with scrapi
23         - Added unit tests using Test::Base
24         - Refactored internal code for easier reading
25         - chained callbacks are now passed HTML::Element, not HTML, to avoid double HTML parsing
26         - Implemented callbacks (iterator) API
27         - Added 'process_first' to be compatible with scrapi
28
29 0.02  Tue May  8 20:03:37 PDT 2007
30         - Added dependencies to Makefile.PL
31
32 0.01  Tue May  8 04:05:59 2007
33         - original version
Note: See TracBrowser for help on using the browser.