Changeset 2240

Show
Ignore:
Timestamp:
05/09/07 16:58:56
Author:
miyagawa
Message:

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

=== Changes
==================================================================
--- Changes (revision 6666)
+++ Changes (local)
@@ -1,5 +1,12 @@

Revision history for Perl extension Web
Scraper

+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.
+
+ I loved the code returning closure, but this is more compatible to
+ scrapi.rb API and hopefully less confusing to people.
+

0.03 Tue May 8 23:04:13 PDT 2007

- use 'TEXT' rather than 'content' to grab text from element

to be more compatible with scrapi

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Web-Scraper/trunk/Changes

    r2235 r2240  
    11Revision history for Perl extension Web::Scraper 
     2 
     30.04  Wed May  9 00:55:32 PDT 2007 
     4        - *API CHANGE* Now scraper {} returns Web::Scraper object and not closure. 
     5          You should call ->scrape() to get the response back. 
     6 
     7          I loved the code returning closure, but this is more compatible to 
     8          scrapi.rb API and hopefully less confusing to people. 
    29 
    3100.03  Tue May  8 23:04:13 PDT 2007 
  • Web-Scraper/trunk/lib/Web/Scraper.pm

    r2239 r2240  
    77use HTML::Selector::XPath; 
    88 
    9 our $VERSION = '0.03'; 
     9our $VERSION = '0.04'; 
    1010 
    1111sub import {