HTML - Mass Content Update
Hi all,
I have a sidebar on my site that I want to put a latest news section in and I want it to be the same in all pages at my site. My problem being that I don't want to update all the pages in the site every time I update the latest news section. I'm wondering if there is any way (other than frames) to 'link' to a separate file in which I change the content every time I update the news and then all pages are updated accordingly. I've thought about using a MySQL database to hold news content and then use php to retrieve it but this seems like overkill given that I am confident there is probably an easier way? Any thoughts? Thanks Aaron Similar TutorialsHello, I'm helping a friend redesign a film website. Is there a way of making an area of content (such as a set of links in a menu bar) updatable so that if it is updated it will change across all the specified pages on the site? I am vaguely aware of templates in Dreamweaver CS3 and I think this would provide the solution, but my friend uses Frontpage and will be editing and creating content in that. Is there a way of using CSS to update areas of content? I know how to use CSS to update values like fontcolour and background images, but not areas of actual HTML content. Thanks for any help you provide. I have a folder which contains over 1000 songs on my server Artist-Song.mp3 format. I want to create a links page with my own template and such, but not have to sit and copy/paste the urls 1000 times. I need a program or script that would just recognize all the files in that folder so I can make a page to display all the songs. See what I'm saying? OK, I've really been tearing my hair out with this one and now getting frustrated beyond beliief! LOL. I have as a bolt on within my phpBB2 (v2.0.22) forum a Mass email HTML MOD (uses a program called MICE). Now, my forum style is Aphrodite and I have successfully got this into a draft email yet when I go to preview the email, everything is set-out perfect. Once it gets sent to any email client, ie Hotmail, Yahoo mail, etc, etc, a lot of the style gets stripped making it all look very messy. Best way to explain this is by screenshots. The below is how it SHOULD look (small section of the email): And this is how it looks in email clients (same section): This is the header from the html file: 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 content="text/html; charset=ISO-8859-1" http-equiv="content-type" /> <title>screwball newsletter 1</title> <link rel="STYLESHEET" href="http://www.screwballscrabble.co.uk/forum/templates/ca_aphrodite/style.css" type="text/css" /> </head> <body> I'm hoping it's something that is easy to remedy as I've obviously overlooked something. Look forward to any responses. Thanks! Hello, I got a problem, i want to add a new link "Contact us" in my web page. But i need to open up every single page to add the new link. Is there any simple ways to add it? Like i change my homepage , and every single page changes? Thanks Steve Hi, Im trying to make my footer content align correctly to the main content when a window resizes. The apdivs don't seem to want to move at all even with a relative position etc. I have tried everything but just cant get it to work can someone help please? http://pjm.co.uk.uksite4.yourwebserv...splay&PageID=5 Also some one commented before on the amount of css and JS pages. These will al be stripped out as its an Open sources system im using! Thansk alot Joe Hey guys, I used to know a lot about html, but then just completely stopped doing anything with websites for too long. I was just wondering how I can replace a word or number with a specified word or number. What I want to achieve: I've got a forum with a couple thousand members and it's picking up in activity and I want to make some names stand out for being helpful. I want to replace their names with an image. But to do so, it'd have to be a code made and added into the footer template. Because obviously I can't edit a username for html image code. So I just need the code to find all instances of a certain username and replace it with what I specified. ------------- Man I really wish I remembered how to do this haha. Thanks guys. Hello, Can you tell me what the best way would be to update a WEB page with simple date content please? We have a page that shows when certain production jobs have run and the last time i had to update it i had to actually change the HTML code and that was a pain. Is there an easier way to maintain this HTML page? I'd like to work with something like WORD where i just deal with the content on the WORD page and let WORD generate the HTML, but this particular HTML page has custom layout, but i'm figuring since WORD can do it there must be another tool that can handle this custom layout and content like a WORD HTML page? Thanks very much for any insights! BobK I am creating a webcam and my software ftp's a new jpg every 2 minutes. It overwrites the old jpg. The problem is that most browsers (IE, Safari, Chrome) see a jpg that is hours old and has been overwritten 60+ times. And when those browsers see the webcam page, they see an old photo. All three of these browsers see the same photo / time - overwritten hours ago. It does not appear to be a browser cache issue because the browser / computer were off or offline at the time that photo was uploaded. I can turn a computer on and see a photo that was overwritten hours earlier. Firefox appears to be an exception. It shows the current photo and the webcam page works properly (although I have at least one Firefox user who reports a problem). Here is the link directly to the jpg that is being uploaded via ftp. The webcam software I am using is EvoCam. http://homepinballrepair.com/webcam.jpg A refresh on Firefox shows the latest photo. Not on the other browsers. What the heck?! I recently just added an RSS feed to my website, and I was wondering how to update it....Do I have to edit it in Notepad, save it, then upload it again? Also, when you subscribe to an RSS feed on Google, is this "headline" thing supposed to be the most recent story, or is that supposed to be my site name and link to my homepage? I'm very confused, as I added like 10 items to my feed and only 2 show up (one of them taking place of my headline for some reason).......Here's the code: Code: <?xml version="1.0" encoding="US-ASCII"?> <rss version="2.0"> <channel> <title>Celtics Insider</title> <link>http://celticsinsider.webs.com</link> <description>Your #1 Source For Anything And Everything Boston Celtics and NBA!</description> <language>en-us</language> <copyright>Celtics Insider</copyright> <item> <title>This Is Our House</title> <link>http://celticsinsider.webs.com/05February2010.html</link> <description>Eddie House's heroics, coupled with a late defensive surge, helped avoid a loss to the last-place New Jersey Nets.</description> </item> <item> <title>Allen's Key Steal Jump-Starts C's</title> <link>http://celticsinsider.webs.com/03February2010.html</link> <description>The Pierce-less Celtics were too much for Dwayne Wade's Miami Heat. Pierce, sidelined with a foot injury suffered in Monday's game, missed his sixth game of this season.</description> </item> <item> <title>Pierce May Have Broken Foot</title> <link>http://celticsinsider.webs.com/02February2010.html</link> <description>It was apparent after the Celtics' win yesterday that All-Star Paul Pierce was hurt; it is a matter of time before the team finds out just how bad it is. The Celtics star forward tumbled and fell down twice in last nights win.</description> </item> <item> <title>C's End Three Game Skid</title> <link>http://celticsinsider.webs.com/01February2010.html</link> <description>Coming off a three game losing streak, the Celtics came into the Verizon Center determined to win. Monday night, the Celtics showed why they have been the top defensive team in the league since aquiring Kevin Garnett.</description> </item> <item> <title>Bryant's Heroics Sink Celtics</title> <link>http://celticsinsider.webs.com/31jan2010.html</link> <description>Kobe Bryants late jumper with 7.3 seconds left in regulation capped an 11-point fourth quarter comeback for the Lakers, spoiling big nights from Rajon Rondo and Tony Allen.</description> </item> <item> <title>Boston Battles Los Angeles In An Instant Classic </title> <link>http://celticsinsider.webs.com/31january2010.html</link> <description>It may not be the NBA Finals and it may not be Christmas Day, but that doesn't matter much with this game -- the luster is never lost for a Celtics-Lakers game.</description> </item> <item> <title>Celtics Can't Stop Magical Comeback</title> <link>http://celticsinsider.webs.com/28january2010.html</link> <description>The play designed for Vince Carter was being shredded. J.J. Redick stood near midcourt, swarmed by defenders, unable to make the pass with the clock about to run out on an improbable comeback.</description> </item> <item> <title>C's Take On Mavericks Tonight</title> <link>http://celticsinsider.webs.com/18jan2010.html</link> <description>The TD Garden will host a Martin Luther King Day special tonight between two of the top teams in the NBA. The Boston Celtics and Dallas Mavericks, both of whom are coming off of tough losses, will meet at 8 p.m. tonight in a nationally televised game.</description> </item> </channel> </rss> I have been asked to update a website on this page there is a "submit" button I get the following error. http://www.mppi.mb.ca/membershipApplication.asp Thank you Bad Referrer - Access Denied Page is using an invalid referer which is not allowed to submit to this script. See the MTS Personal Web Page FAQ for usage. I NEED THE INFORMATION ON THE FORM TO BR SENT TO A SPECIFIC EMAIL ADDRESS.... The menu for my website needs to be updated often with new subcategories, etc. My website is all in HTML/CSS and has a lot of pages. Whenever I update the menu, I need to update all the pages on my site. Is there a simpler way to do this -say edit the menu on another file and have the changes be reflected on all the pages for my site? Also note that the menu is using CSS/JS files attached to the html file. Thanks in advance! The company website I manage is growing to the point where I won't be able to update it all by myself. I need to find a tool that will allow people with no html experience to update their section of the site. Does anyone have any recommendations? I want it to be as easy as possible for them. Hi all, How do I force a single web page to update to its most recent content? This file is being loaded from a frameset and when I load it in IE it doesn't update, I have to wipe all the temporary IE files in order to see the updated content. Thanks in advanced. Hello everyone at HTMLforums. I'm writing up a rather simple layout for a small sub-site (take a look here): http://wintercarroll.co.cc/legendaire/. I plan on having that single side bar with links to various pages. As an example, if someone were to click on Characters, there would be a page of short profiles, and a list of links on the side ever present while you are in the character section. I was wondering if there was an easy way to have this update without having to go though every character page and copy-paste a new link in every time a page gets added? On that same not, I've seen sites with the expanding and contracting menus with the click of an icon (usually a '+'). How does one go about that? I've got a menu I've made in fireworks that I've got to copy to about 20 pages every time I update it. Is there any way to make this process simpler? ok.. well.. im making a control panel.. that updates the parent window... this is the code in the parent window to pop up the child: <img src="g2cpanel.jpg" onClick="window.open ('cpanel.html', 'newWin', 'width=255, height=255')"> and this is the whole page of my child window: <html> <head> <title>boyo productions::control panel</title> <style type="text/css"> body {background-color: black; text-color: yellow; } .maintitle {background-color: yellow; text-align: center; }</style> <script language="JavaScript"> function updateParent(newURL){ opener.document.location = new URL } </script> </head> <body><center> <img src="cpanel.jpg"><br> <div class="maintitle">welcome to the control panel!</div> <a href="javascript: updateParent('index.html')">**home**</a><br><br> <a href="javascript: updateParent('codes.html')">**get the codes!**</a><br><br> <a href="javascript: updateParent('forum.html')">**forum(coming soon)**</a><br><br> <div class="maintitle">© boyo productions 2007-2008</div> </body> </html> my problem is that i can get the control panel to pop up once the image is clicked on, but, in that child window of a control panel, the links wont update the parent window.. whats wrong with my code? plz help me.. ty all hi guys. i am builder my sister a small website for her cat breeding hobby, it has about 6 or 7 pages, on each page i have the news section sat on the side of the page under the links. what im wanting to know is. is there a way i can add some code to the HTML for the section where the news is now to make it so i can update it from a text file so i dont have to update the news on all 7 pages individualy and can just edit the text file upload it to the server hit refresh on the page and its done thanks in advance Hi I am designing a form to update a template i have created. The idea is to leave the form with a user and they can input details which will update a template i have designed for use with ebay. However i have designed it using javascript and when this updates my template it doesnt actually fill out the data, it is only taking the data from the intial form not actually making a new hard copy with the data? My code: User Form: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Pass Data Form</title> <BODY> <center> <form type=get action="template.htm"> <table border=1> <tr> <td>Item Title:</td> <td><input type=text name=itemtitle size=100></td> </tr> <tr> <td>Item Condition:</td> <td><input type=text name=itemcondition size=50></td> </tr> <tr> <td>Box Condition:</td> <td><input type=text name=boxcondition size=50></td> </tr> <tr> <td>UK Postage:</td> <td><input type=text name=ukpostage size=10></td> </tr> <tr> <td>European Postage:</td> <td><input type=text name=europepost size=10></td> </tr> <tr> <td>Rest Of World Postage:</td> <td><input type=text name=rowpostage size=10></td></tr> <tr> <td>Description Item 1:</td> <td><input type=text name=descritionitem1 size=100></td> </tr> <tr> <td>Description Item 2:</td> <td><input type=text name=descritionitem2 size=100></td> </tr> <tr> <td>Description Item 3:</td> <td><input type=text name=descritionitem3 size=100></td> </tr> <tr> <td>Description Item 4:</td> <td><input type=text name=descritionitem4 size=100></td> </tr> <tr> <td>Description Item 5:</td> <td><input type=text name=descritionitem5 size=100></td> </tr> <tr> <td>Description Item 6:</td> <td><input type=text name=descritionitem6 size=100></td> </tr> <tr> <td>Description Item 7:</td> <td><input type=text name=descritionitem7 size=100></td> </tr> <tr> <td>Description Item 8:</td> <td><input type=text name=descritionitem8 size=100></td> </tr> <tr> <td>Description Item 9:</td> <td><input type=text name=descritionitem9 size=100></td> </tr> <tr> <td>Description Item 10:</td> <td><input type=text name=descritionitem10 size=100></td> </tr> <tr> <td>Description Item 11:</td> <td><input type=text name=descritionitem11 size=100></td> </tr> <tr> <td>Description Item 12:</td> <td><input type=text name=descritionitem12 size=100></td> </tr> <tr> <td colspan=2><input type=submit value="Submit!"> </td> </tr> </table> </form> </center> </head> <body> </body> </html> Template javascript: Code: <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function getParams() { var idx = document.URL.indexOf('?'); var params = new Array(); if (idx != -1) { var pairs = document.URL.substring(idx+1, document.URL.length).split('&'); for (var i=0; i<pairs.length; i++) { nameVal = pairs[i].split('='); params[nameVal[0]] = nameVal[1]; } } return params; } params = getParams(); // End --> </script> <SCRIPT LANGUAGE="JavaScript"> itemtitle = unescape(params["itemtitle"]).replace(/\+/g,' '); document.write(itemtitle); </script> </STRONG></FONT></DIV> </DIV> <DIV align=left><FONT color=#492d67><STRONG> <SCRIPT LANGUAGE="JavaScript"> itemcondition = unescape(params["itemcondition"]).replace(/\+/g,' '); document.write("ITEM CONDITION: " + itemcondition); </script> </STRONG></FONT></DIV> <DIV align=left><FONT color=#492d67></FONT> </DIV> <DIV align=left><FONT color=#492d67><STRONG> <SCRIPT LANGUAGE="JavaScript"> boxcondition = unescape(params["boxcondition"]).replace(/\+/g,' '); document.write("BOX CONDITION: " + boxcondition); </script></STRONG></FONT> </DIV> <DIV align=left><FONT color=#492d67></FONT> </DIV> <DIV align=left><FONT color=#492d67><STRONG> <SCRIPT LANGUAGE="JavaScript"> ukpostage = unescape(params["ukpostage"]).replace(/\+/g,' '); europepost = unescape(params["europepost"]).replace(/\+/g,' '); rowpostage = unescape(params["rowpostage"]).replace(/\+/g,' '); document.write("POSTAGE: " + ukpostage + " (UK Mainland) " + europepost + " (Europe) " + rowpostage + " (R.O.W) " ); </script></STRONG></FONT> </DIV> <DIV align=left></DIV> <UL> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem1 = unescape(params["descritionitem1"]).replace(/\+/g,' '); document.write(descritionitem1); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem2 = unescape(params["descritionitem2"]).replace(/\+/g,' '); document.write(descritionitem2); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem3 = unescape(params["descritionitem3"]).replace(/\+/g,' '); document.write(descritionitem3); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem4 = unescape(params["descritionitem4"]).replace(/\+/g,' '); document.write(descritionitem4); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem5 = unescape(params["descritionitem5"]).replace(/\+/g,' '); document.write(descritionitem5); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem6 = unescape(params["descritionitem6"]).replace(/\+/g,' '); document.write(descritionitem6); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem7 = unescape(params["descritionitem7"]).replace(/\+/g,' '); document.write(descritionitem7); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem8 = unescape(params["descritionitem8"]).replace(/\+/g,' '); document.write(descritionitem8); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem9 = unescape(params["descritionitem9"]).replace(/\+/g,' '); document.write(descritionitem9); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem10 = unescape(params["descritionitem10"]).replace(/\+/g,' '); document.write(descritionitem10); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem11 = unescape(params["descritionitem11"]).replace(/\+/g,' '); document.write(descritionitem11); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem12 = unescape(params["descritionitem12"]).replace(/\+/g,' '); document.write(descritionitem12); </script> I would like the new template so i can view the source code which will contain the user filled info. This will then just be copied into the ebay description for use. Any help appreciated. My current web site is at "CAVAglass.com" I created "http://www.cavaglass.com/gallery/1.GORMENGHAST.htm" and want it to be my new Index Page. All the links work fine here. When I rename "http://www.cavaglass.com/gallery/1.GORMENGHAST.htm" as "index.htm", and open my "CAVAglass.com" website this home page looks fine, but no links work. Any suggestions? Best, Joseph |