//! 站点不允许内嵌,渲染成带平台标识的卡片。 use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Phpbb; impl Platform for Phpbb { fn id(&self) -> &'static str { "phpbb" } fn name(&self) -> &'static str { "phpBB" } fn category(&self) -> Category { Category::Forum } fn domains(&self) -> &'static [&'static str] { &["phpbb.com"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Phpbb = Phpbb;