Francis Siefken | 12 Apr 11:49
Picon
Gravatar

snipsnap dynamic to flat html

Hello snipsnappers,

Do you know of a way to flatten snipsnap dynamic to static pages?
I want to use snipsnap on my laptop for daily blog en wiki entries and
publish the wiki en blog to static html periodically to a public
webserver. Because of limited memory I am not sure the server can run
snipsnap/java - it's running openwrt linux - this is why html only I
think would be a good solution. As I am the only one doing the blog
and wiki editing I do not need the collaborative aspects.
Has some kind of export functionality been included in snipsnap that
may ? Otherwise I will need to use wget and other tools to flatten it.

Kind regards,
Francis Siefken
Ryan Barrett | 12 Apr 19:05
Picon

Re: snipsnap dynamic to flat html

On Wed, 12 Apr 2006, Francis Siefken wrote:

> Because of limited memory I am not sure the server can run snipsnap/java -
> it's running openwrt linux - this is why html only I think would be a good

silly question...but have you *tried* running it on your laptop? i run
snipsnap on my laptop fairly often when i'm hacking on it, and it works
fine. as long as you have enough resources to run a java vm, snipsnap isn't
too greedy beyond that.

-Ryan

--
http://snarfed.org/
Arndt Korsus | 18 Apr 16:06

Umlaute in SnipSnap

Hallo Liste,

ich habe ein Problem mit dem Benutzen von Umlauten. Beim erstellen eines
Snips werden die Umlaute korrekt angezeigt. Erst beim Neustart meiner
Installation werden die Umlaute nicht richtig dargestellt.

Ich benutze die Windows-Standardinstallation mit einer mysqlDB 5. Die DB
arbeitet mit utf8 Kodierung.

Kann jemand helfen?

mfg

a.k.
Arndt Korsus | 18 Apr 19:18

Re: Umlaute in SnipSnap

Hi Bill,

>>> Hallo Liste,
>>>
>>> ich habe ein Problem mit dem Benutzen von Umlauten. Beim
>>> erstellen eines Snips werden die Umlaute korrekt angezeigt.
>>> Erst beim Neustart meiner Installation werden die Umlaute
>>> nicht richtig dargestellt.
>>>
>>> Ich benutze die Windows-Standardinstallation mit einer
>>> mysqlDB 5. Die DB arbeitet mit utf8 Kodierung.
>>>
>>> Kann jemand helfen?

>>I don't know about MySQL 5, but with MySQL 4, you had to make sure UTF
>>coding was in the database BEFORE you switched it on.

I configured this during setup.

>>You might have to dump the snipsnap and edit the XML to put the umlauts
back in. I'm sorry if this
>>is a slow way to do it, but that might help. Someone else on the list
might
>>have a better method.

Ok, i have a blank just installed system. So correcting all the "Umlaute"
isn't that hard.

But how to avoid this during next startup? I did not get the point "...make
sure UTF
(Continue reading)

Matthias L. Jugel | 18 Apr 20:19
Picon
Favicon

Re: Umlaute in SnipSnap

I think he refers to having set the database itself to UTF-8 in the  
database configuration, before you even install SnipSnap.

Leo.

On 18.04.2006, at 19:18, Arndt Korsus wrote:
>>> I don't know about MySQL 5, but with MySQL 4, you had to make  
>>> sure UTF
>>> coding was in the database BEFORE you switched it on.
>
> I configured this during setup.
>
>>> You might have to dump the snipsnap and edit the XML to put the  
>>> umlauts
> back in. I'm sorry if this
>>> is a slow way to do it, but that might help. Someone else on the  
>>> list
> might
>>> have a better method.

--
Matthias L. Jugel -- matthias.jugel <at> first.fraunhofer.de
Telephone +49 30 6392 1822, Fax +49 30 6392 1805
There are two kinds of fool, one says "This is old and there-
fore good", and one says "This is new and therefore better".

Attachment (smime.p7s): application/pkcs7-signature, 3673 bytes
_______________________________________________
(Continue reading)

Arndt Korsus | 19 Apr 17:26

(no subject)

Hi again,

>>I think he refers to having set the database itself to UTF-8 in the  
>>database configuration, before you even install SnipSnap.

I changed the default charset of the db to utf8. After the installation every table uses utf8 for encoding.
Stil the same problem. No correct "Umlaute" after refetching data from the db. Changing [mysqld] to
init-connect='SET NAMES utf8' also does not work with snipsnap.

Any more ideas?

Greetings,

Arndt

----------------------------------------------
On 18.04.2006, at 19:18, Arndt Korsus wrote:
>>> I don't know about MySQL 5, but with MySQL 4, you had to make  
>>> sure UTF
>>> coding was in the database BEFORE you switched it on.
>
> I configured this during setup.
>
>>> You might have to dump the snipsnap and edit the XML to put the  
>>> umlauts
> back in. I'm sorry if this
>>> is a slow way to do it, but that might help. Someone else on the  
>>> list
> might
>>> have a better method.
(Continue reading)

Tulun Tokou | 25 Apr 18:10
Picon
Favicon

Question

Hello there

i have question regarding snipsnap for my project. how
do i post messages for the snipsnap users/the mailing
list to get them response to my questions?

thanks

yunn

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Ryan Barrett | 25 Apr 18:50
Picon

Re: Question

On Tue, 25 Apr 2006, Tulun Tokou wrote:

> i have question regarding snipsnap for my project. how do i post messages
> for the snipsnap users/the mailing list to get them response to my
> questions?

i don't think snipsnap has a built-in way to email all of your users. your
best bet is to run a quick grep over your users directory, then use that as
a distribution list. this should do it:

cd [your_application_directory]/WEB-INF/files
egrep -ho email=.+ */users/*.properties | cut -d= -f2- > emails.txt

standard disclaimers apply. spam is bad, be considerate of your users, don't
run with scissors, look both ways before crossing the street...

-Ryan

--
http://snarfed.org/

Gmane