IDEAlliance XML case study

15
IDEAlliance XML Case Study InDesign Tagging to HTML Navigation Presented for IDEAlliance Educational Seminars on June 14, 2011 by: Cathy Palmer Senior Applications Instructor New Horizons of Wisconsin Consulting & Training for InDesign/XML

description

InDesign XMl to HTML Presentation for IDEAlliance Educational Seminars

Transcript of IDEAlliance XML case study

Page 1: IDEAlliance XML case study

IDEAlliance XML Case Study

InDesign Tagging to HTML Navigation

Presented for IDEAlliance Educational Seminars on June 14, 2011 by:

Cathy PalmerSenior Applications InstructorNew Horizons of WisconsinConsulting & Training for InDesign/XML

Page 2: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Approach XML from the graphic designer’s point of view…

Given existing print documents, how do you get XML?

Given XML, how to design with it?

The hands-on realities of tagging, extracting, using XML starting from InDesign files.

Page 3: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study:

Agriculture Research – Pest Management DirectoryExample:

scientific reference directory of detailed data and best practices for using pesticides and herbicides

A guide to managing weeds, insects, and diseases

in corn, soybeans, forages, and small grains

Pest Management

in Field Crops

2011

Page 4: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study:

Agriculture Research – Pest Management DirectoryScenario:

• many authors, uncoordinated content

• no standard tags

• graphic designer to organize data

STORED GRAIN INSECTS

PERENNIAL WEEDSSMALL GRAINS

APPENDIXFORAGES & PASTURES

SOYBEAN diseasesCORN

PRINCIPLES OF PEST MNGMT.

Table 3-11. Fungicides registered for foliar soybean diseases in Wisconsin

Trade name Active ingredient Chemical family FRACa Rate/a Remarks

Alto 100 SL cyproconazole triazole 3 2.75–5.5 fl oz Do not exceed 11 fl oz/a Alto 100 SL or 0.072 lb ai/a of cyproconazole-containing products per season. Do not apply within 30 days of har-vest. Do not graze forage within 14 days after an application or use soybean forage or hay as livestock feed if making more than one applica-tion at the 5.5 fl oz/a rate.

Bravo Weather Stik

chlorothalonil chloronitrile M5 1.0–2.0 pt Labeled for suppression of rust. Wait at least 14 days between treatments and do not exceed three applications per season. Do not apply more than 6 pt/a. Do not feed treated hay or threshing to livestock. Do not harvest for grain within 6 weeks of last treatment.

Cuprofix Ultra 40 Copper sulfate inorganic M1 0.75–3.0 lb See label for use instructions.Domark 230 ME tetraconazole triazole 3 4.0–5.0 fl oz Make application at soybean growth stage R3

(early pod fill) or when conditions are favor-able for disease development. Repeat applica-tion 15 to 21 days after first application if dis-ease pressure is heavy. Under severe disease conditions the higher rate and shorter spray intervals should be used.

Echo 720 chlorothalonil chloronitrile M5 1.0–2.5 pt Do not feed treated soybean hay or threshing to livestock. Do not harvest for grain within 42 days of last treatment.

Echo 90 DF chlorothalonil chloronitrile M5 1.25–2.0 lb Do not feed treated soybean hay or threshing to livestock. Do not harvest for grain within 42 days of last treatment.

Echo Zn chlorothalonil chloronitrile M5 2.0–3.5 pt Do not feed treated soybean hay or threshing to livestock. Do not harvest for grain within 42 days of last treatment.

Folicur 3.6 F tebuconazole triazole 3 3.0–4.0 fl oz Applications may not be made within 21 days of harvest. Do not apply more than 12 fl oz/a per season or exceed three applications per season.

Headline pyraclostrobin strobilurin 11 6.0–12.0 fl oz Begin applications prior to disease develop-ment and continue on a 7- to 14-day interval if conditions are conducive. Use the higher rate and shorter interval when disease pressure is high. Minimum time from application to har-vest is 21 days. Forage may be fed no sooner than 14 days after last application. Hay may be fed no sooner than 21 days after last treatment. Do not apply more than 24 oz/a per season or make more than two applications before alter-nating to a labeled non-Group 11 fungicide with a different mode of action.

a FRAC codes indicate the modes of action for each fungicide; multiple applications of fungicides (continued) from the same group increases the chances for the fungus developing resistance.

1

1

Table 2-13. Fungicides labeled for leaf diseases of field corn (hybrid seed production and grain)

Trade nameActive ingredient

FRAC code

Amount of product/a Remarks

Bravo Weather Stik chlorothalonil M5 0.75–2.0 pt Common rust, Helminthosporium leaf blight. Use only on corn grown for seed. For advanced disease problems, use 1.5–2.0 pt/a. —Do not exceed 12 pt/a (9 lb ai/a) per season. Do not apply within 14 days of harvest. (Seed protection only.)

Bumper 41.8 EC propiconazole 3 2–4 fl oz Helminthosporium leaf blight. Apply 2–4 fl oz/a when disease first appears and continue on a 7- to 14-day schedule. Rusts. Apply 4 fl oz/a when rust pustules first appear and continue on a 7- to 14-day schedule. Gray leaf spot, eyespot. Apply 4 fl oz/a when disease first appears. If conditions favorable for disease persist, repeat at 14-day intervals. —Do not apply to field corn or to field corn grown for seed after silking. Do not exceed 16 fl oz/a per season. Do not harvest for forage within 30 days of application.

Dithane DF Rainshield

dithiocarbamate M3 1.5 lb Common rust, Helminthosporium leaf blight. Treat when symp-toms first appear. Depending on disease severity, repeat applica-tions on a 4- to 14-day schedule. —Do not apply within 40 days of harvest. See label for seasonal rate limitations.

Dithane F-45 Rainshield

dithiocarbamate M3 1.2 qt Common rust, Helminthosporium leaf blight. Treat when symp-toms first appear. Depending on disease severity, repeat applica-tions on a 4- to 14-day schedule. —Do not apply within 40 days of harvest. See label for seasonal rate limitations.

Dithane M45 dithiocarbamate M3 1.5 lb Common rust, Helminthosporium leaf blight. Treat when symp-toms first appear. Depending on disease severity, repeat applica-tions on a 4- to 14-day schedule. —Do not apply within 40 days of harvest. See label for seasonal rate limitations.

Headline pyraclostrobin 11 6–12 fl oz Common rust, gray leaf spot, anthracnose, northern corn leaf blight, southern rust, northern corn leaf spot, Physoderma brown spot, southern corn leaf blight, and yellow leaf blight. Apply prior to disease development and continue on a 7- to 14-day interval if conditions are conducive for disease develop-ment. Use the higher rate and shorter interval when disease pres-sure is high. —Do not apply within 7 days of harvest. Do not apply more than 72 oz/a per season. Do not make more than two sequential appli-cations before alternating to a labeled non-Group 11 fungicide with a different mode of action.

Headline AMP pyraclostrobin + metconazole

3,11 10–14.4 fl oz Anthracnose, eyespot, gray leaf spot, northern corn leaf blight, northern corn leaf spot, Physoderma brown spot, rust, southern corn leaf blight, yellow leaf blight. Begin applications prior to disease development and continue on a 7- to 14-day schedule if conditions for disease development persist. Use higher rate and shorter interval when disease pressure is high. Do not make more than two sequential applications before alternating to another fungicide with a different mode of action. Do not apply within 20 days of harvest for field corn grain and stover or 7 days for field corn forage/silage.

Manzate ProStick dithiocarbamate M3 1.5 lb Common rust, gray leaf spot, Helminthosporium leaf blight. Treat when symptoms first appear, repeat at 4- to 7-day intervals. —Do not exceed 15 lb or 12 qt/a per season. Do not feed treated forage to livestock. Do not apply within 40 days of harvest.

Fungicide group numbers indicate the modes of action; multiple applications of fungicides with the same group number increases the chances for disease resistance.

STORED GRAIN INSECTS PERENNIAL WEEDS

SMALL GRAINSAPPENDIX

FORAGES & PASTURES

SOYBEANCORN

PRINCIPLES OF PEST MGMT

Page 5: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study:

Agriculture Research – Pest Management DirectoryProcess:

• designer to tag the content based on type styles without understanding too much code

• export XML and transform with XSLT

• create navigable mobile HTML view

IND > XML > XSL > HTML

Page 6: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study: Agriculture Research – Pest Management Directory

Graphic designer reverse-engineers XML from layout file.

Typical InDesign print layout with type styles, no tags.

Page 7: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study: Agriculture Research – Pest Management Directory

Placeholder paragraph styles (with no formatting attributes) matching the table headers are created.

Easy to select columns and apply to the table text.

Page 8: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study: Agriculture Research – Pest Management Directory

Tags created to match type styles, and mapped styles to tags.

Table converted to paragraph-delimited text.

Page 9: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study: Agriculture Research – Pest Management Directory

Export tagged text from InDesign as XML.

Minor manual cleanup of tags, to be scripted later.

/* Replace > with >\r to add line breaks*/

/* Replace <chem> with \r\r<chem> to add line breaks*/

/* wrap each unit with chem */

/* add storyname at top and chemlist as total wrapper*/

Page 10: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study: Agriculture Research – Pest Management Directory

Use XSL to reshuffle and format the XML.

(shown in oXygen XML)

Iterate through the tags, populate the text lead-ins from the column headers for each entry.

Page 11: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study: Agriculture Research – Pest Management Directory

XSLT transform converts the XML to HTML

flexible enough to handle various tag structures from different sections

Page 12: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study: Agriculture Research – Pest Management Directory

CSS (Cascading Style Sheets) formats the HTML tags

JavaScript adds collapsible navigation

Page 13: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study: Agriculture Research – Pest Management Directory

multi-level HTML navigation of text lists

Page 14: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Case Study: Agriculture Research – Pest Management Directory

Benefits:• Quick access to information

• Easy to navigate

• Portable to site

Drawbacks:• Static HTML view,

not able to actively compare

• Not live data, but daily updates available

Risks:• Summary info is not complete

• Need to reference complete technical data for chemicals usage

Page 15: IDEAlliance XML case study

XML Case Study: InDesign Tagging to HTML Navigation

IDEAlliance XML Case Study 14 June 2011

Cathy PalmerSenior Applications InstructorNew Horizons of Wisconsin

Consulting & Training for InDesign/XML

Thank You!