Skip to content
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

Work towards feature parity with Gophernicus' gophermap format #14

Open
dotcomboom opened this issue May 18, 2020 · 0 comments
Open

Work towards feature parity with Gophernicus' gophermap format #14

dotcomboom opened this issue May 18, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request server Relating to Pituophis's server functions (hosting a server)

Comments

@dotcomboom
Copy link
Owner

gopher://rawtext.club/0/docs/gophernicus/README.Gophermap

Namely..

# Hide a few files from the menu listing generated by *
-hiddenfile.txt
-hiddendir

# Change filetypes for this directory
:png=g
:foo=b
Additional type characters supported by Gophernicus:
   #          comment - rest of the line is ignored
   !title     menu title (use on the first line)
   -file      hide file from listings
   :ext=type  change filetype (for this directory only)
   ~          include a list of users with valid ~/public_gopher
   %          include a list of available virtual hosts
   =mapfile   include or execute other gophermap
   *          stop processing gophermap, include file listing
   .          stop processing gophermap (default)

I imagine ! functions like a Gophertag.
Of type characters that will most likely be left out: ~, %, .. (* is a glob, those are already implemented). (Executable Gophermaps will most likely be left out for security reasons; an alt handler could be used instead.)

@dotcomboom dotcomboom added enhancement New feature or request server Relating to Pituophis's server functions (hosting a server) labels May 18, 2020
@dotcomboom dotcomboom self-assigned this May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server Relating to Pituophis's server functions (hosting a server)
Projects
None yet
Development

No branches or pull requests

1 participant