Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wahts the best way to edit WEB pages automatically 1

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
We don't have a database on our WEB site, yet.
I have to constantly add new documents and create the hyperlinks to them. These are .pdf reports. So I have to upload the document add the Name address city etc to the table and then create a hyperlink to the .pdf
I have WSFTP pro and can make scripts I've done some already.
Any ideas?

TIA

DougP
 
DougP,
Three thoughts, two require some (server side) scripting, one could be run from your desktop.
[ol][li]Build a script that creates your 'TABLE' on the fly by reading all the files in a directory. If you incorporate the relevent data into the filenames in said folder you could update the web page by simply putting the new file in the correct directory on the web server.[/li]
[li]Variation on a theme use a flat file on the web server as your 'database'. The script could then read the file (in say a CSV format) and create the 'TABLE' on the fly.[/li]
[li]Create a routine (VBA in your software of choice) that builds a static web page from some type of list or local mirror directory that you could then upload with a new file. [/li][/ol]

Just some thoughts,
CMP

[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top