diff options
| author | Xe Iaso <me@christine.website> | 2022-07-04 14:44:00 +0000 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2022-07-04 14:44:00 +0000 |
| commit | 6be8b24dd293e3d48eafc37cecf1d98971be81f8 (patch) | |
| tree | e7b405b0bcb4d6155b95996002a379f829106c41 /src/post/mod.rs | |
| parent | 03fa2e33a1fb935776bf385382ddfa1ef2a5020c (diff) | |
| download | xesite-6be8b24dd293e3d48eafc37cecf1d98971be81f8.tar.xz xesite-6be8b24dd293e3d48eafc37cecf1d98971be81f8.zip | |
rename jsonfeed to xe_jsonfeed to prepare for my own extensions
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'src/post/mod.rs')
| -rw-r--r-- | src/post/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/post/mod.rs b/src/post/mod.rs index 96c3e73..f24b29c 100644 --- a/src/post/mod.rs +++ b/src/post/mod.rs @@ -27,16 +27,16 @@ pub struct NewPost { pub link: String, } -impl Into<jsonfeed::Item> for Post { - fn into(self) -> jsonfeed::Item { - let mut result = jsonfeed::Item::builder() +impl Into<xe_jsonfeed::Item> for Post { + fn into(self) -> xe_jsonfeed::Item { + let mut result = xe_jsonfeed::Item::builder() .title(self.front_matter.title) .content_html(self.body_html) .id(format!("https://xeiaso.net/{}", self.link)) .url(format!("https://xeiaso.net/{}", self.link)) .date_published(self.date.to_rfc3339()) .author( - jsonfeed::Author::new() + xe_jsonfeed::Author::new() .name("Xe Iaso") .url("https://xeiaso.net") .avatar("https://xeiaso.net/static/img/avatar.png"), |
