Radio
Logging things done in Radio, or information on what to do


Categories:
LiveJournal
Radio


Subscribe to "Radio" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.
 

 

Permanent link: Thursday, September 26, 2002 Thursday, September 26, 2002
 

More double-decoding: posting from aggregator to weblog


(This is an actual reenactment of a previous post that got lost in a crash.)

I've found another double-decoding bug when posting a news item from the aggregator to the weblog. When formating the edit page, entites are getting decoded again.

The posting is handled by radio.macros.weblogPostForm, down where it says "if defined (adrGetArgs^.idstory)". radio.strings.decodeEntites is called in a bunch of places, which in turn calls our old friend xml.entityDecode with flAlphaEntites set to true. It's not clear to me at the moment where things really need to be decoded, so I'm not sure if I should make changes in radio.strings.decodeEntites or remove some of the calls to it in radio.macros.weblogPostForm. I *think* everything will have been decoded by the time it's recorded to radio.aggregator.getStoryAddress (adrGetArgs^.idstory) so that you could just get rid of all of the decodeEntites calls, but I'm not yet sure.


6:13:15 PM  Permanent link  Categories: Radio

Lost a post on double-decoding


I have a mail client that tends to make WinXP blue-screen every now and then (true!). On recovery, Radio seems to have eaten a post I made last night about a double-decoding bug when posting from the aggregator. I'll have to try to recreated based on what I posted to the Radio discussion forum.
6:10:24 PM  Permanent link  Categories: Radio



Click here to visit the Radio UserLand website. © Copyright 2002 Matthew Ernest.
Last update: 10/2/2002; 2:12:13 PM.
This theme is based on the SoundWaves (blue) Manila theme.
September 2002
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
Aug   Oct


radaR's LiveJournal 2:09PM PST
BulletIf you call my phone...

BulletYay for Dr. Who DVDs

BulletMy parents went to the IMF protest and all I got was this stupid tshirt

BulletIt's a small internet after all

BulletFor heather: not a toy!