HTML - All Text Content Of A Website In A Single Xml File
I'm writing my web site in Notepad++, using XHTML (source: w3schools tutorial) , and also getting into XML. This is my website. What I want to do is like this:
1) Move all the text content of my website to mywebsite.xml, organized in text blocks corresponding to each web page E.g.: I cut the text content from the HMTL of the "my profile" web page and paste it to the XML file as a text block under a suitable heading. By text content I mean all the text that is viewable, like "Autodidact. Freelance English-Spanish translator and style proofreader..." 2) Mark each text block in the XML E.g.: I mark the above mentioned text block with an id, "profile" 3) Place a link in the page's HTML to the corresponding text block in mywebsite.xml, so it calls the text when the page is loaded E.g.: where the original text content of the "my profile" page was, I place a link to the corresponding text block marked "profile", so the text is called and viewable when the page is loaded That way I'd manage text content more easily. For example, the text of my menu entries is the same in all pages. I want that when I need to modify the text of a menu entry (e.g. replacing "graphic design" by "visual art"), I can just do it in the XML file and that's all, instead of making the change in every web page. Also having all of my website's text content stored in a single file makes it easier to locate and modify strings. How can this be done? I have no clue. Thanks in advance. God bless you. Similar Tutorialshi this is reddy i want to update the text box values in my website by using any note pad r some other with out updating the whole code in the server every time to change the value help me I don't know if this even belongs in HTML, but my question is whether or not there is any way I can include text seamlessly within a webpage from a remote location, i.e., a text file... I guess... so that it works like an iframe. Or should I just give it up and use an iframe? The website I'm creating is located he freshsession.net23.net Please take a minute to look through it. I know like half the nav links aren't working; that's because I don't know what I want to do for them yet. I haven't done this in years and I've never been that advanced so I'm really rusty. How should I lay this out? The top is going to be a picture that I'm still working on, so ignore that part (obviously the easiest to ignore). I'm just using divs right now, but what I don't like is having to have the same page for every page. I only want the content to change, but for some reason I'm not feeling iframes. But if that's my only option, I'll sure go with it. For the drawings page, I was going to use a gallery script and have them all right there. I want it to be very minimal and simple. Then for the blog I don't really know what to do, and for the guestbook I don't know what to do. Like I said, I want everything to be really nice and simple and preferably integrated. Any suggestions would be greatly appreciated (regarding the layout set up in general, a gallery script, blog, or guestbook, for example). Thanks a lot! Please throw me your tips and ideas! Ok I want to get involved with a few affiliates. Now they've given me the link I need to set up my store within my website, but I need to know how and what is needed to build the HTML/CSS page so that the store works. They salso said that I am able to skin the storefront with my websites look. So is just the very basics of an HTML page needed for an affiliate link to work? Or is it going to be something more advanced? Hi everyone. I am new to this forum and have very basic HTML knowledge. I've set up a page at http://www.freudiansliprecording.com/thelastsupper which, as it is coded now, automatically plays a goofy 5 second MP3 audio file when the page loads. What I would like to do is have the page randomly choose between 2 or three different of these very short MP3 audio clips and play one of them (and only one of them) when a visitor first comes to this page. Can anyone here recommend a way for me to do this? I do not want a visible player for this randomly chosen clip. Thank you all very, very much in advance for your help Cheers, Kevin hi! Firstly I would like to state my first impression about this site. Judging the activity of members by the amount of posts I can see that this is the best place to discuss anything website-related. So I hope I enjoy my time here Now, onto my question. I have all my files stored on my computer (.htm + graphics + other junk), and have already purchased a domain. I was wondering how to upload these files onto my site, and get my site going. I understand that I need to purchase a hosting service. I tried that, and didn't understand what to do. I uploaded all my files with the uploader provided, including the index.htm files, and nothing happened. I was then sent to filezilla - some kind of FTP someting (I don't even know what FTP is), and I had no idea what to do with that software. help please? Hey All, don't know if you can help but, my website address is: http://glycemicindexandweightloss.com if you look at the source page you will see that all of the coding is there but the website site states that it is formatted incorrectly. and none of the content shows up. If anyone can take a quick look at this and possibly see something off I would really appreciate it. thanks in advance. Michelle I know I'm probably going to get ridiculed for this being my first post, but I can't seem to find any help elsewhere. I browsed the forum a bit before posting but didn't really know what to look for. OK so this the first website I've ever made and I only have limited html knowledge but so far this is what I have. www.freewebs.com/maurerrj Here is the html: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <!-- Created with the CoffeeCup HTML Editor 2007 --> <!-- http://www.coffeecup.com/ --> <!-- Brewed on 1/15/2007 4:28:49 PM --> <head> <title></title> <style type="text/css"> <!-- .{background: #D6D3C0;}.{background-image: url(http://img138.imageshack.us/img138/3373/newbackground4qp5.jpg);background-repeat: repeat-y;background-position: center;} --> </style> </head> </style><body topmargin="0"> <div align="center"> <table cellspacing="0" cellpadding="0"> <tr><td colspan="0" width="750"><img height="223" src="http://img223.imageshack.us/img223/7681/banner5im9.jpg" width="724"><td></td> <tr><td colspan="0" width="750"><img height="19" src="http://img407.imageshack.us/img407/7290/fillervh5.jpg" width="724" border="0"><td></td> <tr height="0"><td colspan="0" width="750"><img height="11" src="http://img101.imageshack.us/img101/3912/spacer1hs9.jpg" width="724"><td></td> <tr><td valign="top" width="153"><table cellspacing="0" cellpadding="0" width="153"> <tr><td><img height="36" src="http://img260.imageshack.us/img260/1838/filler2qj3.jpg" width="153" border="0"></td></tr> <tr><td><a href="#"><img height="22" src="http://img156.imageshack.us/img156/9990/home1pp8.jpg" width="153" border="0"></a></td></tr> <tr><td><a href="#"><img height="22" src="http://img92.imageshack.us/img92/8751/conifersls9.jpg" width="153" border="0"></a></td></tr> <tr><td><a href="#"><img height="22" src="http://img251.imageshack.us/img251/7016/grassesbf3.jpg" width="153" border="0"></a></td></tr> <tr><td><a href="#"><img height="22" src="http://img525.imageshack.us/img525/5920/shrubsvf9.jpg" width="153" border="0"></a></td></tr> <tr><td><a href="#"><img height="22" src="http://img86.imageshack.us/img86/2730/perennialszy4.jpg" width="153" border="0"></a></td></tr> <tr><td><a href="#"><img height="22" src="http://img137.imageshack.us/img137/4079/troughgardenskr9.jpg" width="153" border="0"></a></td></tr> <tr><td><a href="#"><img height="22" src="http://img91.imageshack.us/img91/5199/directionsae8.jpg" width="153" border="0"></a></td></tr></table></div> </body> </html> Anyway, onto the point... I want to make an area to put all of my content like text and images and what not in that main area but I don't really have any idea how to do it. Also the background image isn't showing up in firefox, so if you have any idea how to fix that let me know. But for now I guess you have to look at it in IE. Also, I will be having galleries under the evergreen, perennials, etc. tabs, and I think I want to use lightbox, but I don't know much about it. So any tips with that would help. The lightbox website is http://www.huddletogether.com/projects/lightbox2/ Any help you can give me is TRULY appreciated. I have several websites that I maintain and update. A lot of them are just textual changes and I would think my customers can do these themselves by editing a simple .txt file. I was hoping my choices are avalable so that I can just insert this tag into my web pages and then give them login info to their edit page or show them how to upload the .txt file. I hope this is an easy one with several answers. Is it possible these tags could discipline your rankings in the search engines? Thanks, Jason Hello, I have a small business with a website (http://www.232john.com). I created the website with Microsoft Publisher 2003. We produced a commercial about 1.5 years ago and would like to put it on the website. The problem is I don't know how, and really, if its at all possible. Also, the file may be too large, about 3 minutes long. I am thinking I would have to resize, or change the format somehow, but since I am quite new to this, I have no idea how to do that either. lol SO, anything anyone could do to help would be greatly appreciated. Thank you very much matthew Hello EveryBody! I Have Some Reports In PDF Format I Am Going To Offer On My Site. My Question Is, How Can I Set It Up To Have The File Instantly Download To The Customer Once Payment Has Been Confirmed? I Do Have A PayPal Payment Button. Do I Have To Somehow Edit That Code? I Greatly Appreciate Any Feedback I Can Get On This. Thanks Alot. Greetings I have 3500 pages of content on my site and i would like to monetize all of them by placing some adds. The problem is that my advertisers might change sometimes and i don't want to update all the pages each time i decide to go for some other advertiser so i tought i should use another html file that would be displayed on all the 3500 pages and each time i would modify this file, it would update on all the 3500 pages. I would like the page to be search engine friendly too, if possible. Also don't want to use frames. So there would be small window 200 x 200 in size that would display the content of the seperate file on all these 3500 pages. So how should i do this, would java script be something to consider? I don't know much about php and would not like to use it, what would be the easyest way to do this? Also there can not be any borders in this window and it needs to be embedded in to all these 3500 pages, in exact size of 200 x 200. This system needs to work in IE, Firefox, netscape and opera!! The content would be adsense, banner or similar content. Please advise.... Sir. Turhapuro How do I Link text in a div, h1, h2, p to an external text file or xml file - I don't really know how to ask the question. I think I need an xml file that can be easily edited by a user saved to the server to update an xhtml page text without the user getting bogged down in html. I don't want to use joomla or cms. <Any ideas />? Best wishes, mas I have like over 5 thousand mp3's on my web server I want to install a search box on the MP3 home page that can search for mp3's based on your search input The only search engines I can find only search text and html files. Any help would be awesome Thanks ahead of time This mp3 server is for my personal use only. Dan I have like over 5 thousand mp3's on my web server I want to install a search box on the MP3 home page that can search for mp3's based on your search input The only search engines I can find only search text and html files. Any help would be awesome Thanks ahead of time Dan hello, all i just start learning how to build my own website. One purpose of my website is: I want to embed a macro enabled excel file (i.e., an excel file like "***.xlsm]") into my website so that visitors can use the excel file to do some calculation. (visitors do not have to download the excel file) Before I spend more time building my website, I want to ask: is it technically doable to embed excel file (especially excel file .xlsm)to my website? Thank you. I'd like to add a input text pop up box to my website on load, that allow a visitor to enter information in and when done hit enter or ok and see the text being display on the page it self.. hope ya can help.. thanks Don How do i display the text contents of a txt file in ip addresses box after i clicked the send button? here is my website http://ip2url.tk/ code: <html> <head> <title>IP TO URL Converter</title> </head> <body> <h1>IP TO URL Converter</h1> Please specify a log file:<br> <input type="file" name="datafile" size="40"> </p> <div> <input type="submit" value="Send"> </p> IP addresses:<br> <form method="post" action=""> <textarea name="comments" cols="40" rows="5"> </textarea><br> </form> </p> <button type="button">Convert</button> </p> URLs:<br> <form method="post" action=""> <textarea name="comments" cols="40" rows="5"> </textarea><br> </form> </div> </form> </body> </html> hey guys, I don't know if this is the right place to post. my company has existing websites, and I come to fix the errors.(I don't know the status about those website on Cpanel) After I did some change on File Manager, but the web site stay the same no matter how I do the code ( even delete all codes).... anyone know why that happen? Do I need to refresh or something? Any things I need to check on Cpanel for the settings??? thanks guys!! Hi guys, I'm currently trying to sort out the background for a website. What I'd like is to have a silhouette of a few people on a gradient background. I'd like to keep the quality high, but it also makes the file size large. If there were no silhouette then I would have a one pixel strip of the gradient set to repeat. Is it possible to add two background pictures, or is there another way I can reduce the file size that I hadn't thought of? |