Re: Changing templates (radio userland export tip)
Jeremy Bowers <[email protected]> Tue, 10 Feb 2004 11:40:27 -0500
| Newsgroups | gmane.comp.python.pyds.user |
|---|---|
| Message-ID | <[email protected]> |
Bauer, Georg wrote: > It's quite easy: just go to your uptream/index_html and check all tools that > should be rerendered and press the rerender button. Ah, thanks. Didn't think to look there. I've made the jump now; http://www.jerf.org/iri/ is now a PyDS weblog. Exporting from Radio UserLand (for anybody else who wants to make the transition) wasn't too bad, but you need to call xml.entityEncode on the text of all your postings, or anything with a high-bit character in it won't work; the XMLRPC connection will die on you. (I didn't research it but based on my experiences with Radio Userland I'd lay money it's because Radio Userland is emitting invalid XML; they *still*, **still** do not have the encoding correct. RU is a very dangerous platform to try to use XML on unless you are using strict 7-bit ASCII and never transmit double-encoded chars (i.e., &lt;). You'd be surprised how often this comes up.) I haven't checked if that makes the posts come across incorrectly because Radio userland ends up double-encoding things, but at least they are *there*. (There were still five posts in my old weblog that didn't come across, but I looked at them and decided just to let them die, rather then research what happened.) That puts around 2100 posts into my PyDS weblog, and it seems to be doing just fine. (If you look back at around 2000 and see some really poorly formatted pages, it's my problem, not PyDS's. iRights started life out on Manila, and Manila carried some of the message formatting into the Radio weblog, which then adds another wrapper of formatting around it. PyDS, as near as I can tell, is working flawlessly.) As I write this, the re-render is still occurring so if you see the default template, it should go away in a while.