buttercat1791 on Nostr: I am leaning towards moving the title and author information into the tags. However, ...
I am leaning towards moving the title and author information into the tags.
However, as I've been thinking through the problem, another question popped up: How is the order in which "child" events are to be displayed encoded? Is it implicit in the tag order?
Maybe the content field would be better used to provide some sort of display hint so that clients are more likely to display the indexed content in the correct order.
Yes, tags are represented by an array, and arrays are ordered by nature, but a bunch of other event metadata may be contained in tags that isn't immediately relevant to the indexed article contents.
Published at
2024-07-08 01:18:54Event JSON
{
"id": "3c7e898275dcb06085c3253686b56c432350f5555e78bb3ed36024f98aae1664",
"pubkey": "70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9",
"created_at": 1720394334,
"kind": 1,
"tags": [
[
"e",
"265f615b4bdf3eef9c4a550430dc08d30510ba049870e6646bab3df0fbfb36c1",
"wss://nostr.wine/",
"root"
],
[
"e",
"f0186e723a364976bd8bb6fa4ba44e32ec2b6605b6d7cf6dfb069e2c1d767e30",
"wss://christpill.nostr1.com/",
"reply"
],
[
"p",
"dd664d5e4016433a8cd69f005ae1480804351789b59de5af06276de65633d319",
"",
"mention"
],
[
"p",
"dc4cd086cd7ce5b1832adf4fdd1211289880d2c7e295bcb0e684c01acee77c06",
"",
"mention"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",
"",
"mention"
]
],
"content": "I am leaning towards moving the title and author information into the tags.\n\nHowever, as I've been thinking through the problem, another question popped up: How is the order in which \"child\" events are to be displayed encoded? Is it implicit in the tag order?\n\nMaybe the content field would be better used to provide some sort of display hint so that clients are more likely to display the indexed content in the correct order.\n\nYes, tags are represented by an array, and arrays are ordered by nature, but a bunch of other event metadata may be contained in tags that isn't immediately relevant to the indexed article contents.",
"sig": "7748d27872707495903b014db5c46b91ac614edf3ec0873c278b8b154dea7fa881c004557e9438b32b84b17c89522d3d5baedd745075cc48d110b30bb1c6e81f"
}