LIS900C: webmastering I: the static web site Thomas Krichel 2003-05-12.

Slides:



Advertisements
Similar presentations
Rclis in vision and reality Thomas Krichel
Advertisements

LIS651 lecture 5 direct use of wotan Thomas Krichel
LIS650lecture 0 Introductory lecture Thomas Krichel
LIS901N: webmastering I: the static web site Thomas Krichel
LIS650lecture 1 XHTML 1.0 strict Thomas Krichel
LIS650 web site architecture & design lecture 0 Thomas Krichel
4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Web Development & Design Foundations with XHTML
Charmaine NormanCopyright What Is a Web Page Presented by Webpagemaker. Net Left click your mouse to view each frame, Web Page.
Project 1 Introduction to HTML.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
CIS101 Introduction to Computing
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
HTML Introduction HTML
Developing a Basic Web Page with HTML
1st Project Introduction to HTML.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
Chapter 10 Publishing and Maintaining Your Web Site.
Creating a Web Page HTML, FrontPage, Word, Composer.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
The Internet 8th Edition Tutorial 9 Creating Effective Web Pages.
Windows Internet Explorer 9 Chapter 1 Introduction to Internet Explorer.
1 Chapter 2 & Chapter 4 §Browsers. 2 Terms §Software §Program §Application.
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Exploring Microsoft Office Word 2007 Chapter 8 Word and the Internet Robert Grauer, Keith.
CS117 Introduction to Computer Science II Lecture 1 Introduction to WWW and HTML Instructor: Li Ma Office: NBC 126 Phone: (713)
1 Session 1: Introduction to HTML Spring Today’s Agenda Cover useful terminology for today’s session HTML, browsers, servers, etc. HTML Tags Get.
Understanding Web Sites. What is a Web Site A collection of Web pages which you can view on the Internet Contains text, graphics, sound, and video to.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Tutorial 1: Browser Basics.
HTML Hyper Text Markup Language A simple introduction.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 1 1 Browser Basics Introduction to the Web and Web Browser Software Tutorial.
Fundamentals of Web Publishing MIS 208-B LEC: T 08:15PM-10:05PM- ADM102 LAB: TH 08:15PM-10:05PM - ADM138 Andy Stokes.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
XP New Perspectives on the Internet, 4e Tutorial 2 1 Browser Basics Introduction to Microsoft Internet Explorer and Netscape Navigator.
Chapter 9 Publishing and Maintaining Your Site. 2 Principles of Web Design Chapter 9 Objectives Understand the features of Internet Service Providers.
Chapter 8 Browsing and Searching the Web. 2Practical PC 5 th Edition Chapter 8 Getting Started In this Chapter, you will learn: − What is a Web page −
LIS618 lecture 0 Thomas Krichel Organization homepage Contents to be discussed today. Send mail.
Introduction to LIS508 Thomas Krichel
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
Introduction to LIS508 Thomas Krichel
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
World Wide Web Guide * for Students to the Internet.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
Session 1: Introduction to HTML Fall Today’s Agenda Talk about the functions of the Internet Cover useful terminology for today’s session HTML,
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Chapter 8 Browsing and Searching the Web
Browsing and Searching the Web
Project 1 Introduction to HTML.
Windows Internet Explorer 7-Illustrated Essentials
Chapter 27 WWW and HTTP.
Web Page Concept and Design :
Presentation transcript:

LIS900C: webmastering I: the static web site Thomas Krichel

structure of talk First talk about me My concepts of webmastering Then talk about you Introduction to wotan –files– basic command –editing– creating your first page images links introduction to HTML

about me Born 1965, in Völklingen (Germany) Studied economics and social sciences at the Universities of Toulouse, Paris, Exeter and Leiceister. PhD in theoretical macroeconomics Lecturer in Economics at the University of Surrey 1993 and 2001 Since 2001 assistant professor at the Palmer School

why? During research assistantship period, (1990 to 1993) I was constantly frustrated with difficult access to scientific literature. At the same time, I discovered easy access to freely downloadable software over the Internet. I decided to work towards downloadable scientific documents. This lead to my library career (eventually).

steps taken I 1993 founded the NetEc project at later available at as well as at These are networking projects targeted to the economics community. The bulk is –Information about working papers –Downloadable working papers –Journal articles were added later

steps taken II Set up RePEc, a digital library for economics research. Catalogs –Research documents –Collections of research documents –Researchers themselves –Organizations that are important to the research process Decentralized collection, model for the open archives initiative

steps taken III Co-founder of Open Archives Initiative Work on the Academic Metadata Format Co-founded rclis, a RePEc clone for Research in Computing, Library and Information Science continuing work on freely available abstracting and indexing services on the Internet.

webmaster There are two available definitions that come to mind –A webmaster is a person who has write access to a set of files that are available for display on the World Wide Web. –A webmaster is a person who has control over a software installation that can deliver web pages. The second is more stricter. We mostly use the first one.

webmastering Webmastering combines many aspects: –Authoring pages –Work on the organization of data to fit onto pages –Set display style of different pages –Organize the contribution of data –Maintain a technical web installation Some of them can be learned in a course, but others can not. Emphasis has to be on learnable elements.

teaching philosophy Point and click on a computer software is not enough. Explain underlying principles. Promote standards. –HTML 4.01 –CSS level 2 Avoid proprietary software.

webmastering I Deals with the maintenance of a static web site. Such a web site remains the same whatever the user does with it. Topics include –html –http –information architecture –web server

things this course does not do Forms: allow you to design forms that users fill in. But you do not have the programming skills to do something with the form. That is part of webmastering II. Frames: allow you to put several documents into one physical document. This is seldomly well done. Any html elements that require executable contents are not covered. We do do not cover image maps.

webmastering II Deals with building dynamic web sites. –Users fill in a form –Users submit the form –Web server return a page that is specific to the request of the user. Teaches a language called PHP, that is widely used to generate such web sites. –Gets you introduced to computer programming –Gets you to train analytical thinking.

webmastering III Deals with XML –XML is a syntax to encode any kind of data. –XML can be constrained to only allow certain types of data (XML Schema) –XML can be transformed to render the data in various ways (XSLT) Achieve a separation of contents and presentation of a web page. advanced course, has both Schema and Transformation

The world wide web The World Wide Web (Web) is a network of information resources. The Web relies on three mechanisms to make these resources readily available to the widest possible audience: –A uniform naming scheme for locating resources on the Web (e.g., URIs). –Protocols, for access to named resources over the Web (e.g., HTTP). –Hypertext, for easy navigation among resources (e.g., HTML).

URI introduction Every resource available on the Web -- HTML document, image, video clip, program, etc. -- has an address that may be encoded by a Universal Resource Identifier, or "URI". URIs typically consist of three pieces: –The naming scheme of the mechanism used to access the resource. –The name of the machine hosting the resource. –The name of the resource itself, given as a path.

example URI This URI may be read as follows: There is a document available via the HTTP protocol, residing on the machine openlib.org, accessible via the path "/home/krichel". This URI may be read as follows: There is user krichel in a domain openlib.org to whom may be sent.

client / server protocol The web operates mostly on http. This is a client-server protocol. The client software is run on the local PC that you are using. It is called a web browser or user agent. Our server is a piece of hardware called wotan.liu.edu. It runs the Debian GNU/Linux operating system on a Intel architecture. It provides http daemon software that serves http requests. The particular software is called Apache.

communication with the server The protocol is ssh communicating with the server is the secure shell. It is based public-key cryptography. We two two ssh clients –For file editing and manipulation, we use putty. –For file transfer, we use winscp. Both are available on the web. Telnet and ftp servers are not available on wotan. Telnet and ftp do not encrypt the communication stream; herefore they are not secure.

free software I maintain wotan.liu.edu server You can build your own server –you have Internet access –you have an old PC All the server software, as well as putty and winscp are free, open-source. It is one of my fundamental beliefs that free information should run on free software. The library community can learn a hell of a lot from the free software community.

installing putty and winscp Go to your favorite search engine to search for putty. Download and install putty Do the same thing with winscp. Here you can use the formal installer. Download and install a recent version of at least two browsers. I recommend Netscape Navigator and Microsoft Internet Explorer. Try to do this on the lab machines.

registration time As part of the course, you are being provided with web space on the server wotan.liu.edu, at the URL where username is a user name that you will chose now. It is my intention to maintain this web space for you into the foreseeable future. You should also choose a password, now. I will now register you.

login time Use putty, port 22 to wotan.liu.edu set other attributes of the session as you like, using the menu on the left, for example –colors –font shapes and sizes –bell Save the session as wotan (in the first screen) to save all the customization. Do the same thing at home!

issuing commands While you are logged in, you talk to the computer by issuing commands. Your commands are read by command line interpreter. The command line interpreter is called a shell. You are using the Bourne Again Shell, bash. bash allows to browse the command history with the arrow keys bash allows to edit commands with the arrow keys exit is the command to leave the shell.

files, directories and links Files are continuous chunks data on disks that are required for software applications. A link is a file that contain the address of another file. Microsoft call it a shortcut. Directories are files that contain other files. Microsoft calls them folders. In UNIX, the directory separator is / The top directory is / on ist own.

home directory When you first log in to wotan you are placed in your home directory /home/username cd is the command that gets you back to the home directory. The home directory is also abbreviated as ~ cd ~user gets you to the home of user user. cd ~ does what?

~/public_html Is your web directory. It is automagically created for you when Thomas registers you. The web server on wotan will map requests to to show the file ~user/public_html/index.html The web server will map requests to to show the file ~user/public_html/file The server does this with a configuration option set by Thomas.

changing directory, listing files cd directory changes into the directory directory the current directory is. its parent directory is.. ls lists files As an exercise, move around the directory structure and discover the files that they hold with ls. IMPORTANT NOTE: bash allows completion of file and directory names with the TAB character

more on listing files ls lists files ls –l make a long listing. It contains –elementary type and permissions –owner –group –size –date –name Date, name and size are what interests us, the rest is for the computer guru.

general structure of commands commandname –flag --option Where commandname is a name of a command flag can be a letter Several letters set several flags at the same time An option can also be expressed with - - and a word, this is more user-friendly than flags. Let us look at an example with the ls command.

example ls lists files ls -l makes a long listing ls -a lists all files, not only regular files but some hidden files as well –all files that start with a dot are hidden ls -la lists all files is long listing ls --all is the same as ls -a. --all is known as a long listing.

copying and removing cp file copyfile copies file file to file copyfile. If copyfile is a directory, it copies into the directory. mv file movedfile moves file file to file movedfile If movedfile is a directory, it moves file into the directory. rm file removes file There is no recycling bin!!

directories and files mkdir directory makes a directory rmdir directory removes an empty directory rm -r directory removes a directory and all its files more file –Pages contents of file, no way back less file –Pages contents of file u to go back q to quit

file transfer you can use winscp to upload and download files to wotan. If uploaded files in the web directory remain invisible, that is most likely a problem with permission. –chmod 644 * will put it right for the files –chmod 755. (yes with a dot) will put it right for the current directory * is a wildcard for all files. rm -r * is a command to avoid.

editing There are a plethora of editors available. For the neophyte, nano works best. nano file edits the file file. nano -w switches off line wrapping. nano shows the commands available at the bottom of the screen. Note that ^letter, where letter is a letter, means pressing CONTROL and the letter letter at the same time.

copy and paste Putty allows to copy and paste text between windows and UN*X. On the windows machine, it uses the windows approach to copy and paste On the UN*X machine, –you copy by highlighting with the mouse left button –you paste using the middle button. if your mouse does not have a middle button, you can emulate it through pressing the left and right buttons and the same time. –try this out!

your first page type: cd type: cd public_html you can do cd pu type: nano page.html where page is the name of the page. edit your file find your file on the web with a web browser. You have written your first web page!

special topic: images The appeal of the web to the masses has a lot to do with its capability to transport image. Image format are independent of the web, but there are two classic format that are widely supported by user agents. –GIF –JPEG

GIF stands for graphics interchange format. developed by CompuServe. unresolved copyright issues make the format abhorred by the free software community. 250 colors maximum uses a loss-less compression technique

GIF has three tricks interlacing: –when downloading the file, the browser can show every forth row first –user gets in an idea of the picture before it is sharp transparency –some GIFs are transparent, so you can see them on top of already exist –technically, the GIF has one color as the background color, and pixels of that color are ignored by the user agent animation –some GIFs are in fact sequences of GIFs that can be rendered one after the other.

JPEG The Joint Photographic Experts Group is a standard-making body for images They can support thousands of colors. The compression is lossy, i.e. the JPEG file will look like the original image, but not be the same. The compression does not work well with drawings. There are no copyright and patent problems with JPEG

HTML and XHTML HTML is the hypertext markup language HTML is a markup language that is widely used on the Word Wide Web (WWW) The latest, and probably last version of HTML is at The WC3, the standard making body for the WWW, have issued XHTML, a replacement of HTML that is compatible with XML. We will ignore XHTML for the rest of the course.

what is markup? Everything in a document that is not content. It can be give in two ways 1: Procedural –Codes identify point size, style, font, etc. –Usually understood by defining tool –Example: M$ Word 2: Descriptive –Describes purpose of text within the document –Chapter head, Paragraph, Section Head, TOC –Structure and Style are kept separate –Example: LaTeX, SGML

Procedural vs Descriptive

SGML Standard Generalized Markup Language Descriptive approach with three separate layers –structure: types of information in document –content: the information itself –style: matches typesetting with structure Document Type Definition (DTD) –Defines the structure Developed for the publishing industry by a group around Goldfarb. So complicated that no software implements it fully

SGML Document Type Definition Describes information the document handles –e.g Title,TOC, Chapter, Section Relationships between fields –e.g. A Chapter contains Sections Consistency Logical structure Information defined by tags

HTML HyperText Markup Language Defines an SGML DTD –Head, Title, Body, Paragraph, etc. –Headings, Bold, Italic, etc. –Table, List, Image, etc. –Links to other documents –Forms Style applied by Web Browser –User has some control

HTML tags HTML markup is written as tags. Tags are written as pairs (typically) –begin with "tag start" –end with "tag end" –atag is the tag name Can be nested Can contain non-markup data Tag names are case-insensitive, but it is best to use the same case, consistently, for human readability.

attributes to tags Here attribute_name_one and attribute_name_two are attribute names and value_one and value_two are attribute values.

common frame for pages Put the following in your pages: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" " The first three lines are the SGML document type declaration that says which kind of HTML it is. use validator service

Thank you for your attention!