plantimals on Nostr: I'm pulling in RSS feeds and publishing articles for each item. when I do so, I set ...
I'm pulling in RSS feeds and publishing articles for each item. when I do so, I set the published_at date to the same as that of the RSS item, but leave the created_at date on the event to be the present. this seems like the most protocol-respector way of doing it. but now I am running into the pain of returning articles from a certain date, filters can generally be made to apply to the presence or absence of tags, but not "since" or "until" type of operations on the "published_at" tag.
tl;dr - are there any obvious drawbacks to back-dating the events so I can filter appropriately at the relay layer?
Published at
2025-02-10 14:16:40Event JSON
{
"id": "d267dec30fe64262f2c83da890d33eaa5334d464ac965abc498b699e96ba8456",
"pubkey": "dd81a8bacbab0b5c3007d1672fb8301383b4e9583d431835985057223eb298a5",
"created_at": 1739197000,
"kind": 1,
"tags": [
[
"r",
"wss://nos.lol/"
],
[
"r",
"wss://offchain.pub/"
],
[
"r",
"wss://relay.drss.io/"
],
[
"r",
"wss://relay.primal.net/"
],
[
"r",
"wss://nostr.wine/"
]
],
"content": "I'm pulling in RSS feeds and publishing articles for each item. when I do so, I set the published_at date to the same as that of the RSS item, but leave the created_at date on the event to be the present. this seems like the most protocol-respector way of doing it. but now I am running into the pain of returning articles from a certain date, filters can generally be made to apply to the presence or absence of tags, but not \"since\" or \"until\" type of operations on the \"published_at\" tag. \n\ntl;dr - are there any obvious drawbacks to back-dating the events so I can filter appropriately at the relay layer?",
"sig": "6197f25d2eb7afd3e5c9fa7485808ac09cf208a1e64d9da52bf6da2087212499a0015b0e5ce8110e3b7bdc7cfdc448be6e0f3e259fb323657bb61303752fc799"
}