From b3ea04824468062dff95a7342a0cdf5053b62b58 Mon Sep 17 00:00:00 2001 From: deadvey Date: Wed, 27 Aug 2025 16:36:21 +0100 Subject: [PATCH] bug fix RSS and ATOM using func.render_md instead of showdown --- views/syndication/global_atom.ejs | 2 +- views/syndication/global_rss.ejs | 2 +- views/syndication/user_atom.ejs | 2 +- views/syndication/user_rss.ejs | 2 +- webroot/custom.css | 0 webroot/robots.txt | 96 +++++++++++++++++++++++++++++++ 6 files changed, 100 insertions(+), 4 deletions(-) create mode 100644 webroot/custom.css create mode 100644 webroot/robots.txt diff --git a/views/syndication/global_atom.ejs b/views/syndication/global_atom.ejs index 3e27a0c..c68b04e 100644 --- a/views/syndication/global_atom.ejs +++ b/views/syndication/global_atom.ejs @@ -10,7 +10,7 @@ <%= posts[postID]["title"] %> <%= config.site_url %>/post/<%= postID %> - ]]> + ]]> <%= config.site_url %>/post/<%= postID %> <%# func.unix_time_to_atom_date(posts[postID]['pubdate']) %> <% for (let tag_index = 0; tag_index < posts[postID]['tags'].length; tag_index++) { %> diff --git a/views/syndication/global_rss.ejs b/views/syndication/global_rss.ejs index d919514..bdb0ea0 100644 --- a/views/syndication/global_rss.ejs +++ b/views/syndication/global_rss.ejs @@ -9,7 +9,7 @@ <%= posts[postID]["title"] %> <%= config.site_url %>/post/<%= postID %> - ]]> + ]]> <%= config.site_url %>/post/<%= postID %> <%= func.unix_time_to_rss_date(posts[postID]['pubdate']) %> <% for (let tag_index = 0; tag_index < posts[postID]['tags'].length; tag_index++) { %> diff --git a/views/syndication/user_atom.ejs b/views/syndication/user_atom.ejs index 4b429d9..747d059 100644 --- a/views/syndication/user_atom.ejs +++ b/views/syndication/user_atom.ejs @@ -11,7 +11,7 @@ <%= posts[postID]["title"] %> <%= config.site_url %>/post/<%= postID %> - ]]> + ]]> <%= config.site_url %>/post/<%= postID %> <%# func.unix_time_to_atom_date(posts[postID]['pubdate']) %> <% for (let tag_index = 0; tag_index < posts[postID]['tags'].length; tag_index++) { %> diff --git a/views/syndication/user_rss.ejs b/views/syndication/user_rss.ejs index d5ae971..383ccb7 100644 --- a/views/syndication/user_rss.ejs +++ b/views/syndication/user_rss.ejs @@ -10,7 +10,7 @@ <%= posts[postID]["title"] %> <%= config.site_url %>/post/<%= postID %> - ]]> + ]]> <%= config.site_url %>/post/<%= postID %> <%= func.unix_time_to_rss_date(posts[postID]['pubdate']) %> <% for (let tag_index = 0; tag_index < posts[postID]['tags'].length; tag_index++) { %> diff --git a/webroot/custom.css b/webroot/custom.css new file mode 100644 index 0000000..e69de29 diff --git a/webroot/robots.txt b/webroot/robots.txt new file mode 100644 index 0000000..317b84a --- /dev/null +++ b/webroot/robots.txt @@ -0,0 +1,96 @@ +User-agent: AddSearchBot +User-agent: AI2Bot +User-agent: Ai2Bot-Dolma +User-agent: aiHitBot +User-agent: Amazonbot +User-agent: Andibot +User-agent: anthropic-ai +User-agent: Applebot +User-agent: Applebot-Extended +User-agent: Awario +User-agent: bedrockbot +User-agent: bigsur.ai +User-agent: Brightbot 1.0 +User-agent: Bytespider +User-agent: CCBot +User-agent: ChatGPT Agent +User-agent: ChatGPT-User +User-agent: Claude-SearchBot +User-agent: Claude-User +User-agent: Claude-Web +User-agent: ClaudeBot +User-agent: CloudVertexBot +User-agent: cohere-ai +User-agent: cohere-training-data-crawler +User-agent: Cotoyogi +User-agent: Crawlspace +User-agent: Datenbank Crawler +User-agent: Devin +User-agent: Diffbot +User-agent: DuckAssistBot +User-agent: Echobot Bot +User-agent: EchoboxBot +User-agent: FacebookBot +User-agent: facebookexternalhit +User-agent: Factset_spyderbot +User-agent: FirecrawlAgent +User-agent: FriendlyCrawler +User-agent: Gemini-Deep-Research +User-agent: Google-CloudVertexBot +User-agent: Google-Extended +User-agent: Google-Firebase +User-agent: GoogleAgent-Mariner +User-agent: GoogleOther +User-agent: GoogleOther-Image +User-agent: GoogleOther-Video +User-agent: GPTBot +User-agent: iaskspider/2.0 +User-agent: ICC-Crawler +User-agent: ImagesiftBot +User-agent: img2dataset +User-agent: ISSCyberRiskCrawler +User-agent: Kangaroo Bot +User-agent: LinerBot +User-agent: meta-externalagent +User-agent: Meta-ExternalAgent +User-agent: meta-externalfetcher +User-agent: Meta-ExternalFetcher +User-agent: MistralAI-User +User-agent: MistralAI-User/1.0 +User-agent: MyCentralAIScraperBot +User-agent: netEstate Imprint Crawler +User-agent: NovaAct +User-agent: OAI-SearchBot +User-agent: omgili +User-agent: omgilibot +User-agent: OpenAI +User-agent: Operator +User-agent: PanguBot +User-agent: Panscient +User-agent: panscient.com +User-agent: Perplexity-User +User-agent: PerplexityBot +User-agent: PetalBot +User-agent: PhindBot +User-agent: Poseidon Research Crawler +User-agent: QualifiedBot +User-agent: QuillBot +User-agent: quillbot.com +User-agent: SBIntuitionsBot +User-agent: Scrapy +User-agent: SemrushBot-OCOB +User-agent: SemrushBot-SWA +User-agent: ShapBot +User-agent: Sidetrade indexer bot +User-agent: Thinkbot +User-agent: TikTokSpider +User-agent: Timpibot +User-agent: VelenPublicWebCrawler +User-agent: WARDBot +User-agent: Webzio-Extended +User-agent: wpbot +User-agent: YaK +User-agent: YandexAdditional +User-agent: YandexAdditionalBot +User-agent: YouBot +Disallow: /