Skip to main content

elizaos_plugin_rss/
lib.rs

1#![allow(missing_docs)]
2
3pub mod client;
4pub mod error;
5pub mod parser;
6pub mod plugin;
7pub mod service;
8pub mod types;
9
10pub mod actions;
11pub mod providers;
12
13pub use actions::get_feed::{Action, ActionExample};
14pub use actions::{
15    get_rss_action_names, GetFeedAction, ListFeedsAction, SubscribeFeedAction,
16    UnsubscribeFeedAction,
17};
18pub use client::{extract_urls, format_relative_time, RssClient};
19pub use error::{Result, RssError};
20pub use parser::{create_empty_feed, parse_rss_to_json};
21pub use plugin::{create_plugin, get_rss_plugin, RssPlugin};
22pub use providers::feed_items::{Provider, ProviderParams, ProviderResult};
23pub use providers::{get_rss_provider_names, FeedItemsProvider};
24pub use service::RssService;
25pub use types::{FeedFormat, RssConfig, RssFeed, RssItem};
26
27pub const PLUGIN_NAME: &str = "rss";
28pub const PLUGIN_DESCRIPTION: &str = "RSS/Atom feed monitoring and subscription management";
29pub const PLUGIN_VERSION: &str = env!("CARGO_PKG_VERSION");