Book Elves Elf Life




$5.95 Dial-up
Kipper 2.

Resources

Templates

Some starter templates for Kipper.

Converter

Autokeen storyline.txt to Kipper info.data

Navigation pack

For page navigation, basic CSS and graphic buttons.

Comments

The Disqus comment system can be included in your Kipper-generated pages.

Sign up for the service, and get the generic code. Code like the following goes where you want the comment form to go. Note that we enclose the code in a Kipper tag that prevents the comment form from appearing on the homepage.

<!-- ifnot:index:start -->
<div id="disqus_thread"></div>
<script type="text/javascript" src="http://disqus.com/forums/[yoursitename]/embed.js">
</script>
<noscript><br /><a href="http://[yoursitename].disqus.com/?url=ref\">View the discussion thread.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>

<script type="text/javascript">
//<[CDATA[
(function() {
        var links = document.getElementsByTagName('a');
        var query = '?';
        for(var i = 0; i < links.length; i++) {
            if(links[i].href.indexOf('#disqus_thread') >= 0) {
                query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
            }
        }
        document.write('<script type="text/javascript" src="http://disqus.com/forums/[yoursitename]/get_num_replies.js' + query + '"></' + 'script>');
    })();
//]]>
</script>
<!-- ifnot:index:end -->

A block of invisible code is placed near the bottom of the page.

<!-- ifnot:index:start -->
<script type="text/javascript">
//<[CDATA[
(function() {
        var links = document.getElementsByTagName('a');
        var query = '?';
        for(var i = 0; i < links.length; i++) {
            if(links[i].href.indexOf('#disqus_thread') >= 0) {
                query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
            }
        }
        document.write('<script type="text/javascript" src="http://disqus.com/forums/[yoursitename]/get_num_replies.js' + query + '"></' + 'script>');
    })();
//]]>
</script>
<!-- ifnot:index:end -->

We use SimplePie to parse our Kipper RSS feed for our homepage. We include the following line within the SimplePie code to create the link to the Disqus comment.

<a href="<?php echo $item->get_permalink(); ?>#disqus_thread">
    View Comments</a>

Text editor

Polyedit

Desktop server

Abyss X1

Copyright © 2009 Carson Fire • Privacy policy