MAKING XSL-PCF PAGES FROM SCRATCH

Slides:



Advertisements
Similar presentations
Neal Stublen Content Models  Metadata content Data not necessarily presented on the page ○ title, link, meta, style  Flow content.
Advertisements

A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
XML: Managing Data Exchange Stylesheets. Lesson Contents CSS The basic XSL file XSL transforms Templates Sort Numbering Parameters and Variables Datatypes.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Tutorial 6 Working with Web Forms
Understanding Page Template Components Lila Bronson Training Manager, OmniUpdate, Inc.
Creating New Page and Section Templates Robert Kiffe Senior Web Developer, OmniUpdate, Inc.
Chapter 14 Introduction to HTML
Creating a Web Page HTML, FrontPage, Word, Composer.
Scottish Legal Aid Board Content Management using OpenCms Martin Spinks CTO Navyblue Tuesday, March 16, 2010.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
OU Campus Intermediate Training Workshop. Agenda Administrator Overview and Roles Administrator Controls Administrator Configuration Setting Up Access.
Configuring Social Media, Google Analytics, and Gadgets Lila Bronson Training Manager, OmniUpdate, Inc.
Lesson 13: Building Web Forms Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Eat Your Words! Creating webpage Layout. CONTENT The Layout of a Webpage HEADER FOOTER Each of these sections represents a ‘div’ (or divider). By linking.
09/28/ Cascade Server User's Conference1 Smart Cascade Server Implementations & Strategies 2009 Cascade Server User’s Conference Justin Klingman,
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
Visual Web Design Dreamweaver Level 2. Hospitality Restrooms Food and Drink Turn cell phones off or set to vibrate Smoking Comfort Breaks Class Hours.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 6: Links.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
Presented by Graduate Design Group 2 Meredith, Jennifer, Cammay and Diane.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
Dreamweaver MX. 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations.
End-User Training Editing Content with JustEdit Brandon Scheirman Instructional Designer, OmniUpdate.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
audio video object Options: controls autoplay Need to define height and width Options: controls autoplay.
Building Faculty Directories, Profiles, and More with MultiEdit Robert Kiffe & Bradley Prasuhn Senior Web DeveloperImplementation Manager OmniUpdate, Inc.
Looking at various Rich Message options in KRAD Kuali University: Apply Now Lab : Rich Messages Lab Objectives Understand what Rich Messages are and how.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Understanding Web-Based Digital Media Production Methods, Software, and Hardware Objective
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
HTML III (Forms) Robin Burke ECT 270. Outline Where we are in this class Web applications HTML Forms Break Forms lab.
Tutorial 6 Creating Reusable Assets and Forms. Objectives Session 6.1 – Explore the head content of a page – Add keywords to a page – Add a meta description.
Week 1: Introduction to HTML and Web Design
INTRO TO WEB DEVELOPMENT html
HTML CS 4640 Programming Languages for Web Applications
Web Systems & Technologies
Web Architecture & HTML
Objective % Select and utilize tools to design and develop websites.
Create and edit web pages 4
Bare boned notes.
Objective % Select and utilize tools to design and develop websites.
ITI 133 HTML5 Desktop and Mobile Level I
DreamWeaver CS4.
HTML5 Level I Session II Chapter 3 - How to Use HTML to Structure a Web Page
Inserting and Working with Links
Rocketing into End-User Training
What’s a _resource and What Does It Do?
The Administrator Training Adventure
Customizing Editable Regions and Building Templates
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
LET’S GATHER THE DATA AKIFUMI YAMAMOTO| OMNIUPDATE.
INTRODUCTION TO OU CAMPUS
EDITING EXISTING TEMPLATES
COMPONENTS INSIDE AND OUT
3rd Party Widgets & Custom Code
ACCOUNT AND SITE SETUP: SETUP FOR SUCCESS!
EXTENDING COMPONENTS AND TABLE TRANSFORMATIONS WITH XSL
Web Programming and Design
RSS ARCHIVING: KEEPING IT CURRENT WITH RSS
4.00 Apply procedures to add content by using Dreamweaver. (22%)
HTML CS 4640 Programming Languages for Web Applications
ASSETS, SNIPPETS & COMPONENTS
Monday, Sept. 24 Today we are going to update the html code to html5. It has some new features that we have not covered yet.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

MAKING XSL-PCF PAGES FROM SCRATCH BRIAN LAIRD | OMNIUPDATE

Agenda OU Campus Overview Page Tagging Hands-On Building a Page Using XSL

OU CAMPUS OVERVIEW

OU Campus Overview Basic Setup: two separate servers (Decoupled) Staging (OU Campus) Production (Web Server) Publishes out ‘static’ website Production website operates independent of OU Campus STAGING SERVER PRODUCTION SERVER OU CAMPUS (CMS) LIVE WEBSITE .edu WEB VISITORS PUBLISH CMS USERS

Static Website? Pages can still utilize server-side scripts for “dynamic” content Folder/File structure Each folder-name represents a part of the URL Ending the URL on the folder will load the ‘default’ or ‘index’ page for that folder

Static Website Architecture Example Architecture (www.abc.edu) /admissions /transfer-students index.html Website URL: www.abc.edu/admissions/transfer-students/index.html or www.abc.edu/admissions/transfer-students/

Dynamic Content? Apache/IIS Includes <!--#include virtual="/footer.inc" --> Server-Side Code PHP C# (ASP.NET) ColdFusion Etc. Global Header Section Nav Page Content Global Footer

Unique Page Content Metadata Visible Regions Title Meta content Textual Content Images/Galleries/Media News/Events Listings Content Widgets Etc. <html> <head> <title>Page Title</title> <meta name="Description" content="Sample" /> </head> <body> <h1>Heading</h1> <p>Content</p> <img src="kitten.jpg" alt="Kitten" /> </body> </html>

PAGE TAGGING

Page Tagging Overview Defines editable elements on a page Specialized Comment Tags or XML Nodes Original comment format: <!-- com.omniupdate.div --> Newer comment format: <!-- ouc:div --> Standard node format: <ouc:div> Unique to OU Campus Tags are utilized in “Preview” and especially “Edit” page states

Properties Ex. <ouc:properties>…</ouc:properties> Defines editable elements outside traditional content areas Examples: Title (<title>Page Title</title>) Metadata Page Layout Options (PCF only) Form-like Data Entry (PCF only) Availability of properties can be restricted by group Extends the same page to be used for different uses

Region Dividers Ex. <ouc:div label="content" group="Admins" button-text=“Content">…</ouc:div> Must close at the end of the region Multiple editable regions can be associated with a page, but “label” attribute must be unique Must include the following attributes: Label Group ‘Button-text’ identifier or ‘Path’ for include files Use “Path” attribute to define the path to a local file in ‘staging’, to simulate a server-side include

Editors Source Code Editor Example: <ouc:div …><ouc:editor wysiwyg="no" /> Code … </ouc:div> Must self-close (if node) Must be placed at the start of an editable region Two Types of WYSIWYG Editors (choice is set by administrators): Classic JustEdit Important Attributes: wysiwyg = yes (default) | no (Source Editor) | asset (Asset Chooser) css-path = link to local CSS file to style editor contents css-menu = link to local text file to populate ‘styles dropdown’ Additional attributes used depending on editor type

Side Topic: Styles Dropdown Text file that is used for adding ‘classes’ to HTML objects in the WYSIWYG “block” setting will apply the class to the parent ‘block-level’ tag (ex. Paragraph, Divider (div), Image, etc.) Non-”block” (leaving blank) will default the class to being “in-line”, which means the WYSIWYG will wrap highlighted content in a SPAN with selected class Format: .class[TAB]Friendly Name[TAB]block(optional) Examples: .blue Blue Title block .highlight Text Highlight Example Output (‘Highlighted’ was selected): <h1 class="blue">Blue Title<span class="highlight">Highlighted</span></h1>

MultiEdit Regions Text Field Example: <ouc:div label="department" group="Everyone" button="hide"> <ouc:multiedit type="text" prompt="Department" alt="Type in the department name." />Mathematics</ouc:div> Allows for form-like content entry Content conforms to a specific structure Can’t be used with <ouc:editor> in the same <ouc:div> node

Additional Tags Direct Edit Button: <!-- ouc:ob --><-- /ouc:ob --> Full-page Source Editor Button: <!-- ouc:efp --><-- /ouc:efp --> DateTime Stamp: <!-- ouc:date --><-- /ouc:date -->

Hands-On TAGGING AN HTML PAGE

BUILDING A PAGE USING XSL

XML + XSL = HTML XML Page Content XSL Separates content from design Adjustable layouts and optional features Transforms simplistic content into more complex content Creates multiple output products for each page, including PDFs Works with most server-side scripting languages XSL Global Header Section Nav XML Page Content Global Footer

XSL Architecture XML Page Content XSL Global Header Global Footer XSL Architecture Section Nav XML Page Content XML Page Content PCF links directly to template-specific XSL file common.xsl builds basic page structure Use “Import Priority” to override common content with template- specific content No logic checks required for template type Allows for rapid construction of new “one-off” templates variables.xsl interior.xsl common.xsl functions.xsl landing.xsl

One Template to Rule Them All? Group ‘template layouts’ based on their use-cases Don’t overwhelm content editors with too many settings that don’t apply Page Parameters shows all fields MultiEdit shows all fields Shared regions can be built in common.xsl for re-use interior-landing.xsl - or - interior.xsl landing.xsl AND

CREATING AN XSL-PCF PAGE Hands-On CREATING AN XSL-PCF PAGE

THANK YOU! PLEASE SHARE YOUR FEEDBACK: WWW.SLIDO.COM #OUTC19