Skip to content
Clone
main
28 lines 534 B Rust
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Britannica;
impl Platform for Britannica {
fn id(&self) -> &'static str {
"britannica"
}
fn name(&self) -> &'static str {
"Encyclopædia Britannica"
}
fn category(&self) -> Category {
Category::Knowledge
}
fn domains(&self) -> &'static [&'static str] {
&["britannica.com"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Britannica = Britannica;