
phillip at communitybandwidth
Mar 31, 2011, 5:04 AM
Post #10 of 13
(811 views)
Permalink
|
If the story has an expire date in the past, the template never runs, so I'm not sure what you're proposing...? On 2011-03-31, at 5:37 AM, Zdravko Balorda wrote: > Phillip, it looks like templates doesn't need to be re-run on expire at all. > publish_another($cover) could schedule publishing the cover twice: immediately and > on $story->get_expire_date. > > Is this really this simple or am I thinking naive? :) > > Zdravko > > Phillip Smith wrote: >> I'd like to add a +1 to getting story templates to re-run on expire. If there's code out there, let's get it into a Github repository so others can hack it into shape. :) >> On 2011-03-30, at 9:14 AM, Zdravko Balorda wrote: >>> Hi, >>> this expiring busyness only goes wrong because cover pages >>> are not republished. So, could a fix be as simple as this: >>> $burner->publish_another($cover,$expire_date) >>> in addition to the immediate publish_another($cover); ? >>> >>> Regards, Zdravko >>> >>> >>> Zdravko Balorda wrote: >>>> Hi, >>>> may I ask about the current state of this old issue bellow. >>>> Regards, Zdravko >>>>> I have the code for execution of template on story expire if you're interested, but limited time for fits and commits. But, if someone is willing to take this on, I'd be happy to share. I suspect you'd want another bric config setting associated with that which I do not have. >>>>> >>>>> -----Original Message----- >>>>> From: David E. Wheeler [mailto:david [at] kineticode] >>>>> Sent: Fri 1/16/2009 3:12 PM >>>>> To: users [at] lists >>>>> Subject: Re: expired stories >>>>> >>>>> On Jan 16, 2009, at 1:49 AM, Phillip Smith wrote: >>>>> >>>>>> Feature requests: >>>>>> >>>>>> - Execution of template on story expire >>>>>> - Media asset templates >>>>> - Associating more than one file with a media document >>>>> >>>>> Best, >>>>> >>>>> David >> -- >> Phillip Smith >> http://phillipadsmith.com >> http://twitter.com/phillipadsmith >> http://linkedin.com/in/phillipadsmith > -- Phillip Smith http://phillipadsmith.com http://twitter.com/phillipadsmith http://linkedin.com/in/phillipadsmith
|