Simple config file - use this if you want to set up a blog without including the Addendat comment system. You'll need to configure these: <%blogfile%>/home/httpd/htdocs/www.paganlink.org/news/index.html%blogfile%> <%accesscode%>change this%accesscode%> <%blogtitle%>Paganlink News%blogtitle%> <%blogurl%>http://www.paganlink.org/news/%blogurl%> You don't *need* to configure these, but you probably want to edit %entry% and %entryseparator% to match your design. <%entry%>
%entry% Added by %user%.
%entry%> <%entryseparator%> %entryseparator%> %add% can be top or bottom. <%add%>top%add%> And this only needs to be changed if you want to use a different Hub: <%hubmachine%>deekoo.net%hubmachine%> <%hubscript%>/technocracy/addendat/hub.cgi%hubscript%> New with Addendat 0.4: %commentfile% defines the name of a comments file. Remove the # sign from the tag to enable comments. <#%commentfile%>/home/YOUR_USERNAME/YOUR_HTMLDIR/addendat/comments/%entryid%.html%commentpath%> The %huburl% and %httpclient% tags are obsolete as of Addendat 0.2. Addendat 0.3 supports multiple blogs without installing multiple copies of the CGI. Tags in the form %configtag% are defaults, which will be used if not overridden by a tag for a specific blog. Tags in the form %configtag(blog)% are settings for an individual blog. If you want an option to apply to the default blog but *not* to other subblogs, use %option()%. All the multi-blog stuff is commented out, since it's a bit more complicated to configure - to uncomment it, remove the # signs from the tags. Leaf blogs let you have entries show up on multiple blogs at once. In this particular example, I want the first few entries in my blog to show up on my front page, which I've decided to name 'front'. I use the explicit () so that adding things to the front page won't cause them to add themselves over and over. <#%leaves()%>front%leaves()%> And, to ensure that I only get the first few entries, I set a length limit of 1024 characters for front. Note that blog entries aren't chopped, so the limit is really 1024 characters plus the end of the most recent entry. <#%length(front)%>1024 characters%length(front)%> linkprefix adds the prefix to all A HREFs. It's only needed if you want to use relative links in multileaf blogs that are located in different dirs. Since my front page is http://deekoo.net/, and my main blog is http://deekoo.net/chronology, I want all links added to the main blog to have ../ as a prefix. <#%linkprefix()%>../%linkprefix()%> Archiving of old blog entries is not yet implemented. If you want to override the default "Entry added" page, set a %entryadded% tag containing the HTML you'd like displayed when an entry has been added.