Skip to content

Commit

Permalink
Merge pull request #14627 from ethereum/0xparc-rss-removal
Browse files Browse the repository at this point in the history
0xPARC rss removal
  • Loading branch information
corwintines authored Jan 8, 2025
2 parents 579dbbb + 395a971 commit 1e2a2c4
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 19 deletions.
10 changes: 0 additions & 10 deletions public/images/0xparc-logo.svg

This file was deleted.

67 changes: 66 additions & 1 deletion src/data/mocks/rssData.json
Original file line number Diff line number Diff line change
@@ -1 +1,66 @@
[[{"pubDate":"Sat, 28 Sep 2024 00:00:00 +0000","title":"Making Ethereum alignment legible","link":"https://vitalik.ca/general/2024/09/28/alignment.html","imgSrc":"http://vitalik.ca/images/icon.png","source":"Vitalik Buterin's website","sourceUrl":"https://vitalik.ca/","sourceFeedUrl":"https://vitalik.eth.limo/feed.xml"}],[{"pubDate":"Fri, 13 Sep 2024 00:00:00 GMT","title":"4844 Data Challenge: Insights and Winners","link":"https://blog.ethereum.org/en/2024/09/13/4844-data-challenge","imgSrc":"https://storage.googleapis.com/ethereum-hackmd/upload_84404ba6ed463992c8eaee78610b3264.jpeg","source":"Ethereum Foundation Blog","sourceUrl":"https://blog.ethereum.org","sourceFeedUrl":"https://blog.ethereum.org/en/feed.xml"},{"pubDate":"Tue, 31 Dec 2013 18:00:37 GMT","title":"Bootstrapping A Decentralized Autonomous Corporation: Part I","link":"https://blog.ethereum.org/en/2013/12/31/bootstrapping-a-decentralized-autonomous-corporation-part-i","imgSrc":"https://blog.ethereum.org/images/posts/blackhole.jpg","source":"Ethereum Foundation Blog","sourceUrl":"https://blog.ethereum.org","sourceFeedUrl":"https://blog.ethereum.org/en/feed.xml"}],[{"pubDate":"Thu, 22 Aug 2024 00:00:00 +0000","title":"Xatu Consensus Layer P2P tables now available","link":"https://ethpandaops.io/posts/xatu-consensus-layer-p2p/","imgSrc":"https://ethpandaops.io/posts/xatu-consensus-layer-p2p/featured.png","source":"Posts 🤓 on ethPandaOps","sourceUrl":"https://ethpandaops.io/posts/","sourceFeedUrl":"https://ethpandaops.io/posts/index.xml"}],[{"pubDate":"Tue, 02 Jul 2024 00:00:00 GMT","title":"Staking Survey 2024","link":"https://paragraph.xyz/@ethstaker/staking-survey-2024","imgSrc":"https://storage.googleapis.com/papyrus_images/9a642b5e66cd993febd6e331cfa62de9.jpg","source":"ethstaker","sourceUrl":"https://paragraph.xyz/@ethstaker","sourceFeedUrl":"https://paragraph.xyz/api/blogs/rss/@ethstaker"}],[{"pubDate":"Tue, 30 Jul 2024 12:00:00 GMT","title":"Programmable Cryptography (Part 1)","link":"https://0xparc.org/blog/programmable-cryptography-1","imgSrc":"https://0xparc.org/favicon.f94d7815.png","source":"0xPARC","sourceUrl":"https://0xparc.org/blog","sourceFeedUrl":"https://rss.app/feeds/cWXGYts0ZM8C3F6t.xml"}]]
[
[
{
"pubDate": "Sat, 28 Sep 2024 00:00:00 +0000",
"title": "Making Ethereum alignment legible",
"link": "https://vitalik.ca/general/2024/09/28/alignment.html",
"imgSrc": "http://vitalik.ca/images/icon.png",
"source": "Vitalik Buterin's website",
"sourceUrl": "https://vitalik.ca/",
"sourceFeedUrl": "https://vitalik.eth.limo/feed.xml"
}
],
[
{
"pubDate": "Fri, 13 Sep 2024 00:00:00 GMT",
"title": "4844 Data Challenge: Insights and Winners",
"link": "https://blog.ethereum.org/en/2024/09/13/4844-data-challenge",
"imgSrc": "https://storage.googleapis.com/ethereum-hackmd/upload_84404ba6ed463992c8eaee78610b3264.jpeg",
"source": "Ethereum Foundation Blog",
"sourceUrl": "https://blog.ethereum.org",
"sourceFeedUrl": "https://blog.ethereum.org/en/feed.xml"
},
{
"pubDate": "Tue, 31 Dec 2013 18:00:37 GMT",
"title": "Bootstrapping A Decentralized Autonomous Corporation: Part I",
"link": "https://blog.ethereum.org/en/2013/12/31/bootstrapping-a-decentralized-autonomous-corporation-part-i",
"imgSrc": "https://blog.ethereum.org/images/posts/blackhole.jpg",
"source": "Ethereum Foundation Blog",
"sourceUrl": "https://blog.ethereum.org",
"sourceFeedUrl": "https://blog.ethereum.org/en/feed.xml"
}
],
[
{
"pubDate": "Thu, 22 Aug 2024 00:00:00 +0000",
"title": "Xatu Consensus Layer P2P tables now available",
"link": "https://ethpandaops.io/posts/xatu-consensus-layer-p2p/",
"imgSrc": "https://ethpandaops.io/posts/xatu-consensus-layer-p2p/featured.png",
"source": "Posts 🤓 on ethPandaOps",
"sourceUrl": "https://ethpandaops.io/posts/",
"sourceFeedUrl": "https://ethpandaops.io/posts/index.xml"
}
],
[
{
"pubDate": "Tue, 02 Jul 2024 00:00:00 GMT",
"title": "Staking Survey 2024",
"link": "https://paragraph.xyz/@ethstaker/staking-survey-2024",
"imgSrc": "https://storage.googleapis.com/papyrus_images/9a642b5e66cd993febd6e331cfa62de9.jpg",
"source": "ethstaker",
"sourceUrl": "https://paragraph.xyz/@ethstaker",
"sourceFeedUrl": "https://paragraph.xyz/api/blogs/rss/@ethstaker"
}
],
[
{
"pubDate": "Thu, 27 Dec 2024 12:00:00 GMT",
"title": "Solidity Developer Survey 2024 is Live!",
"link": "https://soliditylang.org/blog/2024/12/27/solidity-developer-survey-2024-announcement/",
"imgSrc": "/images/solidity-banner.png",
"source": "Solidity",
"sourceUrl": "https://soliditylang.org/blog",
"sourceFeedUrl": "https://soliditylang.org/feed.xml"
}
]
]
3 changes: 1 addition & 2 deletions src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ export const RSS_DISPLAY_COUNT = 6

export const VITALIK_FEED = "https://vitalik.eth.limo/feed.xml"
export const SOLIDITY_FEED = "https://soliditylang.org/feed.xml"
export const _0X_PARC_FEED = "https://rss.app/feeds/cWXGYts0ZM8C3F6t.xml"

export const COMMUNITY_BLOGS: CommunityBlog[] = [
{
Expand All @@ -206,8 +205,8 @@ export const COMMUNITY_BLOGS: CommunityBlog[] = [
feed: "https://raw.githubusercontent.com/eth-educators/github-actions/refs/heads/main/_data/blog_data.xml",
},
{
name: "0xPARC",
href: "https://0xparc.org/blog",
feed: _0X_PARC_FEED,
},
{
href: "https://www.attestant.io/posts/",
Expand Down
7 changes: 1 addition & 6 deletions src/lib/utils/rss.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { _0X_PARC_FEED, SOLIDITY_FEED, VITALIK_FEED } from "../constants"
import { SOLIDITY_FEED, VITALIK_FEED } from "../constants"
import type { RSSItem } from "../types"

export const sortByPubDate = (items: RSSItem[]) =>
Expand Down Expand Up @@ -27,11 +27,6 @@ export const postProcess = (rssItems: RSSItem[]) =>
...item,
imgSrc: "/images/solidity-banner.png",
}
case _0X_PARC_FEED:
return {
...item,
imgSrc: "/images/0xparc-logo.svg",
}
default:
return item
}
Expand Down

0 comments on commit 1e2a2c4

Please sign in to comment.