Adobe 65015459 User Guide - Page 55

Settings\Application Data\Adobe\Contribute CS3\Sites\Site

Page 55 highlights

ADOBE CONTRIBUTE CS3 49 User Guide 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\Sitex\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/Sitex/Templates 2 Enter the XML tags for the fields you want. Following is an example for adding the Extended Content, Excerpt, and Keyword tags: Always add the tags after the following lines: 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.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274

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.