Copy link to clipboard
Copied
Is there a way to import my content, (text, images, videos and links) that will all be styled the same way on every page, into new pages that I create from a single .dwt?
For example say I have a site about animals and I have all of the above content about different animals it is similar in format but the words and pictures are different and they link to different things. I have lots of text and several different pictures with captions that would take a long time to manually enter page by page. Does DW have an import function that would help me do this?
Using DW CC in Windows 10
Thank you,
Amy
A web page is an HTML document which in turn is interpreted by the browser to render the page. Word and Excel do not contain HTML elements unless they have been saved as an HTML document. Even then, the thus created document will contain many elements that are not required for a web page and that cannot be interpreted by the browser.
Conclusion, the cumbersome method is the most trusty way.
Copy link to clipboard
Copied
No. Creating a DWTemplate is the 1st phase of your project, not the last one. In other words, you create a dummy page with regions for sitewide content (common header, footer, navigation, etc...) then save as a Template.dwt file. You add Editable Regions for content that will change from page to page and save it.
Close Template.
Go to File > New > Site Templates. Select your template.dwt and hit Create button to spawn a child page. From there you can copy & paste content into the Editable Regions. Save child page. Repeat for other site pages.
Copy link to clipboard
Copied
I must have been unclear. I understand how to create my template. Now that I have it. My question is can I somehow other than copy and pasting or typing in the code, get the content into the editable regions? Maybe like using a spreadsheet or a table in a word document to import the image paths into the image regions and all the text into the paragraphs and all the headings into the .<h> tags and so on.
Each page will have the same layout, hence the template, but each one will have different text and images. I have several pages to create and it will be cumbersome to copy and paste every page. I want to know if these items can some how be imported into the pages I create from the template.
Copy link to clipboard
Copied
A web page is an HTML document which in turn is interpreted by the browser to render the page. Word and Excel do not contain HTML elements unless they have been saved as an HTML document. Even then, the thus created document will contain many elements that are not required for a web page and that cannot be interpreted by the browser.
Conclusion, the cumbersome method is the most trusty way.
Copy link to clipboard
Copied
If your content is in a server-side database, you could program your template with PHP code to dynamically populate pages. But there is no import feature to speak of and thus no way to do what you want in static HTML files.