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

View Directory Listing Directory Listing


Sticky Revision:

Revision 184 - Directory Listing
Modified Wed Apr 9 17:31:04 2008 UTC (16 years ago) by dpavlin
fix order_by (after unlimit!)

Revision 172 - Directory Listing
Modified Wed Jul 4 20:20:27 2007 UTC (16 years, 9 months ago) by dpavlin
remove html from result->error

Revision 166 - Directory Listing
Modified Wed Jul 4 08:58:51 2007 UTC (16 years, 9 months ago) by dpavlin
added $feed->home_page_uri which is constructed from feed URI and use it
(less useful for feeds, more useful for scrapers actually :-)

Revision 149 - Directory Listing
Modified Sat Jun 9 09:15:41 2007 UTC (16 years, 10 months ago) by dpavlin
debug log from action

Revision 141 - Directory Listing
Modified Tue May 8 12:37:28 2007 UTC (16 years, 11 months ago) by dpavlin
added hits accessor to Grep::Search which returns original number of search results

Revision 111 - Directory Listing
Modified Wed Mar 14 21:09:57 2007 UTC (17 years, 1 month ago) by dpavlin
finish is called from collection so this is redundant

Revision 110 - Directory Listing
Modified Wed Mar 14 20:02:19 2007 UTC (17 years, 1 month ago) by dpavlin
another bunch of various tweaks, but Lucene still doesn't lock index right

Revision 109 - Directory Listing
Modified Wed Mar 14 18:46:37 2007 UTC (17 years, 1 month ago) by dpavlin
rewrite Grep::Search to be isa Jifty::Object

Revision 102 - Directory Listing
Modified Sun Mar 4 22:16:23 2007 UTC (17 years, 1 month ago) by dpavlin
removed all debug warn(s) or move them to $self->log->debug

Revision 89 - Directory Listing
Modified Fri Feb 23 21:54:39 2007 UTC (17 years, 1 month ago) by dpavlin
report feed name in error message

Revision 86 - Directory Listing
Modified Fri Feb 23 21:16:44 2007 UTC (17 years, 1 month ago) by dpavlin
added hooks to Grep::Source->save to keep useful snippets of html in /tmp/grep (if writable)

Revision 80 - Directory Listing
Modified Fri Feb 23 18:09:19 2007 UTC (17 years, 1 month ago) by dpavlin
set correct class (strinfigy) for source

Revision 78 - Directory Listing
Modified Fri Feb 23 17:34:20 2007 UTC (17 years, 1 month ago) by dpavlin
give base_uri to Feed::Find->find_in_html so that relative links works

Revision 73 - Directory Listing
Modified Fri Feb 23 11:48:39 2007 UTC (17 years, 1 month ago) by dpavlin
each feed now has default source class which is called for it. Added PhpWiki
source. Code still has problems with Lucene locking.

Revision 72 - Directory Listing
Modified Fri Feb 23 09:54:28 2007 UTC (17 years, 1 month ago) by dpavlin
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 - Directory Listing
Modified Thu Feb 22 18:12:35 2007 UTC (17 years, 1 month ago) by dpavlin
refactor XML feed parsing and Grep::Model::ItemCollection generation...

Revision 69 - Directory Listing
Modified Thu Feb 22 16:57:23 2007 UTC (17 years, 1 month ago) by dpavlin
we will always fetch url using our LWP::Ua, xhich doesn't require locally
modified Feed::Find and has additional benefit of providing xml feed
detection (so you can now again add URIs directly to feed)

Revision 59 - Directory Listing
Modified Wed Feb 21 19:11:06 2007 UTC (17 years, 1 month ago) by dpavlin
better error messages which enable Grep to actually work without index for the first time

Revision 58 - Directory Listing
Modified Wed Feb 21 19:10:20 2007 UTC (17 years, 1 month ago) by dpavlin
Another mish-mash of different changes rolled into one commit: added feed owners,
better support for bootstraping without data (actaully, fixes to be able to do so...)

Revision 55 - Directory Listing
Modified Wed Feb 21 16:19:31 2007 UTC (17 years, 1 month ago) by dpavlin
added form element to setup number of results

Revision 47 - Directory Listing
Modified Wed Feb 21 03:04:48 2007 UTC (17 years, 1 month ago) by dpavlin
use real full-text search engine (Lucene in this case) for Search action,
added Grep::Search helper object

Revision 46 - Directory Listing
Modified Tue Feb 20 22:44:59 2007 UTC (17 years, 1 month ago) by dpavlin
understand messages from load_or_create to count new entries (and produce
nice sentences about results)

Revision 44 - Directory Listing
Modified Tue Feb 20 21:55:24 2007 UTC (17 years, 1 month ago) by dpavlin
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 - Directory Listing
Modified Tue Feb 20 16:26:56 2007 UTC (17 years, 1 month ago) by dpavlin
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 - Directory Listing
Modified Tue Feb 20 12:26:14 2007 UTC (17 years, 1 month ago) by dpavlin
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 38 - Directory Listing
Modified Tue Feb 20 10:51:15 2007 UTC (17 years, 1 month ago) by dpavlin
better message

Revision 34 - Directory Listing
Modified Mon Feb 19 21:57:07 2007 UTC (17 years, 1 month ago) by dpavlin
small cleanup

Revision 33 - Directory Listing
Modified Mon Feb 19 21:26:30 2007 UTC (17 years, 1 month ago) by dpavlin
report better messages

Revision 32 - Directory Listing
Modified Mon Feb 19 20:53:09 2007 UTC (17 years, 1 month ago) by dpavlin
actually use transported message in event, result hits message now include source

Revision 31 - Directory Listing
Modified Mon Feb 19 20:40:55 2007 UTC (17 years, 1 month ago) by dpavlin
re-wrote parts of Fetch action to better support it's publish mode
(mostly with error reporting)

Revision 30 - Directory Listing
Modified Mon Feb 19 20:07:48 2007 UTC (17 years, 1 month ago) by dpavlin
transfer item_fragment correctly to results, report number of new results or error
(needs source feed info), removed some debugging code

Revision 29 - Directory Listing
Modified Mon Feb 19 18:25:12 2007 UTC (17 years, 1 month ago) by dpavlin
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 - Directory Listing
Modified Mon Feb 19 16:28:00 2007 UTC (17 years, 1 month ago) by dpavlin
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 26 - Directory Listing
Modified Mon Feb 19 10:58:27 2007 UTC (17 years, 1 month ago) by dpavlin
a sprinke of ajax magic and better detection of grep in search URIs

Revision 25 - Directory Listing
Modified Sun Feb 18 20:45:59 2007 UTC (17 years, 1 month ago) by dpavlin
implement item_fragment selection in UI, better error message,
warn on empty ATOM feeds instead of die

Revision 21 - Directory Listing
Modified Sun Feb 18 15:07:03 2007 UTC (17 years, 1 month ago) by dpavlin
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 - Directory Listing
Modified Sun Feb 18 12:51:26 2007 UTC (17 years, 1 month ago) by dpavlin
added cookie and search_uri to feed model

Revision 9 - Directory Listing
Modified Sat Feb 17 23:32:33 2007 UTC (17 years, 1 month ago) by dpavlin
huge sweeping changes including: PubSub infrastructure and well results :-)

Revision 8 - Directory Listing
Modified Sat Feb 17 21:24:48 2007 UTC (17 years, 1 month ago) by dpavlin
with no results report failure which will keep entered data in form. nice :-)

Revision 7 - Directory Listing
Modified Sat Feb 17 21:22:17 2007 UTC (17 years, 1 month ago) by dpavlin
support %s in feed URI as placeholder for query string

Revision 5 - Directory Listing
Modified Sat Feb 17 18:06:42 2007 UTC (17 years, 1 month ago) by dpavlin
store actual content body, not class name :-)

Revision 3 - Directory Listing
Modified Sat Feb 17 17:10:27 2007 UTC (17 years, 1 month ago) by dpavlin
a try at implementing fetch action

Revision 2 - Directory Listing
Added Sat Feb 17 16:17:18 2007 UTC (17 years, 1 month ago) by dpavlin
items, feeds


  ViewVC Help
Powered by ViewVC 1.1.26