![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #1 |
|
New Coder ![]() Join Date: Aug 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
dreamweaver page creator
i have hundreds of videos that need to be linked to in html. each video has its own page. the html in all pages is exactly the same but the name of video and image, so the only thing at all that changes is "video-name", then the file is renamed "video-name".html Since I have so many, am wondering if theres a way to give a list of names and have all pages generated using the list of names as what the video and image are called and what the file will finally be saved as.
any idea how to do this? i can use mac or pc to accomplish. edit: what im trying to make is a program that generates html pages based off a template. The template holds a video swf. The program would input a list of files, then make a page for each name in the file, and also replace the video name with the name from list. I hope this makes sense Im explaining it as well as I can... The purpose of the program is to save tons of time making page after page after page, when all Im doing is changing the file being linked inside the file, and the name of the file itself. If I had a program that just took a list of names and made the pages for me, that would be completely awesome! Does anyone know how to do it? Last edited by arkad; 11-23-2009 at 03:09 AM.. Reason: better description |
|
|
|
|
|
PM User | #2 |
|
The Spaminator ![]() ![]() Join Date: Jun 2002
Location: USA
Posts: 7,583
Thanks: 1
Thanked 168 Times in 165 Posts
![]() ![]() ![]() |
Why not just use a server side language to generate your page dynamically instead of having hundreds of static HTML files?
__________________
OracleGuy My Blog "... the VP of our third biggest account started sweating bullets in our latest project status conference when Roy stood up and asserted: 'We don’t code our products for SMACKTARDS.'" - Daily Victim #564 |
|
|
|
|
|
PM User | #4 |
|
The Spaminator ![]() ![]() Join Date: Jun 2002
Location: USA
Posts: 7,583
Thanks: 1
Thanked 168 Times in 165 Posts
![]() ![]() ![]() |
Yeah PHP or whatever language you prefer. It would be a whole lot easier and more maintainable in the long run.
__________________
OracleGuy My Blog "... the VP of our third biggest account started sweating bullets in our latest project status conference when Roy stood up and asserted: 'We don’t code our products for SMACKTARDS.'" - Daily Victim #564 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|