Module: Raggle::Engine

Module | Raggle::Engine
In: | raggle (CVS)

Module containing Raggle functions and classes specific to grabbing, parsing, and storing feeds.

### Methods

add_feed create_cache_lock delete_feed destroy_cache_lock edit_feed expand_config expand_str find_feeds get_exec_url get_file_url get_http_url get_url grab_feed invalidate_feed load_config load_feed_cache purge_feed_cache save_config save_feed_cache save_feed_list set_thread_priorities sort_feeds start_feed_thread start_grab_log start_save_thread

### Public Class methods

add_feed(opts)

add a new feed

create_cache_lock()

create a lock file for raggle

delete_feed(id)

delete a feed by id

destroy_cache_lock()

destroy raggle lock file

edit_feed(id, opts)

edit an existing feed

expand_config()

expand path macros in $config

expand_str(str)

expand individual string in config

find_feeds(str)

search for feeds, return array of hashes w/ results

get_exec_url(url, last_modified = nil)

Return the contents of an exec URL

get_file_url(url, last_modified = nil)

Return the contents of a file URL

get_http_url(url, last_modified = nil)

Return the contents of a HTTP URL

get_url(url, last_modified = nil)

Return the contents of a URL

grab_feed(feed)

grab individual feed (called by feed grabbing thread)

invalidate_feed(id)

Invalidate a feed by id

load_config()

Load default config, handle command-line arguments, load user config file.

load_feed_cache()

load feed cache

purge_feed_cache()

purge extra feeds in cache

save_config(quit=true)

Save configuration (feed cache, feed list, and possibly theme)

save_feed_cache()

save feed cache

save_feed_list(quit=true)

save feed list

set_thread_priorities()

Set thread priorities

sort_feeds()

Sort feeds

start_feed_thread()

Start and return the feed-grabbing thread

start_grab_log()
start_save_thread()

[Validate]