Copy link to clipboard
Copied
Hola me llamo Vitto y me dirijo a kien me pueda ayudar.
Estoy haciendo una web y me interesa cargar texto desde un word o un txt, de forma ke solo con cambiar el documento de txt, se refleje en la web.
Mi conocimiento web a reduce a html y css, es decir, maquetación pura y dura, soy diseƱador, no programador. Es decir ke no se ni PHP ni MySql. AsĆ ke agradecerĆa una explicación paso a paso o en su defecto un ejemplo practico.
La idea es poder tener todo el texto de la web en un doc. i en funcion del idioma cargar su documento correspondiente con todo el txt de a web. Solo los textos de la web, "quin somos", "historia" "que hacemos", etcƩtera los menus y submenus no entrarian en este txt.
Alguien puede ayudarme?Āæ
Gracias de antemano.
Atentamente
V.
donv74716873 wrote
No, no, what I want, is to extract the txt from a document, written in WordPat, Word, Notepad etc, and place it in a <div> so that it is dynamic text. So just updating the text document automatically updates the <div> of the web.
There is no reliable way to do this without using a server-side language such as PHP.
There is something called css regions, that would enable you to do this without a server-side language, but it is only supported by IE, Edge, Safari and iOS devices, a
...Copy link to clipboard
Copied
From what I can gather, you want to know how to convert a Word document to an HTML document. If that is the case, please have a look at Import Microsoft Office documents in Dreamweaver (Windows only)
Copy link to clipboard
Copied
No, no, what I want, is to extract the txt from a document, written in WordPat, Word, Notepad etc, and place it in a <div> so that it is dynamic text. So just updating the text document automatically updates the <div> of the web.
Copy link to clipboard
Copied
That's what includes are for.
Nancy
Copy link to clipboard
Copied
I do not understand you ![]()
Copy link to clipboard
Copied
Reply number 2 contains your answer.
La contestación número 2 contiene su respuesta.
Re: Exportar texto de un txt/word a dreamweaver, NO INSERTAR UN WORD.
Use server-side includes or client side includes.
Utilice el lado del servidor incluye o incluye el lado del cliente.
Nancy
Copy link to clipboard
Copied
donv74716873 wrote
No, no, what I want, is to extract the txt from a document, written in WordPat, Word, Notepad etc, and place it in a <div> so that it is dynamic text. So just updating the text document automatically updates the <div> of the web.
There is no reliable way to do this without using a server-side language such as PHP.
There is something called css regions, that would enable you to do this without a server-side language, but it is only supported by IE, Edge, Safari and iOS devices, and you would have to use a polyfill, (a javascript file) in order to use it with Firefox and Chrome, or Android devices.
As you say you are not a coder, then this would be very difficult to do.
Copy link to clipboard
Copied
Ok, that is, yes or yes, I have to use a PHP file. Pziecina, thanks for your explanations. Nancy, many thanks for your comments and patience :). I'm going to try what you told me Nancy. As I said, I am not a programmer, I am a designer and programming in PHP is another level for me. Thank you from Barcelona.
Copy link to clipboard
Copied
Feel free to post back if you have any difficulties.
Copy link to clipboard
Copied
Hahahaha, you can be sure that if I do not succeed ... come back, hahaha.
Thanks again ![]()
Copy link to clipboard
Copied
You need to be able to work with code. There is no magic button.
Look for Server-Side Includes (PHP) or client-side includes (JavaScript or jQuery).
Alt-Web Design & Publishing: Server-Side Includes with PHP
Nancy
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more