-
-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gopher Support #1756
Comments
Hi, and thanks for filing this issue. As you mentioned, Gopher doesn't look like it has a very large user base, but we're not necessarily against adding a new format. All of the formats are currently implemented as separate plugins (in this directory). So, a new Gopher one would do the same (and could use one of the current plugins as a base). Support for fhis feature isn't a currently priority for us, but if it gets enough support and/or someone to volunteer to develop the plugin, we can definitely talk about including it in the default jrnl distribution. |
Use Case/Motivation
I have a gopher blog (phlog) that is out of date because of the hassle of updating the gopher file and fixing up the formatting of the output for Gopher. I think that jrnl is pretty awesome and would do gopher pretty well. What I think would be cool is if there was a format
gopher
that would wrap the text at 70 characters wide and provide a gopher style link back to the parent directory at the bottom. If a user provides an output that points to a directory the file should be created with the file name being the date but we should also get a file called .gophermap that is a gopher map of the directory. This mimics the yaml output behavior a little bit.Gophermap format - https://github.com/gophernicus/gophernicus/blob/da3390089c2a856db1ab2e3bd9751b9a9101a33a/README.gophermap
Example Usage
jrnl --format gopher
jrnl --format gopher --output --file 'my_directory/'
Other Information
I know gopher isn't super popular but I think this would be a cool feature to have.
The text was updated successfully, but these errors were encountered: