/[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

Log of /lib/Grep/Action/Fetch.pm

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 110 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 20:02:19 2007 UTC (17 years, 1 month ago) by dpavlin
File length: 2054 byte(s)
Diff to previous 109
another bunch of various tweaks, but Lucene still doesn't lock index right

Revision 109 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 18:46:37 2007 UTC (17 years, 1 month ago) by dpavlin
File length: 2037 byte(s)
Diff to previous 102
rewrite Grep::Search to be isa Jifty::Object

Revision 102 - (view) (annotate) - [select for diffs]
Modified Sun Mar 4 22:16:23 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 2055 byte(s)
Diff to previous 89
removed all debug warn(s) or move them to $self->log->debug

Revision 89 - (view) (annotate) - [select for diffs]
Modified Fri Feb 23 21:54:39 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 2054 byte(s)
Diff to previous 72
report feed name in error message

Revision 72 - (view) (annotate) - [select for diffs]
Modified Fri Feb 23 09:54:28 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 2035 byte(s)
Diff to previous 71
another great refactoring: added new Source object which implements
searching within feed (which now can be anything as long as it produce fields
which somewhat resamble RSS feed). Source plugins implement just (site or
source format specific) fetching of items. 

Sample implementation of MoinMoin scraper, which fetch full pages from wiki
for results, so it has performance impact on remote wiki, be kind to it.

Revision 71 - (view) (annotate) - [select for diffs]
Modified Thu Feb 22 18:12:35 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 4096 byte(s)
Diff to previous 47
refactor XML feed parsing and Grep::Model::ItemCollection generation...

Revision 47 - (view) (annotate) - [select for diffs]
Modified Wed Feb 21 03:04:48 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3704 byte(s)
Diff to previous 46
use real full-text search engine (Lucene in this case) for Search action,
added Grep::Search helper object

Revision 46 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 22:44:59 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3596 byte(s)
Diff to previous 44
understand messages from load_or_create to count new entries (and produce
nice sentences about results)

Revision 44 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 21:55:24 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3354 byte(s)
Diff to previous 43
refactoring: after testing IPC::PubSub with vairous back-ends, it seems that COMET isn't a
good choice if you want predictible delivery. It also has problems with delay, because it's
a, uh, bus....

However, this refactoring has a good side: code size is reduced and is now easier to handle.

Revision 43 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 16:26:56 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 4477 byte(s)
Diff to previous 42
small refactoring for better debugging messages while exploring Jifty::Event
way of match(ing) events (while my use is more filter-like) and de-crufting code
in places

Revision 42 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 12:26:14 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3914 byte(s)
Diff to previous 34
A bit better messages, Fetch action result now include count as number of results,
remote feeds have now run parametar to, well, run them :-)

Revision 34 - (view) (annotate) - [select for diffs]
Modified Mon Feb 19 21:57:07 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3868 byte(s)
Diff to previous 33
small cleanup

Revision 33 - (view) (annotate) - [select for diffs]
Modified Mon Feb 19 21:26:30 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3871 byte(s)
Diff to previous 32
report better messages

Revision 32 - (view) (annotate) - [select for diffs]
Modified Mon Feb 19 20:53:09 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3851 byte(s)
Diff to previous 31
actually use transported message in event, result hits message now include source

Revision 31 - (view) (annotate) - [select for diffs]
Modified Mon Feb 19 20:40:55 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3832 byte(s)
Diff to previous 30
re-wrote parts of Fetch action to better support it's publish mode
(mostly with error reporting)

Revision 30 - (view) (annotate) - [select for diffs]
Modified Mon Feb 19 20:07:48 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3468 byte(s)
Diff to previous 29
transfer item_fragment correctly to results, report number of new results or error
(needs source feed info), removed some debugging code

Revision 29 - (view) (annotate) - [select for diffs]
Modified Mon Feb 19 18:25:12 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3425 byte(s)
Diff to previous 28
Fetch action now returns Grep::Model::ItemCollection and new fragment on the right allows
using PubSub refresh of left pane with new results

Revision 28 - (view) (annotate) - [select for diffs]
Modified Mon Feb 19 16:28:00 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3059 byte(s)
Diff to previous 25
sweeping changes to include PubSub backend JiftyDBI to make publishing work,
re-organize templates into (hopefully) more meaningful hierarchy,
and a new Search action to drive it all.

Revision 25 - (view) (annotate) - [select for diffs]
Modified Sun Feb 18 20:45:59 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 3019 byte(s)
Diff to previous 21
implement item_fragment selection in UI, better error message,
warn on empty ATOM feeds instead of die

Revision 21 - (view) (annotate) - [select for diffs]
Modified Sun Feb 18 15:07:03 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 2814 byte(s)
Diff to previous 19
Bookmarklet is now designed to work on html results page (to capture cookies so that
Grep will later be able to fetch feeds with user credentials creating single sign-on
scenario :-), and it will automatically (using new requirement Feed::Find) find feed
on that page.

For that to work, new action AddFeed was added.

Revision 19 - (view) (annotate) - [select for diffs]
Modified Sun Feb 18 12:51:26 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 2603 byte(s)
Diff to previous 9
added cookie and search_uri to feed model

Revision 9 - (view) (annotate) - [select for diffs]
Modified Sat Feb 17 23:32:33 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 2556 byte(s)
Diff to previous 8
huge sweeping changes including: PubSub infrastructure and well results :-)

Revision 8 - (view) (annotate) - [select for diffs]
Modified Sat Feb 17 21:24:48 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 2504 byte(s)
Diff to previous 7
with no results report failure which will keep entered data in form. nice :-)

Revision 7 - (view) (annotate) - [select for diffs]
Modified Sat Feb 17 21:22:17 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 2438 byte(s)
Diff to previous 5
support %s in feed URI as placeholder for query string

Revision 5 - (view) (annotate) - [select for diffs]
Modified Sat Feb 17 18:06:42 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 1933 byte(s)
Diff to previous 3
store actual content body, not class name :-)

Revision 3 - (view) (annotate) - [select for diffs]
Added Sat Feb 17 17:10:27 2007 UTC (17 years, 2 months ago) by dpavlin
File length: 1871 byte(s)
a try at implementing fetch action

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26