Return-Path: X-Original-To: apmail-roller-user-archive@www.apache.org Delivered-To: apmail-roller-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A09F46496 for ; Sun, 22 May 2011 21:32:41 +0000 (UTC) Received: (qmail 29089 invoked by uid 500); 22 May 2011 21:32:41 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 29053 invoked by uid 500); 22 May 2011 21:32:41 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 29045 invoked by uid 99); 22 May 2011 21:32:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 May 2011 21:32:41 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Tim.Schumacher@colorado.edu designates 128.138.128.233 as permitted sender) Received: from [128.138.128.233] (HELO ipmx3.colorado.edu) (128.138.128.233) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 May 2011 21:32:32 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkkGAFt/2U3AqBGa/2dsb2JhbACYJI5zpWaUbYh0hhkEhlCYVQ X-IronPort-AV: E=Sophos;i="4.65,253,1304316000"; d="scan'208";a="361261135" Received: from omr-raz-1-priv.int.colorado.edu ([192.168.17.154]) by ipmx3-priv.int.colorado.edu with ESMTP; 22 May 2011 15:32:10 -0600 Received: from 69.15.86.83 (EHLO _192.168.100.110_) ([69.15.86.83]) by omr-raz-1-priv.int.colorado.edu (MOS 4.1.10-GA FastPath queued) with ESMTP id BCO63469 (AUTH schumact); Sun, 22 May 2011 15:32:10 -0600 (MDT) Message-ID: <4DD980D4.5070901@colorado.edu> Date: Sun, 22 May 2011 15:32:04 -0600 From: Timothy J Schumacher User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: user@roller.apache.org Subject: Automatically schedule new entries? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am using Roller 5.0.0, tomcat 7.0.6, mysql 5.1.46 and linux 2.6.26.6-79.fc9.i686. I have a question about programatically scheduling new entries to be published at future times. I looked at the weblogentry table that Roller created in mysql and it looks pretty straightforward to write sql scripts to add entries that have future publish times. I think my main question is: are there other tables that would need to be modified to keep everything in sync or could I simply update the weblogentry table and have everything be ok? The problem I am trying to solve is the following: I have lots of xml files that already contain content I want to publish at regular intervals in the future, say one new post per day. I could use the user interface to manually schedule each one but it would be nice to be able to automate this by translating each file to an sql script and running that via the shell. Then in Roller I could see all the posts and preview them to make sure they look correct. If anyone has dealt with this I would love to hear ideas about how you solved it. Thanks! Tim