HTML - Help With Html Generation
a while back i decided to create a database to index my entire music collection. i did the whole thing entirely in html with the exception of a little css and javascript for style. ive gotten every little detail of every little code fully customized to my liking.
my new challenge is to find a way to generate my own style of coding with some sort of code generator. i was wondering if anyone knew of a way i could go about this. what i do now is i have a text list of the songs to add to a page and i use the Find/Replace function of notepad to replace the placeholders within my code. my entire pages are all coded with variables like "AlbumName", "Track-3" and "BandName" so that i can easily Find/Replace those terms with the bands, albums or songs that go in their place. i'll include some of the code in this message. what im trying to do is find either a piece of software or a webpage with a form that i can customize to generate these chunks of codes for me...so that i dont have to Find/Replace each and every song manually. i want to either generate the code from a simple text list of the names OR be able to type in the song names into a form of some sort and click Generate! and have it generate the chunk of code for an entire album at a time...so i can copy and paste it into the html file...not having to do as much work. here's a sample of one album's code (if i add this in the right place on a band's page and place the files in the correct folder, the album is added to the database and i can click on any song or album name to play a single song or playlist in winamp). this is an album called Lapalco by Brendan Benson: Code: <table> <tr> <td valign=top> <a name="Lapalco"> <img src="Lapalco/cover.jpg"></a> </td> <td width=10> </td> <td valign=top> <font size=5> <a href="Lapalco/Lapalco.m3u" style="text-decoration: none"> Lapalco</a> <font size=2> <br><br> 1. <a href="Lapalco/Tiny Spark.mp3" style="text-decoration: none"> Tiny Spark</a><br> 2. <a href="Lapalco/Metarie.mp3" style="text-decoration: none"> Metarie</a><br> 3. <a href="Lapalco/Folk Singer.mp3" style="text-decoration: none"> Folk Singer</a><br> 4. <a href="Lapalco/Life In the D.mp3" style="text-decoration: none"> Life In the D</a><br> 5. <a href="Lapalco/Good to Me.mp3" style="text-decoration: none"> Good to Me</a><br> 6. <a href="Lapalco/You're Quiet.mp3" style="text-decoration: none"> You're Quiet</a><br> 7. <a href="Lapalco/What.mp3" style="text-decoration: none"> What</a><br> 8. <a href="Lapalco/Eventually.mp3" style="text-decoration: none"> Eventually</a><br> 9. <a href="Lapalco/I'm Easy.mp3" style="text-decoration: none"> I'm Easy</a><br> 10. <a href="Lapalco/Pleasure Seeker.mp3" style="text-decoration: none"> Pleasure Seeker</a><br> 11. <a href="Lapalco/Just Like Me.mp3" style="text-decoration: none"> Just Like Me</a><br> 12. <a href="Lapalco/Jet Lag.mp3" style="text-decoration: none"> Jet Lag</a> </td> </tr> </table> so thats the format i use for everything...even though some albums require more customization which never takes too long. here's what it would be like in my generic placeholder code: Lapalco would be AlbumName Tiny Spark would be Track1 in both places you see it i guess i should show the original code too: Code: <table> <tr> <td valign=top> <a name="AlbumName"> <img src="AlbumName/cover.jpg"></a> </td> <td width=10> </td> <td valign=top> <font size=5> <a href="AlbumName/AlbumName.m3u" style="text-decoration: none"> AlbumName</a> <font size=2> <br><br> 1. <a href="AlbumName/Track1.mp3" style="text-decoration: none"> Track1</a><br> 2. <a href="AlbumName/Track2.mp3" style="text-decoration: none"> Track2</a><br> 3. <a href="AlbumName/Track3.mp3" style="text-decoration: none"> Track3</a><br> 4. <a href="AlbumName/Track4.mp3" style="text-decoration: none"> Track4</a><br> 5. <a href="AlbumName/Track5.mp3" style="text-decoration: none"> Track5</a><br> 6. <a href="AlbumName/Track6.mp3" style="text-decoration: none"> Track6</a><br> 7. <a href="AlbumName/Track7.mp3" style="text-decoration: none"> Track7</a><br> 8. <a href="AlbumName/Track8.mp3" style="text-decoration: none"> Track8</a><br> 9. <a href="AlbumName/Track9.mp3" style="text-decoration: none"> Track9</a><br> 10. <a href="AlbumName/Track-10.mp3" style="text-decoration: none"> Track-10</a><br> 11. <a href="AlbumName/Track-11.mp3" style="text-decoration: none"> Track-11</a><br> 12. <a href="AlbumName/Track-12.mp3" style="text-decoration: none"> Track-12</a> </td> </tr> </table> so im looking for a better way to replace those variables than to use Find/Replace in notepad. i only use notepad for editing. i only know html. i dont want to use any new kinds of coding in my database. id only be willing to use code i can customize and only for the generator which wouldnt be connected to the database. i know most people would just use php to generate these entire pages but im very particular about my coding. please let me know if you have any suggestions about how i can achieve this or if you have any questions about how i do things or how i want to go about this. and im sorry for the long post. thank you. Similar TutorialsI'm writing a web application designed to be viewed on Windows Mobile phones for my work. It contains proprietary information so I am unable to share the link. I have a contact form, and I want a code that when clicked, will open up the SMS application on the phone and populate the recipient automatically. Can it be done? Maybe someone here can shed some light on this for me. I am trying to create a site which displays 12 random questions from a pool of a few hundred. A visitor will come to the site, answer the questions and see the results, much like a poll but they will be randomly generated. I am lost as to where to start on this. I tried a poll type approach but that was not the answer. Those were fixed questions and the polls were powered by other sites. Anyone have ideas or tips on how I can start on this? My html problem keeps failling, with all my image codes.. shown for 10 errors which are all for the images what's wrong? Here is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- New Perspectives on HTML and XHTML 5th Edition Tutorial 2 Case 2 Fiddler Home Page Author: Date: 2-16-2011 Filename: home.htm Supporting files: fiddler.jpg --> <title>, ITSE 1411 Lab Project 2, Tutorial 2 Case 2, Due 02/23/2011</title> </head> <body> <div> <img src="fiddler.jpg" alt="Fiddler on the Roof" /> <hr /> <a href="home2.htm"><img src="home.jpg" alt="home" /></a> <a href="slide1txt.htm"<img src="start.jpg" alt="start" /></a> <a href="slide1txt.htm"<img src="back.jpg" alt="back" /></a> <a href="slide2txt.htm"<img src="forward.jpg" alt="forward" /></a> <a href="slide6txt.htm"<img src="end.jpg" alt="end" /></a> <br /> <a href="slide1txt.htm"<img src="thumb1.jpg" alt="slide1" style="border-width: 5" /></a> <a href="slide2txt.htm"<img src="thumb2.jpg" alt="slide2" style="border-width: 0" /></a> <a href="slide3txt.htm"<img src="thumb3.jpg" alt="slide3" style="border-width: 0" /></a> <a href="slide4txt.htm"<img src="thumb4.jpg" alt="slide4" style="border-width: 0" /></a> <a href="slide5txt.htm"<img src="thumb5.jpg" alt="slide5" style="border-width: 0" /></a> <a href="slide6txt.htm"<img src="thumb6.jpg" alt="slide6" style="border-width: 0" /></a> </div> <hr /> <div> <img src="slide1.jpg" alt="slide1" /> </div> <blockquote> <p><i>Do You Love Me?</i> sung by Deb Ingalls and Thomas Gates</p> </blockquote> </body> </html> I just upgraded all my .HTML pages to .PHP . But now I noticed that when my pages pull up in the search engines like Google, Yahoo, and MSN. They still show the old .HTML links?? When they click on the webpages from the search engines results you get error 404 page cannot be found. How can I update the search engines or add code to my page so the search engines will reflect the new .PHP pages. Also it's been over a good week since I've update to .PHP Thank you all in advanced!! As the title states I've been using Microsoft Word 2000 to create my web page but now want to make a simple no frills html HTML document. Is there a simple and quick way to do it ? I know I can simply create a new HTML document and then just copy and paste the links but is there a utility that can do this ? Many thanks Hi, so I'm trying to make this e-mail newsletter. It's entirely images, tables and text. So no javascript, just plain stuff. I tried attaching it as a signiture file and I had trouble sending it. It also didn't come out right. I'm trying to avoid using a software. Its basically just a block of HTML I need to show up as the only content in an email. If you just put HTML into a email text field, it just shows the HTML code in the email as text. Any ideas? Hi everyone, I've been searching around the web trying to find out how I can send using Outlook a html and text email newsletter automatically. I am quite happy creating html only newsletters, and text ones for that matter, but I have been digging and believe that by using multi-part code I can send to both and the recipients email client "allows" whichever version to be displayed - does this sound right? I'm hoping to simply create the html with the relevent mime references and boundaries (dont know what they are but have seen them on enough Google'd pages to know that they mean something!) and then copy and paste into Outlook - the newsletter is only going out to a few people at a time. Any suggestions or advice would be very greatly appreciated. Regards Allan hello i have a page 'gallery.html' that i want to show up when the URL www.site.com/gallery is requested. how do i achieve this? thanks in advance rlbw I need a simple example to take input, and give an output, such as input: height weight output: body BMI thanks Hello Friends, I need a tool which can remove HTML comments from an HTML page. I don't want to create a regular expression to remove HTML comments rather I need a tool which should have command line support also so that it can be integrated with build process. Please advice. Thank you. Hello Everyone, Please help in build the code for the site , the layout should be as the below layout , I need to submit this by today EOD. Image Link1: http://8648180184665331224-a-1802744...attredirects=0 Image Link 2: http://8648180184665331224-a-1802744...attredirects=0 Please mail me the code ASAP. Thanks and Regards, ceenuu2002@gmail.com i just started working on addicted2ally.com, and for some reason, my index.html is showing the text of the html instead of well, doing it lol helppp!? Hi everybody, I've invented a means of converting HTML to keywords. http://4nf.org/tool/ What do you think of it? Any kind of feedback is greatly appreciated! Thanks in advance and kind regards I am still new to the web page world, but the website I originally created (in japanese) was passed on to a programmer. He did a lot of "upgrades" to the site so he says, but he left. Now I am in charge again of re-modeling the site. The problem is I am trying to figure out why there are so many dead links. I have looked up and down the server, but can't find anything. Ok before I confuse anyone else here is what I am talking about. For example this page that I originally made : Code: http://www.discoveryfirm.com/tokushu/index.html cannot be found but if I take of the end: http://www.discoveryfirm.com/tokushu/ the page is there. Now I am trying to fix a lot of dead links, but I cannot figure out what the programmer did to the site. I am still new to all the high-tech features in the web world. Could somebody please explain. Can I put an HTML page within a html page in a table? I have this template that I need to email to people, it will not be on my website. Wow ever I need to change the information in one table every few days. The information is live I think it's called. It's like if I place google adsense in that table and decide to change it to ad-clicks later, I can't send everyone a new template, I need to be able to change just the information within that table. I'm going to go read up on frames, haven't used them in years. Any ideas! ~eDee Hi all, I've just joined your forum today as I've got a problem I can't seem to resolve with my tumblr html. I'm not sure whether any of you are familiar with tumblr, but it's basically a social networking blogging site. First of all, my url is http://king-of-diamonds.tumblr.com/ I have edited the html of my page a lot but there is one problem that I can't fix: If you have a look at my blog, you will notice that between the posts there is a little white line/space that I have tried my best to get rid of. Does anybody know how I can get rid of it? You can have a look at the html of my blog (currently) by clicking this link. Thanks in advance! Hello everybody, I'm new here. I'm redesigning my own website and came up with some tricky situation. I write HTML lessons and I want to put just the pure code in my posts, but they appear as a regular html document... How do I make the code to be shown just as text (code), like we do in the forum boards (code tags or whatever)? I have read a lot of the posts on this subject, but have not found an answer to my problem. I am rebuilding my site and renaming/moving some pages; most will stay with the same name/location. My site is hosted on a windows server (godaddy,) and I do not have access to IIS manager and the windows server does not do php. I have good coverage by search engines worldwide, and I'd like to keep it. All help much appreciated. How to create explorer like menu in Html or java script? eg + Game(inside this Cricket and Football) when click on + sign it become like-- - Game -Cricket -Football Can anybody suggest me, by which command I can do it? Commercial Removals || Removals and Storage||Specialist Removals hi everybody, I am working in a html. I defined a functiion in a html file.(first.html) I want to call that function in another html file.(second.html) How can i call that function in second.html file? give some sample code Thanks in advance.... |