Spéciale dédicace pour Pierre
Ou comment faire pleurer un chtit' n'enfant, pour notre plus grand plaisir :
(Tout venant, 2006/06/11 22:28) lien permanent
dimanche 11 juin 2006Ou comment faire pleurer un chtit' n'enfant, pour notre plus grand plaisir :
(Tout venant, 2006/06/11 22:28) lien permanent
Pas trop de Google Whoring potentiel sur cynicalturtle.net, on va donc ramener celui de JRoller.
(Google Whoring, 2006/06/11 12:54) lien permanent
As you have noticed, it is not possible since several years ago to export your data (posts ans comments) from JRoller. Being able to backup soothes the mind, and allows you to move your blog more easily (in case you want to leave and there is something to import the data at the other side). Having checked two days ago for the last time, I did not find anything to do that easily... being on J(ava)Roller, there's no reason I can't code that. What I want for this micro-project is:
Indeed, in order to do the first backup, I don't really want to have to download 30MB of dependencies to start with. So, the real requirements are:
How does it work? Download BackupJRoller.zip, you will find inside: license (GPL), template (jroller_atom_feed.tpl) for the Atom feed, and the Java class (com.jroller.kame.BackupJRoller) in source and binary forms. Go inside your blog configuration, tab Preferences, sub-tab Templates, create a new template (Add a new template) named for instance tetsuwan. Find your new template in the list, note its URL path in the Link column (in the example, it's tetsuwan as well), and edit it. In the Template textarea, copy and paste the content of jroller_atom_feed.tpl, and Save.
You're ready to export! As you are hosted on JRoller, you are a Java pro, and the command line has no secret for you. Open a shell, change to the right directory (hint, where you unzipped the zip), and type the following line, with the right values:
java -classpath . com.jroller.kame.BackupJRoller http://www.jroller.com/page/your_login/tetsuwan
After that, everything went without a hitch, you have your backup! What can you do wit it now? Unfortunately, not many tools are useful now. You have this big XML file in Atom 1.0 with all your posts and comments, and it's up to you to do something useful with it
Don't forget to clean your JRoller cache after the backup (Preferences > Maintenance > Flush Cache), this data doesn't need to linger.
From a techical point of view, the source code is fully undocumented, in mixed French-English, and loaded with cultural private jokes. But if you're proficient in Java, there is nothing there to stop you, as it is a straightforward use of the standard Java API. It has been developped with the ultimate IDE: GNU Emacs + JDEE.(Cyberpunk, 2006/06/11 00:09) lien permanent
There is also a related post on how to migrate a JRoller blog (together with comments) to Wordpress using blog's RSS Feed here.
Hello, I knew your work, but it's not a viable generic "export and backup" solution, because JRoller limits the feed to 100 posts. It needs an extra step, that my little class provides
Plus, this uses the standard way in Atom to represents the comments ; with the standardisation on Atom, the new importers should support this format out of the box. Thanks for the pointer anyway.
je cite :
"pas la puissance, la finesse
le petit coup de pute, pour faire courir le gamin autour de la table : du sadisme à l'état pur "
manque quand meme de gamin qui se roule par terre
Posté par Pierre BGT, le dimanche 11 juin 2006 à 17:24 #
mais pourquoi est-il si méchaaaant !!!!!?
Posté par avi, le lundi 12 juin 2006 à 09:27 #
Au fait, elle ne jouerait pas au ping-pong Lilo par hasard ?
Posté par Damien B, le lundi 12 juin 2006 à 14:48 #
Il vaut mieux connaître la désillusion sportive à 5 ans qu'à 30. Ca évite des régimes traumatisants, des entraînements aliénants et des courbatures insupportables. Mieux vaut rester dans son canapé Ikéa devant des programmes bidons à attendre que la vie passe et à bouffer des merdes de Leader Price histoire que le cancer nous emporte un peu plus vite.
Posté par Zap, le jeudi 15 juin 2006 à 00:24 #