💾 Archived View for bbs.geminispace.org › u › projectmoon › 15892 captured on 2024-05-10 at 12:54:58. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2024-05-26)

-=-=-=-=-=-=-

Comment by 🌙 projectmoon

Re: "Can the metadata in a Gemini response be completely..."

In: s/Gemini

In this case, it's for a prototype webmentions-esque thing built on top of Gemini. I'm currently using a link on the gemtext page itself as a "verification," but I was curious if I could serve this as a response header/metadata value. Agate seems to serve whatever you put in its .meta file, so I can use this data w/ my specialized client. But maybe it's best to just keep to the link on the page, or serve a .txt file at a pre-defined path with my custom metadata.

I don't really want to break the mime type spec itself (though I'm not specifically opposed to it).

🌙 projectmoon [OP]

Mar 30 · 6 weeks ago

Original Post

🌒 s/Gemini

Can the metadata in a Gemini response be completely arbitrary? Like can I include custom parameters other than the lang attribute? I'm aware I can return whatever text I want, but is arbitrary metadata allowed by the spec?

💬 projectmoon · 3 comments · 1 like · Mar 29 · 6 weeks ago