Obtain final press release (MS-Word .DOC).
Q. Appears on Home Page (y/n)? (/index.asp) (ct14)
Need "HPHShort" element ("Home Page Highlight Short Language")
![]() | Note |
|---|---|
The "Short Language" needs to be quite brief indeed (see home page of live site http://www.millennium.com). In particular, of two HPHs (Home Page Highlights), only one may be permitted to word-wrap. See screenshot of them both word-wrapping (not permitted). | |
Q. Appears on "Recent Press Releases" page (y/n)? (/media/news/index.asp) (ct11)
Appears on Year (2002) Page (YES). (ct12)
Appears on Full Press Release Page (YES). (ct10)
Word-2-BML (Manual Edits)
Edit Word .DOC into BusinessML for Content Type "Press Release" (ct10)
![]() | Note |
|---|---|
This step is not part of the overall "XML-2-HTML" system. | |
![]() | Tip |
|---|---|
Use a plain text editor to paste into from copying out of MS-Word, prior to pasting into the BusinessML file. | |
As an example to work from and edit (File | Save As...) you can use either a recent press release (e.g. ct10_pr-2002-12-16-0.xml), or a ct10 "skeleton" template you might create for the purpose.
/BusinessML/ct10_pr-2002-12-09-1.xml
Naming Convention
ct10 = Content Type 10
pr = Press Release
2002-12-09 = Year (yyyy) - Month - Date
-0 = first press release that date; -1 = second; -2 = third (zero-based)
Add To BuildList
Lookup: get URL (path) to recent Press Release
Create New BuildList Entry
Copy the entire buildlist entry (from <page> to </page> inclusive), and paste in; then edit as described below:
OLDER PRESS RELEASE <page> <path>/media/news/2002/2002-12-11-0.asp</path><layout>pl05.html</layout> <title>Millennium | Media | Press Releases | 2002 | 2002-12-11</title>
... <mza position="b_ma_co_co1_a"> <moduleinstance> <instancename>ct10_pr-2002-12-11-0.html</instancename>
</moduleinstance> </mza>
| Older, existing press release path. |
| Older, existing press release title. |
| Older, existing press release instancename for this module (assigned to zone position b_ma_co_co1_a). |
NEWER PRESS RELEASE <page> <path>/media/news/2002/2002-12-16-0.asp</path><layout>pl05.html</layout> <title>Millennium | Media | Press Releases | 2002 | 2002-12-16</title>
... <mza position="b_ma_co_co1_a"> <moduleinstance> <instancename>ct10_pr-2002-12-16-0.html</instancename>
</moduleinstance> </mza>
Add "Recent Press Releases" Buildlist Entry (if applicable)
Lookup (in buildlist.xml): find the appropriate page (/media/news/index.asp)
RECENT PRESS RELEASES - ORIGINAL (prior to editing) <page> <path>/media/news/index.asp</path> <layout>pl05.html</layout> <title>Millennium | Media | Press Releases</title> ... <mza position="b_ma_co_co1_a"><moduleinstance> <instancename>ct01_1med_press-releases_headline.html</instancename> </moduleinstance> </mza> <mza position="b_ma_co_co1_b">
<moduleinstance> <instancename>ct11_pr-2002-12-11-0.html</instancename>
</moduleinstance> </mza> <mza position="b_ma_co_co1_c"> <moduleinstance> <instancename>ct11_pr-2002-12-09-1.html</instancename> </moduleinstance> </mza> <mza position="b_ma_co_co1_d"> <moduleinstance> <instancename>ct11_pr-2002-12-09-0.html</instancename>
</moduleinstance> </mza> <mza position="b_ma_co_co1_e"> <moduleinstance> <instancename>ct01_1med_press-releases_bottomline.html</instancename> </moduleinstance> </mza>
RECENT PRESS RELEASES - REVISED (after editing) <page> <path>/media/news/index.asp</path> <layout>pl05.html</layout> <title>Millennium | Media | Press Releases</title> ... <mza position="b_ma_co_co1_a"><moduleinstance> <instancename>ct01_1med_press-releases_headline.html</instancename> </moduleinstance> </mza> <mza position="b_ma_co_co1_b">
<moduleinstance> <instancename>ct11_pr-2002-12-18-0.html</instancename>
</moduleinstance> </mza> <mza position="b_ma_co_co1_c">
<moduleinstance> <instancename>ct11_pr-2002-12-11-0.html</instancename>
</moduleinstance> </mza> <mza position="b_ma_co_co1_d"> <moduleinstance> <instancename>ct11_pr-2002-12-09-1.html</instancename> lt;/moduleinstance> </mza> <mza position="b_ma_co_co1_e"> <moduleinstance> <instancename>ct11_pr-2002-12-09-0.html</instancename> </moduleinstance> </mza> <mza position="b_ma_co_co1_f"> <moduleinstance> <instancename>ct01_1med_press-releases_bottomline.html</instancename>
</moduleinstance> </mza>
Add "Home Page Highlights" Buildlist Entry (if applicable)
Lookup (in buildlist.xml): find the appropriate page (>/index.asp)
HOME PAGE HIGHLIGHTS - ORIGINAL (prior to editing) <mza position="b_ma_co_co1_a"><moduleinstance> <instancename>ct01_home-pghdr.html</instancename>
</moduleinstance> </mza> <mza position="b_ma_co_co1_b"> <moduleinstance> <instancename>ct01_home-body.html</instancename>
</moduleinstance> </mza> <mza position="b_ma_co_co1_c">
<moduleinstance> <instancename>ct14_pr-2002-12-09-1.html</instancename>
</moduleinstance> </mza> <mza position="b_ma_co_co1_d">
<moduleinstance> <instancename>ct14_pr-2002-12-09-0.html</instancename>
</moduleinstance> </mza> </mzas> </page>
HOME PAGE HIGHLIGHTS - REVISED (after editing) <mza position="b_ma_co_co1_a"><moduleinstance> <instancename>ct01_home-pghdr.html</instancename>
</moduleinstance> </mza> <mza position="b_ma_co_co1_b"> <moduleinstance> <instancename>ct01_home-body.html</instancename>
</moduleinstance> </mza> <mza position="b_ma_co_co1_c">
<moduleinstance> <instancename>ct14_pr-2002-12-18-0.html</instancename>
</moduleinstance> </mza> <mza position="b_ma_co_co1_d">
<moduleinstance> <instancename>ct14_pr-2002-12-09-1.html</instancename>
</moduleinstance> </mza> </mzas> </page>
Table 2.2. Press Release Links - Revisited, After Edits
Edit NAV2.xml, by adding new Nav3 level for new year (e.g. 2003, or 2004). (Simply uncomment Nav3 level code already in buildlist.xml.)
find the location in /BusinessML/NAV2.xml for Press Releases:
Add (by "uncomment-ing") New Year for Press Releases
To get the new year to appear, add (or simply uncomment an existing year entry (from <NavItem> to </NavItem> inclusive), that may be already in the NAV2.xml file; edit as described below:
Additionally, remove (comment out) Nav3 level for old year(s), as applicable.
![]() | Note |
|---|---|
Current policy is to maintain press releases for a "rolling" two years, which means as few as 13 months up to 24 months' worth.
| |
Make new directory for new year.
Under /mlnmdev/htdocs/media/news/ create a new sibling subdirectory for the new year (e.g. /mlnmdev/htdocs/media/news/2003/).
You will need to do the same for your website directory structures: currently /Inetpub/devroot/media/news/2003/ and /Inetpub/stageroot/media/news/2003/
Create your BusinessML "ct10" press release files for the new year (e.g. for 2003: ct10_pr-2003-01-02-0.xml, or for 2004: ct10_pr-2004-01-03-0.xml).
![]() | Note |
|---|---|
These source data files all go in one subdirectory (no breakout by year, etc.): /mlnmdev/BusinessML/. | |
![]() | Tip |
|---|---|
You may want to archive out the ct10 files for years that are no longer published to the website (i.e. 2002 press releases, come Jan. 1, 2004). | |
Modify the module near the bottom of the page on the "Recent Press Releases" page (/media/news/index.asp) that has the link "Click here to see additional 2002 press releases."
![]() | Tip |
|---|---|
If you don't know the filename for a module, you can always find it out by going to the source HTML on the live site's page: http://www.millennium.com/media/news/index.asp. Then do a find on a unique term or two from the page's text (e.g. "see additional 2002 press releases") to be led directly to the HTML "comment" that names this module: ct01_1med_press-releases_bottomline. ![]()
This is the name of the /BusinessML file you will want to go edit: /BusinessML/ct01_1med_press-releases_bottomline.xml. | |
Modify the source XML for the new year.
![]() | Tip |
|---|---|
You may want to maintain the "click here" link to the previous year's press releases for perhaps the first month of the new year, then remove it. (Navigation to the previous year's press releases is always available in the Nav2, of course.) | |
ORIGINAL MODULE (prior to editing)
<contentBody>
<main>
<p>Click <a href="/media/news/2002/index.asp">here</a> to see additional 2002 press releases.</p>
</main>
</contentBody>
REVISED MODULE (after editing)
<contentBody>
<main>
<p>Click <a href="/media/news/2003/index.asp">here</a> to see additional 2003 press releases.</p>
<p>Click <a href="/media/news/2002/index.asp">here</a> to see additional 2002 press releases.</p>
</main>
</contentBody>
RE-REVISED MODULE (after, say, Jan. 31 of new year)
<contentBody>
<main>
<p>Click <a href="/media/news/2003/index.asp">here</a> to see additional 2003 press releases.</p>
</main>
</contentBody>