Skip to content

Commit 39ff461

Browse files
committed
add RSS for desci and grants
1 parent 5a74537 commit 39ff461

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

curate.config.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,40 @@
700700
"botToken": "{TELEGRAM_BOT_TOKEN}",
701701
"channelId": "@desciunderground"
702702
}
703+
},
704+
{
705+
"transform": [
706+
{
707+
"plugin": "@curatedotfun/object-transform",
708+
"config": {
709+
"mappings": {
710+
"title": "{{title}}",
711+
"content": "<h2>{{title}}</h2><p>{{summary}}</p>",
712+
"description": "{{summary}}",
713+
"link": "{{source}}",
714+
"publishedAt": "{{createdAt}}",
715+
"author": {
716+
"name": "{{username}}",
717+
"link": "https://x.com/{{author}}"
718+
},
719+
"categories": ["desci", "{{tags}}"],
720+
"source": {
721+
"url": "{{source}}",
722+
"title": "twitter"
723+
}
724+
}
725+
}
726+
}
727+
],
728+
"plugin": "@curatedotfun/rss",
729+
"config": {
730+
"serviceUrl": "https://desci-rss.up.railway.app",
731+
"apiSecret": "{DESCI_RSS_API_SECRET}",
732+
"feedConfig": {
733+
"title": "DeSci World",
734+
"description": "Decentralized Science updates"
735+
}
736+
}
703737
}
704738
]
705739
}

0 commit comments

Comments
 (0)