Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Possible to have articles auto publish at a future date?

 

 


nigelparry.net
User

Jan 22, 2009, 8:37 AM

Post #1 of 9 (2450 views)
Shortcut
Possible to have articles auto publish at a future date? Can't Post

Is it possible to have articles auto publish at a future date in Article Manager 2?
_____________________

For more information about Nigel Parry and nigelparry.net
websites please see http://nigelparry.net

nigelparry.net: award-winning communications
solutions for clients with something to say


  • Website & print design

  • Internet, public relations & media consulting


  • Donna
    Staff / Moderator


    Jan 22, 2009, 12:26 PM

    Post #2 of 9 (2447 views)
    Shortcut
    Re: [nigelparry.net] Possible to have articles auto publish at a future date? [In reply to] Can't Post

    Hi Nigel,

    Not at the moment. Since Article Manager doesn't actually publish anything automatically, that's not possible currently.

    It's definitely been suggested to the developers, though. :)

    Donna


    Hire me!
    Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


    nigelparry.net
    User

    Jan 22, 2009, 12:34 PM

    Post #3 of 9 (2446 views)
    Shortcut
    Re: [Donna] Possible to have articles auto publish at a future date? [In reply to] Can't Post

    :-)

    How about with templateIfs that only publish an article/article reference if its publish date is prior to today's date?

    Presumably that would only work if templateIfs can do greater thans, and dates were stored as YYYYMMDD or YYYYMMDDHHMMSS.

    Technically that's not the same as autopublishing because you'd have to login and do a republish all to activate it, but is what I am describing even possible?

    Thanks Donna!
    _____________________

    For more information about Nigel Parry and nigelparry.net
    websites please see http://nigelparry.net

    nigelparry.net: award-winning communications
    solutions for clients with something to say


  • Website & print design

  • Internet, public relations & media consulting


  • Donna
    Staff / Moderator


    Jan 23, 2009, 2:17 PM

    Post #4 of 9 (2434 views)
    Shortcut
    Re: [nigelparry.net] Possible to have articles auto publish at a future date? [In reply to] Can't Post

    Hi Nigel,

    Hmm, interesting idea!

    I fiddled around with this a bit, and ... the hard part was finding a date to compare it to. Best I could come up with was the "last updated" date.

    So, I did this:

    <!-- templateIf : $_lastupdated:format(yyMMdd)$ >= $article.date:format(yyMMdd)$ -->
    This content is generated if true.
    <!-- /templateIf -->

    ...and it works. But, one very annoying caveat: Since it's going off of the "last updated" date, the value will only update if you modify an article. So, if you want an easy way to make a bunch of articles go live at once, it's not a bad solution. If you want something that automatically updates daily, it's ... not the greatest.

    That said, if you can find a better way of getting it to generate today's date, instead of just the last updated date, then you've got a pretty decent solution. :)

    Donna


    Hire me!
    Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


    mingyq
    User

    Jun 20, 2009, 8:32 AM

    Post #5 of 9 (1559 views)
    Shortcut
    Re: [Donna] Possible to have articles auto publish at a future date? [In reply to] Can't Post

    Hello Donna

    Instead of using the $lastupdated date, couldn't you create a $publishStartDate and a $publishEndDate in the database and then check these towards the current server date? This way you should be able to have these articles showing up within the specific date interval. Of course if no start/end dates have been input on the article, it will be treated the same way as it is now. If a start date has been given, but no end date it will show up at the start date and stay forever! If no start date, but an end date has been given it will show immidiately and then disappear when the end date is reached?

    What do you think?


    Kimber
    User

    Jun 23, 2009, 4:54 AM

    Post #6 of 9 (1517 views)
    Shortcut
    Re: [mingyq] Possible to have articles auto publish at a future date? [In reply to] Can't Post


    In Reply To
    Hello Donna

    Instead of using the $lastupdated date, couldn't you create a $publishStartDate and a $publishEndDate in the database and then check these towards the current server date? This way you should be able to have these articles showing up within the specific date interval. Of course if no start/end dates have been input on the article, it will be treated the same way as it is now. If a start date has been given, but no end date it will show up at the start date and stay forever! If no start date, but an end date has been given it will show immidiately and then disappear when the end date is reached?

    What do you think?

    Wouldn't you still have log-in and click republish anyway?


    mingyq
    User

    Jun 23, 2009, 5:51 AM

    Post #7 of 9 (1515 views)
    Shortcut
    Re: [Kimber] Possible to have articles auto publish at a future date? [In reply to] Can't Post

    I guess the only thing they need to get around that is to create a "Auto-Publish" script that runs once a day to get these articles published automatically.

    Bottom line is that a publishing tool based on articles like this really should have this functionality and it is the # 1 request our clients ask for as soon as we have installed it.


    Kimber
    User

    Jun 23, 2009, 6:19 AM

    Post #8 of 9 (1512 views)
    Shortcut
    Re: [mingyq] Possible to have articles auto publish at a future date? [In reply to] Can't Post


    In Reply To
    I guess the only thing they need to get around that is to create a "Auto-Publish" script that runs once a day to get these articles published automatically.

    Bottom line is that a publishing tool based on articles like this really should have this functionality and it is the # 1 request our clients ask for as soon as we have installed it.



    I can understand the bottom line, it is #1 on my list. There are times I hired someone to click the publish button once a day so I can have some unplugged computer free time. Smile


    Donna
    Staff / Moderator


    Jun 23, 2009, 12:01 PM

    Post #9 of 9 (1507 views)
    Shortcut
    Re: [mingyq] Possible to have articles auto publish at a future date? [In reply to] Can't Post

    Hi mingyq,


    In Reply To
    Instead of using the $lastupdated date, couldn't you create a $publishStartDate and a $publishEndDate in the database and then check these towards the current server date?


    Sure could -- just create the fields in the database (they'd actually be more like $article.publishStartDate$ depending on what you named them) and you can compare those to the current date no problem. It's not something built into Article Manager, but you could certainly create those fields no problem.

    However, as was mentioned, you'd still need to log in & republish. Article Manager won't do that automatically no matter what fields are used.

    Donna


    Hire me!
    Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.