Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!indetech!pacbell!well!smoke From: smoke@well.sf.ca.us (Nicholas Jackiw) Newsgroups: comp.sys.mac.programmer Subject: Re: Publish & Subscribe Summary: mdDate? Message-ID: <25648@well.sf.ca.us> Date: 24 Jun 91 18:08:39 GMT References: <0B01FFFB.ijva0b@outpost.UUCP> Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 38 In article <0B01FFFB.ijva0b@outpost.UUCP> peirce@outpost.UUCP (Michael Peirce) writes: > >My problem is that when I write out a published edition, I don't >produce the automatic update I'd expect. The data is out there - if >I do a "Get Edition Now" from the subscribers they get the new edition >data. >Any ideas would be appreciated. Thanks. Are you updating the mdDate of the section record before writing the edition data? If not, the Edition Manager package will see that the newly written edition doesn't supercede the previously written one (both dates are the same), and not send off update events. Why it bothers to update the file in this case is beyond me--in one case, it seems to believe you're making significant changes; in the other, it refuses. At any rate, try sticking a GetDateTime(modifiedNow); theEdition.SectionH^^.mdDate := modifiedNow; before you OpenNewEdition(), and see if this changes anything. If so, fix the bugs in your edition time-stamping. (Or implement edition time-stamping, if you've overlooked it.) Of course, none of this explains why it sometimes takes the Edition Manager 30 or 40 seconds to send out SectionReads when there are only two applications, both idle, open on an fx. Some parts of System 7 are like having a Mac Plus again... -- --- * --- Nick Jackiw Smoke@well.sf.ca.us | Jackiw@cs.swarthmore.edu Key Curriculum Press, Inc. Applelink:KEY.EDUSOFT | (415) 548-2304 --- * ---