Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Old 11-23-2009, 01:20 AM   PM User | #1
arkad
New Coder

 
Join Date: Aug 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
arkad is an unknown quantity at this point
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
arkad is offline   Reply With Quote
Old 11-23-2009, 04:06 AM   PM User | #2
oracleguy
The Spaminator


 
Join Date: Jun 2002
Location: USA
Posts: 7,583
Thanks: 1
Thanked 168 Times in 165 Posts
oracleguy has a spectacular aura aboutoracleguy has a spectacular aura aboutoracleguy has a spectacular aura about
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
oracleguy is offline   Reply With Quote
Old 11-23-2009, 08:10 PM   PM User | #3
arkad
New Coder

 
Join Date: Aug 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
arkad is an unknown quantity at this point
like php?

i guess cuz i knew how to do it one way and did it. Plus Im using Joomla, so when I add a video, its actually being added through a menu item in Joomla.
arkad is offline   Reply With Quote
Old 11-23-2009, 08:30 PM   PM User | #4
oracleguy
The Spaminator


 
Join Date: Jun 2002
Location: USA
Posts: 7,583
Thanks: 1
Thanked 168 Times in 165 Posts
oracleguy has a spectacular aura aboutoracleguy has a spectacular aura aboutoracleguy has a spectacular aura about
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
oracleguy is offline   Reply With Quote
Old 11-23-2009, 09:40 PM   PM User | #5
arkad
New Coder

 
Join Date: Aug 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
arkad is an unknown quantity at this point
good idea

only problem is i dont know how to do that
arkad is offline   Reply With Quote
Old 11-23-2009, 09:47 PM   PM User | #6
Kscriptz
New to the CF scene

 
Join Date: Mar 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Kscriptz is an unknown quantity at this point
Check out http://www.w3schools.com/PHP/php_mysql_intro.asp
Kscriptz is online now   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:35 PM.

Home - Contact Us - Archives - Link to CF - Resources - Top 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.