From: Jeff D. <da...@da...> - 2002-10-31 16:27:46
|
> I saw only the UN_en fix, in a file that does not > exist in the pn module setup. Was there something > else, in RssWriter.php perhaps? lib/plugin/RecentChanges.php > > Is postnuke supposed to be able to grok RSS 1.0? > > I hear that it may not. Sounds like that's right. It may be that you can just grab the latest lib/plugin/RecentChanges.php and lib/RSSWriter091.php, (or perhaps the versions from the 1.3.3 distribution,) drop them into your installation, and have RSS 0.91 support. Lawrence might be able to tell you more... > on a different matter, I noticed that some double-byte characters > got chewed up pretty significantly when I used diff earlier today. Yes, that's the word-level diff engine doing that, probably... (splitting words in the middle of multi-byte characters...) A quick fix^H^H^Hhack would be to disable the word-level diffing. I think you can do that be deleting the method definitions of _pack(), _split() and _changed() in class HtmlUnifiedDiffFormatter (file lib/diff.php). (HtmlUnifiedDiffFormatter will then inherit the _changed() method from UnifiedDiffFormatter.) It may be possible to fix the word-level diff algorithm so that it doesn't split-up UTF-8 characters (by adjusting the regexp used in HtmlUnifiedDiffFormatter::_split,) but I haven't had enough coffee yet today to be able to figure that out... (Of course, the fix would be trivial if PHP's regexp engine was/were UTF-8 aware...) |