/[Grep]/lib/Grep/Model/Feed.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Grep/Model/Feed.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by dpavlin, Sun Feb 18 12:51:26 2007 UTC revision 21 by dpavlin, Sun Feb 18 15:07:03 2007 UTC
# Line 34  sub since { '0.0.1' } Line 34  sub since { '0.0.1' }
34    
35  # Your model-specific methods go here.  # Your model-specific methods go here.
36    
 =head2 canonicalize_uri  
   
 Replace C<grep>' with C<%s> in URI arguments  
   
 =cut  
   
 sub canonicalize_uri {  
         my $self = shift;  
         my $value = shift;  
         warn "uri: $value";  
         $value =~ s/=grep/=%s/;  
         return $value;  
 }  
   
37  =head2 search_uri  =head2 search_uri
38    
39    print $feed->search_uri('search string');    print $feed->search_uri('search string');

Legend:
Removed from v.20  
changed lines
  Added in v.21

  ViewVC Help
Powered by ViewVC 1.1.26