denise1
04-22-2005, 04:39 PM
How would I go about creating a Archive Library on my web site!
Basic HTML and Basic JAVA Script knowledge. Thanks
Basic HTML and Basic JAVA Script knowledge. Thanks
|
Click to See Complete Forum and Search --> : How would I go about creating a Archive Library on my web site! Thanks denise1 04-22-2005, 04:39 PM How would I go about creating a Archive Library on my web site! Basic HTML and Basic JAVA Script knowledge. Thanks toicontien 04-22-2005, 05:05 PM If all you've got available to you is HTML and JS, then you'll really want to pay close attention to the directory structure in your web site. This structure will depend on the type of site you're making. Can you give us some details about the site, like what it will be about and what sections and types of pages you'll have (e.g. section pages, content/article pages)? webgovernor 04-22-2005, 08:19 PM You mean, a page contianing a set of links to previous articles/pages etc.? denise1 04-25-2005, 01:33 PM Yes, this is what I mean... a page contianing a set of links to previous articles/pages etc webgovernor 04-25-2005, 01:47 PM Oh... With JAvaScript...? So, hard coding a page (with html) containing links won't work? I don't know much about JavaScript, but I'm assuming that what you're looking for would require a database or a textfile with write perms... Well, have you looked at PHP? With PHP you'd simply write 2 programs, one to store the links inside the DB, and one to retrieve them, for viewing... Perhaps, without some sort of server side scripting, hard-coding the html links might work best. Well, if you decide to go with the PHP route, then http://www.php.net is a great place to start. Good Luck! toicontien 04-25-2005, 06:36 PM You can create the archive by hand, it just means updating the HTML pages yourself. I'll use a news site as an example Directory setup on the server docs (This is the "home" directory for your Web site most times) __Archives __News ____2005 ______01 __Sports ____2005 ______01 Now the home page for the site would be: docs/index.html The News home page would be: docs/News/index.html - Links to all the current News stories The Sports home page would be: docs/Sports/index.html - Links to all the current Sports stories The master archives page would be: docs/Archives/index.html - links to all the home pages for the sections, and also the home pages for all the year and month pages. docs/News/2005/index.html - Lists links to all months that articles were published docs/News/2005/01/index.html - Lists all stories publish in January 2005 in the News section. Now a link to a story published in January, 2005 entitled "Man dies in horrific donut accident" would look something like: http://www.somedomain.com/News/2005/01/12-donut_accident.html The "12-" part of the file name would be the day that the article got published. So it was put on the Web January 12, 2005 in the News section. Does this kind of get you more what you want? denise1 04-25-2005, 09:27 PM okay, Got it Thanks webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |