Templates

Templates are used for generating pyBlog's interface, your posts, and the blog page. Using a special format for tags allows you a huge amount of control over these three templates. This will allow you to have pyBlog's interface look like it is an integrated part of your web site. It also allows you to have extreme control over your posts in conjunction with customizing your input.conf file.

The interface.html and post.html file cannot be moved from their location. Where you keep your posting page, though, is up to you. Its location must be specified in the posts.conf file.

pyBlog tags are essentially HTML comment tags. They follow a universal convention that is based on XML. All tags start as <!--pyBlog. You then insert the tag info. Most often it is either just a name or a name with a value following it. The tag is then closed off as -->.

If a tag is part of an opening/closing tag pair, then the closing tag has a / go before the tag name. If the tag has no closing tag and is just by itself then the / follows the name.

I know this can seem complicated, but it really isn't. Some examples are:

<!--pyBlog input-->...<!--pyBlog /input-->
<!--pyBlog insert/-->
<!--pyBlog post 1234-->...<!--pyBlog /post 1234-->
<!--pyBlog insert/ date-->


pyBlog 1.0; 2001-09-02