Re: trouble with posting: garbled date header...

"Gregg Woodcock" <[email protected]> Thu, 05 Jan 2006 21:32:05 -0000
Newsgroups gmane.comp.handhelds.palm.yanoff
Message-ID <[email protected]>
--- In [email protected], "Dirk Hogenkamp" <d.hogenkamp@w...> 
wrote:
> --- In [email protected], "Gregg Woodcock" <woodcock@S...> 
> wrote:
> > --- In [email protected], "Dirk Hogenkamp" 
<d.hogenkamp@w...> 
> > wrote:
> > > OK, done, the date is now "Di ,3 Jan 2006"
> > 
> > That is not a valid date!
> > Are you telling me that AFTER you re-edit and
> > re-save the article and BEFORE you runt he conduit,
> > this is the date the article shows?  
> That's exactly the thing!
> 
> > Please confirm the minute specifics.
> > It appears the day-of-the-week 
> > hard-coded strings are somehow not being accessed properly.
> > What device (HW) are you using?
> T3

Strange.  The Palm OS APII 'dfDMYLong' format creates an inital date 
string like this:
   Sun Dec 25 2005
I pass in str+1 to the OS's DateToDOWDMFormat function and then used:
   StrNCopy(str, str + 1, 3); str[3]= ','
This modifies the string to add a comma so it looks like this:
   Sun, Dec 25 2005
Presumably StrNCopy on T3 (and other devices?) has issues with the 
sorce and destination being the same buffer so I just changed 3.2 to 
do it like this:
   for (i=0; (i<3); i++) { str[i] = str[i+1]; }

I have to look around for any other code that does similar...

> > > These are the preferences I use:
> > > ... 
> > Those are valid settings which should cause over-the-air (OTA) or 
> > conduit polling to work.  I don't get it but I'll have to install 
> the 
> > conduit myself and see what is what.
> 
> But think of this: The same article, wich causes the problem we 
> discussed above, was polled OTA without an error.

"Polled" or "posted"?
It is likely that the conduit does some sanity testing of the headers 
whereas the receiving mail/news server probably discards the date 
header and supplies it's own.

Anyway, this will surely be fixed in v3.2 by this change!





To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/yanoff/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/