the settings file
This is the file where you enter the settings for the story. Each line is one
option. Each option looks like this:
name=value
The options that are valid for an ONGoing stories are explained below. The
explanation is not complete yet. Wait for it.
<number>
The alt text. For example "10=Wait for it.
" means that on frame 10
the alt text changes to "Wait for it.
border
The width in pixels of the border around the frame
cfrt
The filename of the frame displayed when trying to view a frame that wasn't
ONGed yet. If left empty, the viewer will not show unONGed frames at all.
enhance
The number of additional enhancements in the viewer.
enhance-<number>
Name of the enhancement. 0 is the original.
first
The number of the first frame. because the story can start from 0 or 1.
frame
The format of the frame filename. Generated by the AWK sprintf function with the
frame number as the parameter. Example: frame=t1i-%04u.png
frame-<number>
The format of the enhanced frame filename. Generated by the AWK sprintf function
with the frame number as the parameter. Example:
frame-1=bluet1i-%04u.png
framedir
No longer valid.
inframe
The format of the frame filename in the frame upload directory. Generated by the
AWK sprintf function with the frame number as the parameter. Example:
inframe=%u.png
last
The number of the last frame. Can be left empty for an ongoing story. However if
the last frame is already uploaded and this parameter is set, ONGing the last
frame changes the state to 3.
match
The text that the bot will look for whed determining if a frame was ONGed or
not. Generated by the AWK sprintf function with the frame number as the
parameter. The parameter can me repeated any number of times. Example:
match=(ongoing\.png\?f=0*%u)|(bftf-%04u\.png)|(/aftertime/frame\?(([a-zA-Z&;0-9=]*story=bftf[a-zA-Z&;0-9=]*f=0*%u)|([a-zA-Z&;0-9=]*f=0*%u[a-zA-Z&;0-9=]*story=bftf)))
npbcommand
No longer valid.
npbframe
The format of the NewpixbOTTified frame filename. Generated by the AWK
sprintf function with the frame number as the parameter. Example:
npbframe=npbftf-%04u.png
npbprob
The probability of the NewpixbOTTified frame appeared in the ONG post.
between 0 and 1.
ongoing
Defines it the story is ONGoing or not. Valid values are 0 - not ongoing,
1 - ongoing from here, 2 - ongoing and ketchupped from elsewhere
(mscha's viewer, ...).
ongtime
Time in hours between ONGs. Valid values.
are: 1, 2, 3, 4, 6, 8, 12, 24.
othervieweroffset
The number added to the frame number when linking to a different viewer.
Positive or negative.
otherviewertext
The text of a link to a different viewer. Generated by the AWK sprintf function
with the frame number as the parameter.
otherviewerurl
The format of the url of a different viewer. If left empty, there will be no
link. Example: otherviewerurl=http://xkcd.mscha.org/vieweraftertime/t1i-%04u
title
The format of the title above the frame. Generated by the AWK sprintf function
with the frame number as the parameter. Example:
title=t1i-%04u
title-<number>
The format of the title above the enhanced frame. Generated by the AWK sprintf
function with the frame number as the parameter.
Example: title-1=blue t1i-%04u
sf-<number>
Meteor frame. Only valid for Time.
story
The story ID.
subject
he format of the ONG post subject the frame. Generated by the
AWK sprintf function with the frame number as the parameter. Example:
subject=BFTF-%04u
width
The width in pixels of the frame.
back to the time after Time interface
1190.bicyclesonthemoon.info