Webring
Do you remember webrings? It seemed like every Geocities page had one, back in the day. Do you want some of that nostalgia back? Well, good news, comic_git supports them!
To set up a webring, you'll be working with a JSON file. Don't worry if that sounds intimidating, JSON files are just text files with a specific format, like the INI files you've already been working with.
The first thing you'll need is to create a JSON file that's accessible on the public internet somewhere. This file will contain the information for all the sites on the webring, and each site using it will need to access it. See the JSON File section below for how to set that up.
Then, you'll need to add a [Webring] section to your comic_info.ini file, and add some config options to it. See the Config Options section below for more info on that.
After that, just build your website and you should see your webring showing up at the bottom of each page on your website!




JSON File
The JSON file will contain all the information needed for a site to build its own webring layout. Its structure is important, so make sure to follow the schema defined below.
Important Note: If someone else has already created this file and you're just trying to enable the webring on your own comic_git site, you can skip this section and go right to Config Options below.
label
Optional
Value:
stringDefault: empty string
The name of the header above the webring on the user's site.
home
Optional
Value:
dictionaryDefault: none
If defined, a link to the webring homepage will be included in the webring layout. Must follow the schema of the Comic dictionary below.
members
Required
Value:
listof dictionaries
A list of all the comics in the webring. Each item in the list must be a dictionary matching the Comic dictionary schema below. The order of the dictionaries in the list defines what comic is the "previous" and "next" links for a given comic.
The list wraps around, so if we take the Example Payload below, for Clara's Cliffside, the "Previous" comic would be Bertrand's Barn and the "Next" comic would be Albert's Atrium.
Comic dictionary
id
Required
Value:
string
Any string uniquely identifying the given comic. It does not have to match the name of the comic. It will be used by a user when setting his Config Options, so that comic_git can identify what the "Previous" and "Next" comics will be.
This value is not required when defining the dictionary for the home entry.
name
Optional
Value:
stringDefault: empty string
The name of the comic as displayed on the website. May not be displayed if image is defined.
image
Optional:
Value:
string: URL of an image fileDefault: none
If defined, the given image will be displayed as a link to the given comic.
Example Payload
Config Options
Enable webring
Optional
Value:
boolean:TrueorFalseDefault:
False
If True, enables the webring feature. If False, all other options in this section are ignored.
Endpoint
Required if "Enable webring" is True
Value:
string
The URL to the JSON file containing the webring data. See JSON File below.
This can be a URL to a file on another website (e.g. https://my.webring.com/webring.json) or to a file on your own site (e.g. /your_content/webring.json).
Webring ID
Required if "Enable webring" is True
Value:
string
A unique ID for your comic, as defined in id field of the webring data returned by the Endpoint. This is needed to know where your comic is in the list of comics in the webring.
Show all members
Optional
Value:
boolean:TrueorFalseDefault:
False
If True, instead of the webring displaying a Previous and Next link, it will display all webring members at once in a list.
Exclude own comic from members
Optional
Value:
booleanDefault:
False
By default, the "Show all members" option will include your own comic in that list. If you set this option to True, your comic won't show up in the list of webring members.
Example
Last updated