Skip to content
Clone
2f5d35e
28 lines 502 B Rust
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Slashdot;
impl Platform for Slashdot {
fn id(&self) -> &'static str {
"slashdot"
}
fn name(&self) -> &'static str {
"Slashdot"
}
fn category(&self) -> Category {
Category::Forum
}
fn domains(&self) -> &'static [&'static str] {
&["slashdot.org"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Slashdot = Slashdot;