Re: One-time db records to html pages

Subject: Re: One-time db records to html pages
From: Geoff Lane <geoff -at- gjctech -dot- co -dot- uk>
To: "TECHWR-L" <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Thu, 11 Nov 2004 19:21:53 +0000


On Thursday, November 11, 2004, Erica Sullivan wrote;

> Okay.. here's the deal, I have a database with a large number of records. I
> want to output EACH RECORD to its own html file. I thought about using the
> Word Mail Merge feature but I can't seem to get each merged document to it's
> own html file. This is only a one-time thing. From now on, as new records
> are added, we'll create an individual page. So, I don't want anything too
> expensive or time-consuming. Any thoughts?
---

You don't say which DBMS, so I'll assume that it's either something
you can hit directly with ADO or else it's ODBC-compliant. In either
case, if it were me, I'd go for a quick and dirty hack with VBA or
VBScript.

Depending on data complexity and assuming that you have an HTML
"template" to follow, that should take about half a day and you'll
have script to create updated sets of HTML files whenever the
underlying data changes.

However, you also don't say what software you have available. IIRC, it
should be possible to merge the data into Word, then process the file
in (say) RoboHelp to create a .chm with one topic per record, then
decompile the .chm in HTML Help Workshop to produce the required HTML
pages. That said, I'm a geek -- so I'd still go for the scripting ;)

HTH,

--
Geoff


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ROBOHELP X5 - SEE THE ALL NEW ROBOHELP X5 IN ACTION!

RoboHelp X5 is a giant leap forward in Help authoring technology, featuring all new Word 2003 support, Content Management, Multi-Author support, PDF and XML support and much more! View an online demo: http://www.macromedia.com/go/techwrldemo

---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- techwr-l -dot- com
Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/techwhirl/ for more resources and info.



References:
One-time db records to html pages: From: Erica Sullivan

Previous by Author: Re: Data Flow Diagrams
Next by Author: Re: Conditional Text in MS Word
Previous by Thread: One-time db records to html pages
Next by Thread: I lost the magic


What this post helpful? Share it with friends and colleagues:


Sponsored Ads