The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Split planetpg rss into separate feed by author
Pavel Borisova0bdfa8b8e24
diff --git a/apps/www/pages/blog.tsx b/apps/www/pages/blog.tsxindex 49eb7c8351f..5b81312706b 100644--- a/apps/www/pages/blog.tsx+++ b/apps/www/pages/blog.tsx@@ -21,14 +21,44 @@ export async function getStaticProps() {const rss = generateRss(allPostsData)// @ts-ignoreconst planetPgPosts = allPostsData.filter((post) => post.tags.includes('planetpg'))- const planetPgrss = generateRss(planetPgPosts)++ const planetPgPavel = planetPgPosts.filter((post) => post.author.includes('pavel'))+ const planetPgAlexander = planetPgPosts.filter((post) => post.author.includes('alexander'))+ const planetPgMichel = planetPgPosts.filter((post) => post.author.includes('michel'))+ const planetPgSteve = planetPgPosts.filter((post) => post.author.includes('steve_chavez'))+ const planetPgAngelico = planetPgPosts.filter((post) => post.author.includes('angelico_de_los_reyes'))+ const planetPgOli = planetPgPosts.filter((post) => post.author.includes('oli_rice'))+ const planetPgMark = planetPgPosts.filter((post) => post.author.includes('burggraf'))+ const planetPgVictor = planetPgPosts.filter((post) => post.author.includes('victor'))+ const planetPgPaul = planetPgPosts.filter((post) => post.author.includes('paul_copplestone'))+ const planetPgAnt = planetPgPosts.filter((post) => post.author.includes('ant_wilson'))++ const planetPgrssPavel = generateRss(planetPgPavel)+ const planetPgrssAlexander = generateRss(planetPgAlexander)+ const planetPgrssMichel = generateRss(planetPgMichel)+ const planetPgrssSteve = generateRss(planetPgSteve)+ const planetPgrssAngelico = generateRss(planetPgAngelico)+ const planetPgrssOli = generateRss(planetPgOli)+ const planetPgrssMark = generateRss(planetPgMark)+ const planetPgrssVictor = generateRss(planetPgVictor)+ const planetPgrssPaul = generateRss(planetPgPaul)+ const planetPgrssAnt = generateRss(planetPgAnt)// create a rss feed in public directory// rss feed is added via <Head> component in render returnfs.writeFileSync('./public/rss.xml', rss)- // create separate feed for just posts promoted in PlanetPG- fs.writeFileSync('./public/planetpg-rss.xml', planetPgrss)+ // create separate feed for posts to promote in PlanetPG for each author+ fs.writeFileSync('./public/planetpg-pavel-rss.xml', planetPgrssPavel)+ fs.writeFileSync('./public/planetpg-alexander-rss.xml', planetPgrssAlexander)+ fs.writeFileSync('./public/planetpg-michel-rss.xml', planetPgrssMichel)+ fs.writeFileSync('./public/planetpg-steve-rss.xml', planetPgrssSteve)+ fs.writeFileSync('./public/planetpg-angelico-rss.xml', planetPgrssAngelico)+ fs.writeFileSync('./public/planetpg-oli-rss.xml', planetPgrssOli)+ fs.writeFileSync('./public/planetpg-mark-rss.xml', planetPgrssMark)+ fs.writeFileSync('./public/planetpg-victor-rss.xml', planetPgrssVictor)+ fs.writeFileSync('./public/planetpg-paul-rss.xml', planetPgrssPaul)+ fs.writeFileSync('./public/planetpg-ant-rss.xml', planetPgrssAnt)return {props: {diff --git a/apps/www/public/planetpg-rss.xml b/apps/www/public/planetpg-rss.xmldeleted file mode 100644index 9a980d87cea..00000000000--- a/apps/www/public/planetpg-rss.xml+++ /dev/null@@ -1,159 +0,0 @@-- <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">- <channel>- <title>Blog - Supabase</title>- <link>https://supabase.com</link>- <description>Latest news from Supabase</description>- <language>en</language>- <lastBuildDate>Thu, 15 Dec 2022 03:03:30 +0000</lastBuildDate>- <atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/>- <item>- <guid>https://supabase.com/blog/vault-now-in-beta</guid>- <title>Supabase Vault is now in Beta</title>- <link>https://supabase.com/blog/vault-now-in-beta</link>- <description>A Postgres extension to store encrypted secrets and encrypt data.</description>- <pubDate>Thu, 15 Dec 2022 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/postgrest-11-prerelease</guid>- <title>PostgREST 11 pre-release</title>- <link>https://supabase.com/blog/postgrest-11-prerelease</link>- <description>Describes new features of PostgREST 11 pre-release</description>- <pubDate>Thu, 15 Dec 2022 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/postgres-point-in-time-recovery</guid>- <title>Point in Time Recovery is now available for Pro projects</title>- <link>https://supabase.com/blog/postgres-point-in-time-recovery</link>- <description>We're making PITR available for more projects, with a new Dashboard UI that makes it simple to use.</description>- <pubDate>Thu, 15 Dec 2022 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/pg-graphql-v1</guid>- <title>pg_graphql v1.0</title>- <link>https://supabase.com/blog/pg-graphql-v1</link>- <description>Announcing the v1.0 release of pg_graphql</description>- <pubDate>Thu, 15 Dec 2022 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/new-in-postgres-15</guid>- <title>What's new in Postgres 15?</title>- <link>https://supabase.com/blog/new-in-postgres-15</link>- <description>Describes the release of Postgres 15, new features and reasons to use it</description>- <pubDate>Thu, 15 Dec 2022 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/transparent-column-encryption-with-postgres</guid>- <title>Transparent Column Encryption with Postgres</title>- <link>https://supabase.com/blog/transparent-column-encryption-with-postgres</link>- <description>Using pgsodium's Transparent Column Encryption to encrypt data and provide your users with row-level encryption.</description>- <pubDate>Wed, 30 Nov 2022 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/sql-or-nosql-both-with-postgresql</guid>- <title>SQL or NoSQL? Why not use both (with PostgreSQL)?</title>- <link>https://supabase.com/blog/sql-or-nosql-both-with-postgresql</link>- <description>How to turn Postgres into an easy-to-use NoSQL database that retains all the power of SQL</description>- <pubDate>Wed, 23 Nov 2022 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/postgresql-commitfest</guid>- <title>What is PostgreSQL commitfest and how to contribute</title>- <link>https://supabase.com/blog/postgresql-commitfest</link>- <description>A time-tested method for contributing to the core Postgres code</description>- <pubDate>Wed, 26 Oct 2022 02:02:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/postgres-full-text-search-vs-the-rest</guid>- <title>Postgres Full Text Search vs the rest</title>- <link>https://supabase.com/blog/postgres-full-text-search-vs-the-rest</link>- <description>Comparing one of the most popular Postgres features against alternatives</description>- <pubDate>Thu, 13 Oct 2022 02:02:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/postgres-wasm</guid>- <title>Postgres WASM by Snaplet and Supabase</title>- <link>https://supabase.com/blog/postgres-wasm</link>- <description>We're open sourcing postgres-wasm, a PostgresQL server that runs inside a browser, with our friends at Snaplet.</description>- <pubDate>Sun, 02 Oct 2022 02:02:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/choosing-a-postgres-primary-key</guid>- <title>Choosing a Postgres Primary Key</title>- <link>https://supabase.com/blog/choosing-a-postgres-primary-key</link>- <description>Turns out the question of which identifier to use as a Primary Key is complicated -- we're going to dive into some of the complexity and inherent trade-offs, and figure things out</description>- <pubDate>Wed, 07 Sep 2022 02:02:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/seen-by-in-postgresql</guid>- <title>Implementing "seen by" functionality with Postgres</title>- <link>https://supabase.com/blog/seen-by-in-postgresql</link>- <description>Different approaches for tracking visitor counts with PostgreSQL.</description>- <pubDate>Sun, 17 Jul 2022 02:02:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/partial-postgresql-data-dumps-with-rls</guid>- <title>Partial data dumps using Postgres Row Level Security</title>- <link>https://supabase.com/blog/partial-postgresql-data-dumps-with-rls</link>- <description>Using RLS to create seed files for local PostgreSQL testing.</description>- <pubDate>Mon, 27 Jun 2022 02:02:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/audit</guid>- <title>Postgres Auditing in 150 lines of SQL</title>- <link>https://supabase.com/blog/audit</link>- <description>PostgreSQL has a robust set of features which we can leverage to create a generic auditing solution in 150 lines of SQL.</description>- <pubDate>Mon, 07 Mar 2022 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/roles-postgres-hooks</guid>- <title>Protecting reserved roles with PostgreSQL Hooks</title>- <link>https://supabase.com/blog/roles-postgres-hooks</link>- <description>Using Postgres Hooks to protect functionality in your Postgres database.</description>- <pubDate>Thu, 01 Jul 2021 02:02:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/postgres-as-a-cron-server</guid>- <title>Postgres as a CRON Server</title>- <link>https://supabase.com/blog/postgres-as-a-cron-server</link>- <description>Running repetitive tasks with your Postgres database.</description>- <pubDate>Fri, 05 Mar 2021 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/cracking-postgres-interview</guid>- <title>Cracking PostgreSQL Interview Questions</title>- <link>https://supabase.com/blog/cracking-postgres-interview</link>- <description>Understand the top PostgreSQL Interview Questions</description>- <pubDate>Sat, 27 Feb 2021 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/postgresql-views</guid>- <title>Postgres Views</title>- <link>https://supabase.com/blog/postgresql-views</link>- <description>Creating and using a view in PostgreSQL.</description>- <pubDate>Wed, 18 Nov 2020 03:03:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/continuous-postgresql-backup-walg</guid>- <title>Continuous PostgreSQL Backups using WAL-G</title>- <link>https://supabase.com/blog/continuous-postgresql-backup-walg</link>- <description>Have you ever wanted to restore your database's state to a particular moment in time? This post explains how, using WAL-G.</description>- <pubDate>Sun, 02 Aug 2020 02:02:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/postgresql-templates</guid>- <title>What are PostgreSQL Templates?</title>- <link>https://supabase.com/blog/postgresql-templates</link>- <description>What are PostgreSQL templates and what are they used for?</description>- <pubDate>Thu, 09 Jul 2020 02:02:30 +0000</pubDate>-</item>-<item>- <guid>https://supabase.com/blog/postgresql-physical-logical-backups</guid>- <title>Physical vs Logical Backups in PostgreSQL</title>- <link>https://supabase.com/blog/postgresql-physical-logical-backups</link>- <description>What are physical and logical backups in Postgres?</description>- <pubDate>Tue, 07 Jul 2020 02:02:30 +0000</pubDate>-</item>-- </channel>- </rss>