I've successfully solved the integration of Loki into sNews for me.
Using sNews 1.7, Loki 2.0.2 and Firefox/Iceweasel 3.0.6, I can now edit new and existing Articles and/or Pages with Loki.
There's only one little drawback, but it's not annoying for me:
when editing existing Articles/Pages, Loki starts in it's "HTML-Source-View".
But one single click on the visible Toggle-Button (shown as "<>") switches back to Loki's WYSIWYG-View.
Also People using the Commenting-Functions of sNews on their Site will have to do some additionally tweaking, if they don't want Loki to appear in the Comments-Textareas.
So this worked fine for me:
1. In the File "snews.php", add the following Lines to your "title()"-Function (see first post for correct location):
echo '<script src="/path/to/loki/loki.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
Loki.convert_textareas_by_class("loki", {options: "power"});
</script>';
Of course you have to use the correct Path to your "loki.js" in the "src"-Tag above.
2. Also in File "snews.php", in Function "html_input" (look for "case: textarea"), change the Line
<textarea name="'.$name.'" rows="'.$rows.'" cols="'.$cols.'"'.$attribs.'>'.$value.
to read
<textarea class="loki" name="'.$name.'" rows="'.$rows.'" cols="'.$cols.'"'.$attribs.'>'.$value.
That's all.
As you can see, I'm simply adding an "class"-Tag to the Textarea-Form and initialize Loki with it's Class-Feature (see Loki-Doc.).
The Value of the "class"-Tag is freely choosen, you can use whatever you like here. It only has to match the Parameter you'll use in the Loki-Initialisation.
If you don't like the sNews-Editing-Buttons to appear below the Textarea, you may additionally comment out the call to "buttons()" in the "form_articles(..)"-Function.
But I have chosen to keep them, so I can also use them in Loki's "HTML-Source-View".