main
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Cnblogs;
impl Platform for Cnblogs {
fn id(&self) -> &'static str {
"cnblogs"
}
fn name(&self) -> &'static str {
"博客园"
}
fn category(&self) -> Category {
Category::Dev
}
fn domains(&self) -> &'static [&'static str] {
&["cnblogs.com"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Cnblogs = Cnblogs;