Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DB to XML - Best way to automate

0 views
Skip to first unread message

J-P-W

unread,
Oct 4, 2008, 12:46:36 PM10/4/08
to
I have two XML files that a generated from a database.

Presently I have to go into my admin section to click a link that
loads the pages that in turn create the pages.

As my database is updated (new entries relating to property sales)
this is a bit of a pain.

Has anyone dealt with this issue before?

I could have it so that when the home page is loaded the XML files are
generated - but this seems to be far to frequent, but the home page is
the only page I can guarantee is loaded!

Perhaps I should keep track of page creations, and perhaps look at the
last entry, if it's older than say 15 minutes then create the pages ??

This is not a code question, more advice on how this has been dealt
with by others. [I can't create a scheduled event on the server - it's
a shared one]

Many thanks

Jon

Mike Brind

unread,
Oct 5, 2008, 12:18:06 PM10/5/08
to

"J-P-W" <jonp...@gmail.com> wrote in message
news:4175b2dd-8c52-4c8f...@d31g2000hsg.googlegroups.com...

Why not just add some code to regenerate the files at the end of the script
that adds a new entry?

--
Mike Brind
MVP - ASP/ASP.NET


J-P-W

unread,
Oct 5, 2008, 5:13:56 PM10/5/08
to
On 5 Oct, 17:18, "Mike Brind" <paxton...@hotmail.com> wrote:
> "J-P-W" <jonpw...@gmail.com> wrote in message
> MVP - ASP/ASP.NET- Hide quoted text -
>
> - Show quoted text -

Hi Mike,
My only thought was because the pages can be edited a number of times,
but
of course that's the only way of being sure that it's up to date.....
not
seeing the wood for the trees perhaps?
Yes I'm sure you're right!
Thanks
Jon

0 new messages