42
Centre for Careers Management Skills Destinations ® technical documentation v.3.0 A guide to install and maintain the Destinations ® website ©University of Reading 2022 Sunday, 19 June 2022 Page 1 Centre for Career Management Skills

Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Centre for Careers Management Skills

Destinations® technical documentation v.3.0

A guide to install and maintain the Destinations® website

©University of Reading 2023 Saturday, 27 May 2023 Page 1

Centre for Career Management Skills

Page 2: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Destinations® technical documentation v2.0

ContentsDestinations® technical documentation v.3.0..................1

Contents........................................................................2

Supporting material........................................................5

Installation.....................................................................6Installing Destinations® for the first time..............................................6

Upgrading from Destinations® v1 to v3................................................6

New material for V3.0............................................................................7

Localise Destinations®...................................................8Required changes for pages...................................................................8

Required changes to includes................................................................8

Required changes to video library.........................................................8

Required changes to images..................................................................8

Support..........................................................................8Google group..........................................................................................9

Configuring your server for FLV files..............................10

Standards.....................................................................11

Structure......................................................................12Site structure........................................................................................12

File structure........................................................................................14

Subjects.......................................................................15

File naming...................................................................16Topics...................................................................................................16

Units.....................................................................................................16

©University of Reading 2023 Page 2

Page 3: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Destinations® technical documentation v2.0

Objects.................................................................................................17

Resources.............................................................................................17

Subjects................................................................................................17

Downloads............................................................................................17

Content images....................................................................................17

Flash files.............................................................................................18

Video....................................................................................................18

Local ID filenames................................................................................18

Multimedia ..................................................................19Video ...................................................................................................19

Flash activities ....................................................................................19

Style sheets..................................................................20

Templates....................................................................21

Code snippets...............................................................22Activities...............................................................................................22

Did you know?......................................................................................22

Example...............................................................................................23

Further information / References tabs.................................................23

Reveal / Hide........................................................................................25

Quote...................................................................................................25

Ticks and crosses.................................................................................26

‘How to’ guides.............................................................27Accessing templates............................................................................28

Create a topic introduction...................................................................28

Create a unit introduction ...................................................................30

Create an object ..................................................................................31

Insert a video into an object.................................................................33

©University of Reading 2023 Page 3

Page 4: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Destinations® technical documentation v2.0

Add new clips to the video library........................................................37

©University of Reading 2023 Page 4

Page 5: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Supporting materialThis guide makes reference to a number of other sources which can be found on the within the 'Staff' area within the site templates topic breakdown (the units which belong to a topic and the objects which belong

to a unit) topic navigation (a list of topics and their corresponding navigation includes) subject breakdown (a list of optional subject specific material) download log (where and what downloads are used) interactive exercise log (quizzes and other interactives)

Page 6: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

InstallationInstalling Destinations® for the first timeFollow the directions below to install Destinations® V3.0 on to your web server. If you are upgrading from an earlier version please refer to the upgrade instructions that follow this section.

The DVD provided by CCMS contains the following: o A ‘destinations’ folder o An ‘upgrade’ folder o A ‘Read Me’ file

The ‘Read Me’ file repeats this installation chapter The ‘upgrade’ folder is only relevant if upgrading from v1 and onwards of

Destinations®; if installing for the first time please disregard this folder The ‘destinationsV3’ folder contains a copy of the website To set up the Destinations® website copy the contents of the ‘destinationsV3’

folder to a virtual directory on your web server. The following points should be noted:

The default home page for the site is index.shtml (the file is located in the root of the directory)

Your web server must be set up to process server side includes o Destinations® uses .shtml files to serve includes o Includes use the file extension .htm o Includes are processed via <!-- #include virtual="../includes/file name.htm" -->

(if this does not work with your setup you may need to change, via a global edit, virtual to <!-- # include file)

The ‘scripts’ folder must have the ability to execute scripts enabled For the site to function fully FLV must be a recognised file type. This is

standard on most servers but Microsoft Internet Information Services (IIS) 6.0 does not recognise FLV and will need the MIME type registering. More information is available at:http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001040.html

Upgrading from Destinations® v1 to v2For those institutions that have installed V2.0 or earlier an upgrade option has been included on the DVD. Instead of copying content from the ‘destinationsV3’ folder, copy the contents of the ‘upgrade’ folder into your existing installation of Destinations®.

Page 7: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

While the majority of content present in the upgrade is new, there are a small number of pages that exist in v1 of the site that have been altered in V2 and it is advisable to make a backup of your site before proceeding with the upgrade.

If you have heavily edited any of the pages that will be overwritten by the upgrade you may want to manually copy new content from the edited pages to your edited version. If you are having problems installing Destinations®, please contact the support team by emailing [email protected].

New material for V3.0The new version of Destinations contains the following new material:

Unit – Using your careers service (found within managing your career) Unit – Planning your career (found within managing your career) Topic – Managing your online presence Topic – Moving into higher education Topic – Using recruitment agencies Topic – Your foundation degree Section – Advice pages Section – Subject specific material

The complete list of topics and the relevant filenames can be found within the upgrade folder in the following location:

upgrade folder >> files >> staff >> topic-breakdown.xlsThis folder also contains:

Subject breakdown Download log Interactive log Video log Templates for creating new content

Page 8: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Localise Destinations®

If you are installing the complete version, then there are a number of changes that must be made to Destinations® before it can be used. Details are outlined below:

Required changes for pages Home page - text Contacts page - contact details for relevant resources at your own institution Resources introduction page - text referring to local resources page Local resources page - make text, links and emails relevant for your own

institution Help page - add references to your own VLE, or delete if you do not use a VLE

Required changes to includesIf changes to content are made, the amended page must use the second footer – footer2.htm – which states that the content is copyright of both institutions.

Required changes to video libraryAlthough the videos will play on a web server, it is recommended to deliver these via a streaming server if possible.

Required changes to imagesReplace the placeholder logo with your institution logo.

Location: /images/institution-logo.gif Format: Gif Recommended size:

o width = circa 125pxo height = circa 50px

Included in the ‘files >> staff’ folder is ‘destinations-logo-background.psd’. This is the blue sky background from the site header and can be used to provide a background to your institution logo.If any changes that you make alter the accessibility of the site, you will need to remove the section on 'Accessibility standards' on the Accessibility page.

SupportEmail support is available for the installation of Destinations®. This documentation should provide the information to maintain the site and create new content.

Page 9: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

All support queries should be directed to [email protected]

Google groupA Google group has been created to develop and support a community of users. The Google group offers purchasers the opportunity to:

share experiences and ideas with other members of the community upload an institution profile join in discussions on teaching and learning using Destinations®

check on updates available for Destinations® access marketing material share new subject specific material

To join the Google group, please visit:http://groups.google.co.uk/group/destinations-community?hl=en (We reserve the right to change the delivery medium of this facility)

NB: Support cannot be guaranteed beyond the end of the CCMS project in July 2010

Page 10: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Configuring your server for FLV filesWhen you work with FLV files, you may need to configure your server to work with the FLV file format. Multipurpose Internet Mail Extensions (MIME) is a standardized data specification that lets you send non-ASCII files over Internet connections. Web browsers and email clients are configured to interpret numerous MIME types so that they can send and receive video, audio, graphics, and formatted text. To load FLV files from a web server, you might need to register the file extension and MIME type with your web server. You should check your web server documentation for details on how to do this. The MIME type for FLV files is video/x-flv. The full information for the FLV file type is as follows: MIME type: video/x-flv File extension: .flv Required parameters: none Optional parameters: none Encoding considerations: FLV files are binary files; some applications might

require the application/octet-stream subtype to be set Security issues: none Published specification: www.adobe.com/go/flashfileformat.

Microsoft changed the way streaming media is handled in Microsoft Internet Information Services (IIS) 6.0 web server. Earlier versions of IIS do not require any modification to stream Flash Video. In IIS 6.0, the default web server that comes with Windows 2003 requires a MIME type to recognize that FLV files are streaming media.When SWF files that stream external FLV files are placed on a Microsoft Windows 2003 server and are viewed in a browser, the SWF file plays correctly but the FLV video does not stream. This issue affects all FLV files placed on Windows 2003 servers, including files you make with earlier versions of the Flash authoring tool, the Macromedia Flash Video Kit for Dreamweaver MX 2004. These files work correctly if you test them on other operating systems.For information about configuring Microsoft Windows 2003 and Microsoft IIS Server 6.0 to stream FLV video, see http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19439.Reproduced from:http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001040.html

Page 11: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

StandardsThe site has been built to meet W3C standards.

The code meets XHTML 1.0 strict standards The CSS meets CSS 2.0 standards The site has Level Triple-A Conformance to Web Content Accessibility

Guidelines 1.0

These standards are reflected in the three images displayed at the bottom of every page in the footer include. If changes are made to a page or to the site overall, the ‘footer’ include should be changed to the ‘footer2’ include to reflect the change in copyright. Footer2 does not include the images, and they should not be added unless checks are made to ensure the site still meets the above standards. If any changes that you make alter the accessibility of the site, you will need to remove the section on 'Accessibility standards' on the Accessibility page.

Page 12: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

StructureSite structureA note on terminology:

The site is divided into pages in Topics and pages in the front end. When referring to front end pages, these are taken to mean pages such as the Home page, Contacts page, Help page, etc. Topics pages form the vast majority of the content on the site.

Pages in Destinations® are constructed are three ways. 1. Transcript and larger view pages2. Objects and Housing units3. Topic and unit introductions and front end pages

The first of these are simple .html pages and are covered in the Video section of this document.

Objects and Housing unit structurePages are made up of a number of ‘server includes’ (see fig .1), which are all brought together using a ‘housing unit’. A housing unit is an shtml page which contains the following elements within the code of the page:

Object/page title Unit title Link to the header include

o header-hp.htm for homepage and header.htm for all other pages Link to the topic navigation include

o The navigation include will vary depending on where the page sits in the site. For example, if you are creating a new object within the CVs topic the navigation will point to the cv-nav.htm include.

Link to the object includeo This refers to the actual object that you want to pull in e.g. info-0212.htm

or act-0024. Objects are designed to be reused and can be deployed anywhere within the site simply by creating a new housing unit which will reference a different navigation include.

Link to the footer includeo Destinations® comes with a default footer, which states all content is

copyright of the University of Reading. When the content of a page is altered or new content added, the default footer must be changed to the supplied alternative (footer2). The alternative footer states that the content is the copyright of both institutions. Purchasers must insert their institution’s name within the second footer.

The page is assembled by the server to create the object.

Page 13: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

NB: Resources and subject content uses the same structure.

Topic and unit introductions and front end page structurePages are almost the same format as for an object; however, the unit also contains the content (see fig. 2). Here it differs from the object and housing unit which contains its content in a separate include.

Fig. 1 Housing unit

Fig. 2 Topic introduction, unit introduction, front end page

Page 14: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

File structureThe following diagram (fig. 3) illustrates how Destinations® is structured:

Page 15: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

SubjectsVersion 3.0 of Destinations® comes with a subjects section which is located on the top menu.The Subjects material offers the user a new area of the site with career information relating to specific degrees. The content is organised by subject area and includes:

employability profiles funding further study useful websites and further sources of information

The content is designed to offer a solid base for expanding and tailoring for your institution. The following subjects are included:

Agriculture Archaeology Classics Computer Science and IT Economics English Food Biosciences Geography History History of Art Management Philosophy

Page 16: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

File namingTo understand the file naming used it is important to understand the structure of topics in Destinations®. Below is a simple outline of the structure:Topic 1

Unit 1Object 1Object 2Object 3Object 4

Each topic is made up of a number of units and each unit is made up of a number of objects. The structure of pages is described in the previous section.

Topics The name of the file will be similar to the topic, e.g. cv, values, application-

forms The file extension: shtml Files are stored in the ‘units’ folder

UnitsThere are two types of unit file:

Housing unito A housing unit is used as a container for all the relevant includes, e.g.

object, header, navigation, footer. The housing unit also holds the title of the unit and the object title, which is displayed at the top of the browser window.

Unit introductiono Topics are built up of units, which in turn are built up of objects. Unit

introductions introduce the unit as a whole, e.g. Types of work experience.

Housing unit The name of housing files: unit-[initials of topic][number] e.g. unit-cv003,

unit-af020 The number is always three digits long The file has a .shtml extension The files are stored in the ‘units’ folder

Page 17: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Unit introductionUnit introductions follow the same format as housing units. When developing new topics it is recommended to create unit introductions first. This enables the first unit to be dedicated to actual unit introductions. For example, if you have 4 units with a topic, the first 4 units (001-004) will be unit introductions and not housing units.

ObjectsIn the majority of cases, objects are what contains most of our content. They have the following format in terms of their file name. When creating your own object, we suggest prefixing the file name with your university initials. Looking at the new material for version 3.0, you will notice that a lot of objects are named 'ru-'. This essentially means 'provided by the University of Reading' and is different from other objects to ensure no overwriting occurs due to existing universities creating their own content.

The type is followed by –[number] e.g. act-0020, info-0123, formt-0224, ref-0012

The number will always be four digits long The file has a .htm extension The files are stored in the ‘units / objects’ folder

ResourcesAll the web pages within the Resources section are named:

resources-[name of resource] e.g. resources-download

SubjectsSubjects work in the same manner as units and objects, but use the following filenames:

Housing unito unit-[subject]-[unit number] e.g. unit-agriculture-001

Objecto s-[subject]-[object number] e.g. s-agriculture-001

DownloadsDownloads are files such as Microsoft Word documents, pdfs, spreadsheets, etc., which are provided within objects for users to download, e.g. a sample CV.

The name of the file: down-[number] e.g. down-0023, down-0145 The number will always be four digits long The file extension will vary according to the file type Currently supported types: pdf and doc, e.g. down-0012.pdf, down-0134.doc

Page 18: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

The files are stored in the ‘files’ folder

Content imagesContent images are used to illustrate pages and are separate from images used for navigation.There are two types:

Introduction images Object images

Introduction images Introduction images are named in numeric order, e.g. 001, 002 The number should always be three digits long The files are stored in the ‘units / images / intropics’ folder They can be jpeg, gif or png

Object images Object images are named: [name of object]-pic[number] e.g. act-0032-pic01,

info-0125-pic12 The number will always be four digits long The files are stored in the ‘units / images / obpics’ folder

Flash filesFlash files are used throughout the site for components such as interactive activities.

The files are named: [name of object] e.g. act-0003 If multiple flash files were required for an object, an a/b suffix could be used

to differentiate The file has a .swf extension The files are stored in the ‘flash’ folder

Video Video file names use the following protocol: r(reading)Number(4 digits) e.g.

r1611 The file has a .flv extension The files are stored in the ‘video’ folder (but can be moved to a streaming

server if available)

Local ID filenames

Page 19: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Purchasers of Destinations® should create their own unique identifier e.g. the University of Mars might create the ID ‘ma’. This unique ID can be used when creating new objects (as described above) and units.

Using this ID has two benefits:1. It avoids problems with integrating new content released by CCMS2. The purchaser has the option to share any content they create with the wider

Destinations® community

Page 20: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Multimedia Video The ‘video’ folder contains: FLV player (swf), used to display video across the site ‘stills’ folder (jpegs of interviewees) Transcripts and large video pages ‘FLV’ folder, within which are stored FLVs (which should remain here if running

from the web server). FLVs will need to be copied to the streaming server if they are going to be streamed, which will also require the pages to be updated where the video appears.

Changing the video location to your own Find and replace all instances of: flashvars:"file=../video/flv/ with the route to your

own streaming server address, e.g.flashvars:"file=rtmp://address of streaming server.com/videosource&id=

Ensure that the &id= is added to the string Find and replace all instances of: .flv&image= with: &image=

Changing the video location within the XML playlist to your own Playlists are used to group a number of videos with a similar topic e.g. Value of

work experience Playlists use an XML document to store the information relating to the clips and

are stored within the ‘units’ folder

Video libraryThe Resources area contains a Video Library, which allows users to browse and search all available video. The library is powered by XML. This means that if you create new clips you can include them in the library by editing the XML. There are two ways to add a new clip:1. Directly edit the XML file videos.xml2. Edit an Excel file, called videos.xls, then export to an XML fileFor more details on how to add a clip to the video library, please see the ‘How to’ guide ‘Adding new clips to the video library’.

Flash activities Flash activities are found within the ‘flash’ folder.

Page 21: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Style sheetsStylesheets are used to control the design and layout of Destinations®. The website uses the following stylesheets:

Default (css-default.css) Print (css-print.css) Accessibility (css-access.css) For smaller screens (css-smaller.css) For high screen resolutions (css-larger.css) High contrast (css-highcontrast.css) Low contrast (css-lowcontrast.css)

All of the stylesheets are stored within the ‘css’ folder. Please note the following things: All images called via the css are stored in the top level ‘images’ folder, not in the

‘images’ folder in the ‘units’ folder. Stylesheets are attached within the header of the topic or unit introduction pages.

For objects, the stylesheets are attached within the housing unit, not the object itself.

A cookie is used to remember which stylesheet a visitor is currently using. This is activated via JavaScript. No personal information is stored, just the choice of stylesheet.

Page 22: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

TemplatesDestinations® comes with a number of templates to make development of further content easier. The following templates are included and are included within the staff section of the website. Topic page Unit introduction Object Video larger view Transcript page XML playlist Housing unit

Destinations® uses a number of styles to highlight certain elements within a web page. A selection of these styles, and the code need to produce them, are described in the next section. Here are a number of styles used within the site: Example Quote Hint Did you know? Click and reveal Ticks and crosses Further information and reference box Activity highlighter

The code used to insert video is covered separately.

Page 23: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Code snippetsThe following code snippets can be used to achieve the styles seen within Destinations®. Do not copy and paste the code from this document as it will copy irrelevant formatting from this application. A separate file called ‘code snippets’ within the ‘templates’ folder has been provided for this purpose.

ActivitiesTo add an activity, enclose the content in a div with the class ‘activity’.

Example ‘Activity’ style:

Personality, Why think about personality?, Employer emphasis on fit

---------------------------------------------------------Activities code:---------------------------------------------------------

<div class="activities">

Content

</div>

Did you know?To enclose text in a Did you know? style, place a title caption before the example. Then enclose the example text in a div with the class ‘diduknow’. The class neutral should be used for the contained text.

Example ‘Did you know?’ style:

Careers and employers, The worlds of work, Flexible working and work-life balance

---------------------------------------------------------Did you know? code:---------------------------------------------------------<p class="titlecaption">Did you know?</p>

<div class="diduknow">

<p class="neutral">Did you know fact here</p>

</div>

Page 24: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

ExampleTo enclose text in an example style, place a title caption before the example. Then enclose the example text in a div with the class ‘Example’. The class neutral should be used for the contained text.

Example ‘Example’ style:

Covering letters, Targeting your covering letter, Disclosing disability or health information

---------------------------------------------------------Example code:---------------------------------------------------------

<p class="titlecaption">Example</p>

<div class="Example">

<p class="neutral">Example text</p>

</div>

Further information / References tabsThe bottom of an object can have a further information box, a references box or the two combined.

Example ‘Reference’ box:

Personality, Personality and applications, Competencies

Example ‘Further information’ box:

Personality, Personality and applications, Personality assessments

Example with both:

Personality, Assessing your personality, The Myers-Briggs Type Indicator (MBTI)

---------------------------------------------------------References code:---------------------------------------------------------<h2 class="ref-tab">References</h2>

<div class="bottom-ref">

<h3 class="info-text">Text</h3>

<ul>

Page 25: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

<li>Content here</li>

</ul>

</div>

---------------------------------------------------------Further information code:---------------------------------------------------------<h2 class="info-tab">Further information</h2>

<div class="bottom-info">

<h3 class="info-text">Text</h3>

<ul>

<li>Content here</li>

</ul>

</div>

---------------------------------------------------------Both further information and references code:---------------------------------------------------------<h2>

<span class="info-tabs"><a href="#info" title="Click here for further information." class="Fsp.Reveal">Further information</a></span>

<span class="hide"> - </span>

<span class="ref-tabs"><a href="#refs" title="Click here for further information." class="Fsp.Reveal">References</a></span>

</h2>

<div id="info" class="Fsp.ViewDefault ViewRadio:tabs">

<div class="bottom-info">

<h3 class="info-links">Links</h3>

<ul>

<li>Content here</li>

</ul>

</div>

</div>

<div id="refs" class="Fsp.ViewRadio:tabs">

<div class="bottom-ref">

<h3 class="info-text">Texts</h3>

<ul>

<li>Title here</span> Publisher<br />

<span class="tab">Information</span></li>

Page 26: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

</ul>

</div>

</div>

Reveal / HideTo hide and reveal text enclose the text you would like to hide in a div with a unique ID, e.g. hint. Then place a link to the div; this can be anywhere on the page. The href should be a bookmark, e.g. href=”#hint”, with the class “Fsp.Reveal”. This link will then open and close the div. By default the div will be hidden. Should JavaScript be disabled the div will appear open. The p class=”Hints” can be used to provide a pale blue background to the revealed div.For more advanced uses of the Reveal/Hide see http://demo.fairsky.us/javascript/reveal_hide.html.

Example ‘Reveal / Hide’ style:

Covering letters, How should I write my letter?, Style of writing

---------------------------------------------------------Example code:---------------------------------------------------------<p>Here is some <a href="#hint " class="Fsp.Reveal">more information</a>.</p>

<div id="hint">

<p class="Hints">This content can be hidden and revealed. </p>

</div>

QuoteTo enclose text in a quote style, enclose the quote in a div with the class ‘Quote’. The class neutral should be used for the contained text. Lastly place a quote caption after the example.

Example ‘Quote’ style:

Covering letters, Targeting your covering letter, Why target my covering letter?

---------------------------------------------------------Example code:---------------------------------------------------------<div class="Quote">

<p class="neutral">'Quote text here'</p>

</div>

Page 27: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

<p class="quotecaption">Fred Bloggs</p>

Ticks and crossesTo place a tick or cross in front of a line of text put the text into an unnumbered bullet list. Then add either a ‘tick’ or ‘cross’ class to the li.

Example ‘Tick and cross’ style:

Covering letters, How should I write my letter?, Things to avoid

---------------------------------------------------------Tick and cross code:---------------------------------------------------------<ul>

<li class="tick">Do this</li>

<li class=”cross”>Don’t do this</li>

</ul>

Page 28: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

‘How to’ guidesA selection of ‘how to’ guides to help with inserting topics, unit, objects and video clips into Destinations®

Page 29: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Accessing templatesTo access any of the templates for producing new content, browse to the staff section,technical documentation and then right click and save the required template.

Create a topic introductionTo create a topic introduction you will need to: create a topic web page create a topic navigation include edit main topic page create a topic icon save the topic file using the appropriate file naming structure

Create a topic web page Open the topic template Insert the topic title, e.g. ‘Skills’ followed by the tagline, e.g. ‘Get your skills to

work’ Insert topic introduction image as indicated within the template Insert items within the ‘Overview’ bullet list and save the topic page with the

appropriate file name

Creating a topic navigation includeEach topic has its own navigation include which is referenced by the topic, unit and housing files. Open a topic navigation

o Insert the relevant unit and object titles and linkso Save the navigation include with the appropriate file name (see file

naming)

Edit main topic pageOnce you have created a topic page and a navigation include, you can then insert a link to the topic within the main topics page (topic.html) Copy the following code and insert this into the page where you want the topic to

appear Do not copy and paste the code from this document as it will copy irrelevant

formatting from this application - a separate file called ‘code snippets’ within the ‘templates’ folder has been provided for this purpose

<div class="Topic-list"><img src="images/YOUR IMAGE FILENAME" alt=""> <p class="Topic"><a href="TOPIC FILENAME" title="">TOPIC NAME</a><br>

Page 30: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

TOPIC SUBTITLE</p> </div>

Replace "images/YOUR IMAGE FILENAME" with the file name of your small topic icon

Replace “TOPIC FILENAME” with the file name of your topic introduction e.g. assessment-centres.shtml

Replace “TOPIC SUBTITLE” with appropriate subtitle Edit the Topic navigation include (topic-nav.htm) and insert the new topic

Create a topic iconTwo versions of the topic image need creating, which are:

Large version (188 wide x 125px high) – used on topic introduction Small version (75wide x 50px high) – used on main topic page

Templates have been provided for the large version, which can be found in the ‘templates’ folder. Resize the large version for the version on the Topics page.

Save the topic file using the appropriate file naming structure Topic introductions are saved within the ‘units’ folder

o Topic introductions should have a simple file name, with no gaps (if you need to separate the word, use a hyphen e.g. assessment-centres.shtml)

o All topic introductions should have the file extension .shtml

Page 31: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Create a unit introduction To create a unit introduction you will need to: create a unit title create a unit introduction save file using the appropriate file naming structure create a unit image update topic navigation

Create a unit title Create a unit title The unit title will be displayed on:

o Unit introductiono Objects within that unito Topic navigation

It is advised to keep unit titles under 30 characters as they appear in the topic navigation. If it is more than 30 characters it may span two lines, making the navigation harder to read.

Create a unit introduction Open the unit introduction template from the ‘templates’ folder Insert the unit title Insert unit introduction image as indicated within the template. A unit image

template can be found within the ‘files >> staff’ folder Insert items within the ‘Overview’ bullet list Save unit within the ‘units’ folder using the established file name format e.g. unit-

ac001.shtmlo Replace ‘ac’ with relevant topic indicator e.g. ‘cv’ for CVs. ‘p’ for

personality

Create a unit image Open unit image template Replace existing image with the new unit image Optimise image for web use Save image to ‘units\images\intropics’ following the established file naming format

Update topic navigation Open relevant topic navigation (located within ‘includes’ folder) Insert unit title and path to the unit introduction

Page 32: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Save, close and test

Page 33: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Create an object To create an object you will need to: open the object template and populate with content save the file using the appropriate file naming structure create a housing unit to pull all relevant files together update the topic navigation

Create an object Open the object template Insert object title Insert page elements as required. Please refer to the code snippets provided for

specific styles which can be applied to text and other elements Delete any text elements within the template that are not required Save the object to the ‘objects’ folder using the appropriate file name (see file

naming)Object titles should be kept under 30 characters as they appear in the topic navigation. A title longer than 30 characters may span two lines, making the navigation harder to read.When the object has been saved, a housing unit needs to be created which brings all the includes together to display on the website. The housing contains the following:

Header Navigation Object Footer

The housing unit also stores the object title, which is displayed at the top of the browser window, and the unit title.

Create a housing unit Open the housing unit template Enter the object name within the <title> tags Edit <! -- #include file=“../../includes/NAV FILENAME” --> replacing NAV FILENAME with

the topic navigation include Enter the unit title within the <h1> tags Edit <! -- #include file=“objects/OBJECT FILENAME” --> replacing OBJECT FILENAME

with the required object file name Save the housing unit to the ‘units’ folder using the appropriate file name

(see file naming)

Page 34: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Update the appropriate navigation include with object name and housing unit file name

Visit the page on site to check it is working correctly

Page 35: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Insert a video into an objectTo insert a video into an object you will need to: edit the clip to the required length encode the clip to the FLV format save the file using the appropriate file naming structure insert the video code where you want the video to appear edit the code to reflect the clip information

For video to work, a number of JavaScript files have to be referenced in the head of the web page. All current web pages, including the templates, include these references.

Editing video Edit the required video clip for use on Destinations®, ideally keeping the

video clips short, i.e. less than one minute Videos should follow the dimensions below:

o 188 (height)o 250 (width)

Encoding and saving video Once the clip has been edited it should then be encoded to the streaming

flash FLV format Save the video to the ‘video’ folder on the web server using the appropriate

file naming protocol (see file naming)FLV is the format used within Destinations®. However, if an alternative streaming server is to be used, encode the video to your format from the provided MPEGs. Please note that the video console used for Destinations® will only work with FLV files. An alternative playback console should be used for other streaming formats. The rest of this guide will assume that the video is to be delivered using the FLV format.

Inserting the video into the object The code from Snippet 1 needs to be in the head of the housing unit and it is

already included in all of the templates

Snippet 1:

<script type="text/javascript" src="../scripts/ufo.js"></script>

Paste code Snippet 2 into the object where video should appear

Page 36: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Snippet 2:

<div class="video">

<span class="imgCenter" id="player">You need <a href="../html/players.shtml" title=”Video clip”>Flash Player</a> 8 or above to watch this video.<br />You will also need JavaScript enabled in your browser.<br />&nbsp;</span>

<script type="text/javascript">

//<![CDATA[

var FO = {

movie:"../video/flvplayer.swf",width:"250",height:"207",majorversion:"8",build:"0",bgcolor:"#FFFFFF",

flashvars:"file=rtmp://readinguni-fcs.fs-server.com/videosource&id=r1412&image=../video/stills/reader.jpg&logo=../video/logo.png&showdigits=true&bufferlength=(10)&displayheight=188&showicons=true&overstretch=none&volume=50" };

UFO.create(FO,"player");

//]]>

</script>

<span class="strong">R1412: Pippi Reader</span><br />

Fund-raising Officer for the charity<br />United Response<br />

<a href="../video/r1412-t.html" title="Click to read the transcript for R1412">Transcript</a> | <a href="../video/r1412.html" title="View a larger clip of R1412">Larger view</a>

</div>

Elements to be edited are indicated in red and include:o Class = choose the alignment of the video:

video = centre videoRight = right videoLeft = left

o Location of streaming server or local web servero File name of clip, do not include the file extension – e.g.. r1412 OR

combine the two to provide the local web server and file name – e.g. ../video/r1412

o File name for thumbnail of person in clip – e.g. ../video/stills/reader.jpgo Buffer length = the amount (in seconds) of a clip that will be loaded

before the clip starts to play. Increase for progressive downloado Information about the person in the clip, contains: the clip number, the

name of the interviewee, and their role

Page 37: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

o The file name of the web page with the transcripto The file name of the web page with the larger view of the clip

Creating a larger view web page Video embedded within the site has the option to view the clip in a larger

format (except playlists which only link to the transcript) Open the template ‘video-large-template’ and customise as above, saving

the file to the ‘video’ folder with the same name as the video clip, e.g. r4114.html

Creating a transcript page Open the ‘video-transcript-template’ Insert the transcript text within the appropriate place as indicated within the

template Change the image to the thumbnail of the interviewee Save the file as above, but adding a hyphen and ‘t’ to the end e.g. r4114-t.html

Creating a playlist Paste code Snippet 3 into an object where video should appearSnippet 3:

<div class="video">

<span class="imgCenter" id="player">You need <a href="../html/players.shtml">Flash Player</a> 8 or above to watch this video.<br />You will also need JavaScript enabled in your browser.<br />&nbsp;</span>

<script type="text/javascript">

//<![CDATA[

var FU = { movie:"../video/flvplayer.swf",width:"250",height:"400",majorversion:"7",build:"0",bgcolor:"#FFFFFF",

flashvars:"file=vid-info-0190.xml&displayheight=188&repeat=true&lightcolor=0x800000&logo=../video/logo.png&bufferlength=(10)&backcolor=0xFFFFFF&frontcolor=0x000000&thumbsinplaylist=true&overstretch=none&volume=75" };

UFO.create(FU,"player");

//]]>

</script>

</div>

change the end of the file name (in red) to match the object name, e.g. vid-info-0230.xml

Page 38: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

create an XML file by opening the xml-playlist-template file within the ‘templates’ folder

edit the XML file for the clips. Snippet 4 shows the entry for a clip

Snippet 4:

<track>

<title> R0309 </title>

<creator>Phiroze Vasunia</creator>

<image>../video/stills/vasunia.jpg</image>

<info>../video/r0309-t.html</info>

<location>The location of the file</location>

<identifier>R0309</identifier>

</track>

You will need to edit the items in red, which are:o Title = the file name/identifiero Creator = intervieweeo Image = the thumbnail file nameo Info = the path and file name of the transcripto Location = web or streaming server patho Identifier = clip number

Page 39: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Add new clips to the video libraryThe video library is powered by XML. This means if you create new clips you can include them in the library by editing the XML. There are two ways to add a new clip:3. Directly edit the XML file videos.xml4. Also available is an Excel file, called videos.xls, which can export to XML

o This is more complex and requires xmlmap.xml

Editing the XMLVideos.xml has this code at the start:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<videos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

And this code at the end (note the s, do not confuse this “videos” field with the “video” field used for clips below) :

</videos>

Everything in between these two pieces of code are video clips. The following is an example of a clip:

<video url="../units/unit-cv044.shtml" topic="CVs">

<title>R0214</title>

<interviewed>Darby, Kate</interviewed>

<role>Manager, Knowledge Transfer Centre</role>

<employer>University of Reading</employer>

<description><![CDATA[Kate Darby, Manager, Knowledge Transfer Centre, University of Reading, talking about the importance of researching companies and making targeted job applications and preparing for interviews.]]></description>

<category>CVs and applications</category>

<keyword>CVs, interviews, targeting applications / research</keyword>

<student>N</student>

<clipno>https://www.reading.ac.uk/destinations-test/video/flv/R0214.flv</clipno>

<transcript>https://www.reading.ac.uk/destinations-test/video/transcript/R0214.pdf</transcript>

<photo photo="../video/stills/darby.jpg"/>

</video>

Page 40: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

To add a new clip you simply need to paste the code above after an existing </video> but before the final </videos>. Then you can edit it.

XML field descriptionsFortunately with XML we can have meaningful field names for our data, which makes editing much easier.

<video url="EDIT" topic="EDIT">

o If the clip is used in a Topic url can be used to provide a link to the page. The Topic field would contain the name of the Topic.

<title>

o This is the unique identifier of the clip, e.g. R1234.

<interviewed>

o The name of the person interviewed.

<role>

o The job title of the person interviewed.

<employer>

o The interviewee’s employer.

<description><![CDATA[EDIT]]></description>

o A description of the clips contents. The description should go in between the CDATA square brackets above, in place of the highlighted EDIT.

<category>

o A primary category assigned to the clip. A list of the current categories are included in the videos.xls excel file. A new category can be assigned. The video library will accommodate 20 categories, 14 of which are currently used. So a further 6 categories are available.

<keyword>

o Keywords help narrow searches in the library. A list of the keywords currently used is included in the videos.xls.

<student>

o If the interviewee is a student enter “Y”. If not then enter “N”.

<clipno>

o The file path to the video clip.

<transcript>

o The file path to the transcript.

<photo photo="EDIT"/>

o The file path to the thumbnail of the person interviewed.

Page 41: Technical documentation - intranet.yorksj.ac.uk€¦  · Web viewDestinations® technical documentation v.3.0. A guide to install and maintain the Destinations® website. Contents

Using the Excel fileInstead of the XML file you can edit the Excel document. The editing is simpler than the XML, but the export process is more complex.

Within Excel, from the file menu choose DATA – XML – EXPORT The XML file xmlmap.xml will need to be in the same folder as the excel

document Save the XML output

Using a text editor with find and replace – we recommend you do not use Word – make the following edits to the XML file:

You will need to add <![CDATA[ after every instance of <description> and ]]> after the description but before the </description> field

For <clipno> and <transcript> the absolute route to the clips and transcripts need to be added, replacing the two dots in the ../video

o e.g. ../video/flv/R1234.flv becomes https://www.reading.ac.uk/destinations-test/video/flv/R1234.flv

Once the alterations are made the XML file can be used by the library.

Whichever method you use – XML or Excel – we recommend that you stick to just the one or update both files each time you make a change to one.