
ADOBE CONTRIBUTE CS3
User Guide
49
Customizing Dreamweaver template files for blogs
Whenever you create a connection to a blog in Contribute, a Dreamweaver template (DWT) file is automatically
generated. You can customize DWT files to include additional fields in your blog if your blog publishing service
supports extra fields. You can use these additional fields to add extra information to your blogs.
Note:
Not all blog publishing services support extra fields.
You can enter any additional fields in the form of XML tags in the Dreamweaver template file. After you add these
tags, the additional fields appear the next time you create a blog entry. For more information on creating blog entries,
see “Creating a blog entry for your blog” on page 63.
Note:
This process is helpful to customize your Dreamweaver template file. Familiarity with XML tags is helpful to
publish your blog entries to a blog publishing service such as Movable Type.
You can also publish this customized blog entry to another blog if the other blog server supports extra fields;
otherwise the additional fields are invisible in the blog. After you change the blog entry back to the original blog, all
the additional fields become visible. For more information on specifying target blogs, see “Selecting the blog to post
a blog entry to” on page 68.
To customize a blog template file:
1
Open the DefaultTemplate.dwt file in any text editor. To do this, do the following:
•
In Windows, the DefaultTemplate.dwt file is located at: C:\Documents and Settings\
yourname
\Local
Settings\Application Data\Adobe\Contribute CS3\Sites\Site
x
\Templates.
Note:
If you cannot see the Local Settings folder, open Windows Explorer and select Tools > Folder Options > View. In
Hidden files and folders, select Show hidden files and folders.
•
On the Macintosh, the DefaultTemplate.dwt is located at: /Macintosh HD/Application
Support/Adobe/Contribute CS3/Sites/Site
x
/Templates
2
Enter the XML tags for the fields you want. Following is an example for adding the Extended Content, Excerpt,
and Keyword tags:
<<begintranslate>> <!-- TemplateBeginEditable name="mt_text_more" --> <<endtranslate>><!--
TemplateEndEditable -->
<<begintranslate>> <!-- TemplateBeginEditable name="mt_excerpt" --> <<endtranslate>><!--
TemplateEndEditable -->
<<begintranslate>> <!-- TemplateBeginEditable name="mt_keywords" --> <<endtranslate>><!--
TemplateEndEditable -->
Always add the tags after the following lines:
<div class="entry-content">
<<begintranslate>> <!-- TemplateBeginEditable name="adobe_main_content" -->
<<endtranslate>><!-- TemplateEndEditable --></div>
3
Save and close the file.
The additional fields appear the next time you create a blog. For more information, see “Creating a blog entry for
your blog” on page 63.
Summary of Contents for 38040286 - Contribute CS3 - PC
Page 1: ...USING AND ADMINISTERING CONTRIBUTE...
Page 16: ...ADOBE CONTRIBUTE CS3 User Guide 10...
Page 24: ...ADOBE CONTRIBUTE CS3 User Guide 18...
Page 104: ...ADOBE CONTRIBUTE CS3 User Guide 98...
Page 156: ...ADOBE CONTRIBUTE CS3 User Guide 150...
Page 162: ...ADOBE CONTRIBUTE CS3 User Guide 156...
Page 184: ...ADOBE CONTRIBUTE CS3 User Guide 178...
Page 254: ...ADOBE CONTRIBUTE CS3 User Guide 248...
Page 260: ...ADOBE CONTRIBUTE CS3 User Guide 254...
Page 274: ...INDEX 268...