feat: ✨ add RSS and Atom feeds with caching and nice links
This commit is contained in:
parent
c6297fd81b
commit
596cc0e1a3
7 changed files with 120 additions and 1 deletions
|
@ -40,6 +40,17 @@ CREATE TABLE path_access_counts (
|
|||
PRIMARY KEY(access_time, post_path, agent, referrer)
|
||||
);
|
||||
|
||||
CREATE TABLE feed_cache (
|
||||
search_path VARCHAR(255),
|
||||
export_type VARCHAR(255),
|
||||
|
||||
feed_created_on DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||
|
||||
feed_content MEDIUMTEXT,
|
||||
|
||||
PRIMARY KEY(search_path, export_type)
|
||||
);
|
||||
|
||||
INSERT INTO posts (post_path, post_path_depth, post_metadata, post_content)
|
||||
VALUES (
|
||||
'/about',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue