Replying to Avatar crrdlx

Right now its not going to render anywhere because the only client that will render is mine, but your event is mostly correct.

if you want to render it, here's my client. Very hacked together, but functional (last i checked)

https://github.com/limina1/indextr-client

You'd have to chang the relays you're connected to: go to src/lib/consts.ts, where you can replace Damus with nos.lol to the list of standard relays.

Next, because you have regular text in the .content, you'd have to change src/lib/ArticleHeader.svelte. It currently has the content as a stringified json.

Line 10:

```

//change

const title: string = JSON.parse(event.content).title;

//to

const title: string = event.content;

```

Reply to this note

Please Login to reply.

Discussion

No replies yet.