/[Grep]/lib/Grep/Action/Fetch.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/Action/Fetch.pm

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

revision 29 by dpavlin, Mon Feb 19 18:25:12 2007 UTC revision 30 by dpavlin, Mon Feb 19 20:07:48 2007 UTC
# Line 133  sub take_action { Line 133  sub take_action {
133                  $self->result->message( $q . ' => ' . $xml_feed->entries . ' results' );                  $self->result->message( $q . ' => ' . $xml_feed->entries . ' results' );
134    
135                  if ( $publish ) {                  if ( $publish ) {
136                          Grep::Event::Result->new({ q => $q, coll => $items, item_fragment => 'title' })->publish;                          Grep::Event::Result->new({
137                                    q => $q, coll => $items,
138                                    item_fragment => $self->argument_value('item_fragment'),
139                            })->publish;
140                          Jifty->log->debug( $items->count, " for '$q' published" );                          Jifty->log->debug( $items->count, " for '$q' published" );
141                  } else {                  } else {
142                          $self->result->content( items => $items );                          $self->result->content( items => $items );

Legend:
Removed from v.29  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26