Add Atom feeds for blogs and users

This commit is contained in:
Bat
2018-09-01 21:08:26 +01:00
parent 5cb994c15b
commit 97c0b533ab
8 changed files with 109 additions and 4 deletions
+3
View File
@@ -2,6 +2,7 @@
#![plugin(rocket_codegen)]
extern crate activitypub;
extern crate atom_syndication;
extern crate colored;
extern crate diesel;
extern crate dotenv;
@@ -45,6 +46,7 @@ fn main() {
routes::blogs::new,
routes::blogs::new_auth,
routes::blogs::create,
routes::blogs::atom_feed,
routes::comments::create,
@@ -98,6 +100,7 @@ fn main() {
routes::user::ap_followers,
routes::user::new,
routes::user::create,
routes::user::atom_feed,
routes::well_known::host_meta,
routes::well_known::nodeinfo,