input.conf
One of pyBlog's most powerful features is the ability to almost fully customize the input page for your blog post. This is done by setting values in the input.conf file. Setting these values controls what input fields appear at post.py and allow you to have variables in your post template. Text fields, pull-down menus, and text areas are supported.
To allow this flexibility there is no required variable-value pair that must exist in the file. It is highly advised, though, that body be left in textarea
since it will be treated as the place where you enter the main text of your post. Feel free to change its value, though.
All variable names used end up being treated as the title for that variable (the name that appears to the left of the field at post.py). It is also the name used for variable substitution in the post template. All values that take more than one value have their values separately by a comma.
[text]
This section is where you put any text fields that you want. It takes one required value and one optional value. The required value is the size of the text field. The optional value is the maximum length of the text field.
[select]
the [select]
section of input.conf is where you create your pulldown menus. The values represent what options are available for the menu.
[textarea]
As the name of this section of the input.conf file suggests, this section contains variables that are text areas. As noted above, it is high advised that you leave body
in this section. You can change its value, but you should not delete the variable.
The first value is the width of the text area while the second value is the height.
Here is an example input.conf file:
[text] title=20,30 name=15 mail_address=30 [select] weather=sunny,rainy,windy,overcast,apocolyptic [textarea] body=20,20
pyBlog 1.0; 2001-09-02