~jameschip

UK

https://www.jameschip.io

Writer of software and maker of tabletop games.

~jameschip/rpg-design

Last active 1 year, 8 months ago

~jameschip/mfgj-discuss

Last active 1 year, 9 months ago
View more

Recent activity

Why not use the markdown way to deal with long lines? 1 year, 8 months ago

From James Henderson to ~adnano/gemini

> In theory, better now than later.

Or not at all. If you want markdowns line ends then use markdown.

>

Genini requests with ncat 1 year, 10 months ago

From James Henderson to ~adnano/gemini

Aha I see what the problem was!

As it happened I had the port in the command but just neglected it in the message, my bad.

The fail was caused by putting the / on the end of the url being passed to ncat. With the / on the end of that the lookup fails it appears. Seeing your working command made it obvious.

Thanks.

On Tue, Sep 22, 2020 at 16:30, Julien Blanchard <julien at typed-hole.org> wrote:

> On 22/09/2020 17:18, James Henderson wrote:
>> Hi there,
>>
>> I am trying to make gemini requests with ncat and have hit a bit of a

Genini requests with ncat 1 year, 10 months ago

From James Henderson to ~adnano/gemini

Hi there,

I am trying to make gemini requests with ncat and have hit a bit of a stumbling block that I am not sure how to solve so was wondering if anyone here knew what was going on.

If i make a request as such:

echo -e ?gemini://gemini.conman.org\r\n? | ncat ?ssl ?gemini.conman.org? >page.out

I get the expected index page from gemini.conman.org printed into a file.

However if i try the same with

echo -e ?gemini://gemini.circumlunar.space\r\n? | ncat ?ssl ?gemini.circumlunar.space? >page.out

Feed format for gemini (alternative to rss feed) 1 year, 11 months ago

From James Henderson to ~adnano/gemini

The reason I went for non csv in this is that people might want to use commas in the description or title.

This can be solved by enclosing strings in quotations but then if people want to include quotations in their strings they need to be escaped.

The idea behind using ::: is that its rare enough to never really show up and therefore makes a fairly solid delimiter. It also makes manually writing a feed file easier because commas quotes and escapes are not a concern at all.

Basically its just more simple and clean, in my mind anyway.

On Mon, Sep 7, 2020 at 08:36, cblte <cblte at envs.net> wrote:

> Am 06.09.20 um 23:15 schrieb James Henderson:
>> Hello everyone,
>>
>> As content starts growing on gemini there may be cause for an rss

Feed format for gemini (alternative to rss feed) 1 year, 11 months ago

From James Henderson to ~adnano/gemini

Hello everyone,

As content starts growing on gemini there may be cause for an rss style feed for the platform.

rss is fine but it?s fairly verbose and Allows for things like embedding images and the like which don?t seem to fit well with gemini.
My proposal is a simpler format where each line in a file is an item in a feed with fields separated by three colons and the line ending \r\n.
The four fields would be date, link, title, text description e.g.

yyyy/mm/dd ::: link_to_article ::: title ::: text describing the content \r\n

A format like this is easily parsed and displayed in a client. If the gemini protocol defines a mime type for it in the standard it would be easily recognised.

I am just throwing the idea out there, what do people think?