Kii 0.4.1 released !

published on Jan. 7, 2015, 7:47 p.m. by eliotberriot | 0

This new release brings several new features and enhancements :

  • User notifications
  • New (and better) URL structure
  • Support for analytics tracking code
  • A few bug fixes

User notifications

This is not fully implemented, but at the moment, users get on site notifications when their content receive comments.

In the future, notifications will be extended to support more type of events, and users will be able to get notifications for any stream or object.

Mail notifications are also planned.

New URL structure

The old structure was like this :

/u/username/stream # for stream index
/u/username/stream/item/12 # For item detail

The new scheme is stream-based :

/stream/mystream
/stream/mystream/item/2

This allow users to own and manage multiple streams from a single account.

Support for analytics tracking code

Instance owners can now add javascript or image tracking code to every kii page. Simply tweak the TRACKING_CODE variable in your settings.py. Example :

TRACKING_CODE = """
    <!-- Piwik -->
    <script type="text/javascript">
      var _paq = _paq || [];
      _paq.push(['trackPageView']);
      _paq.push(['enableLinkTracking']);
      (function() {
        var u="//stats.hat.eliotberriot.com/";
        _paq.push(['setTrackerUrl', u+'piwik.php']);
        _paq.push(['setSiteId', 7]);
        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
        g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
      })();
    </script>
    <noscript><p><img src="//stats.hat.eliotberriot.com/piwik.php?idsite=7" style="border:0;" alt="" /></p></noscript>
    <!-- End Piwik Code -->
"""

Going Meta

Kii has reached a whole new level : news about kii will be published in this stream. Just subscribe to the ATOM feed if you want to stay tuned : http://next.kii.eliotberriot.com/stream/kii/feed/atom

0 comments

publish