SlideShare a Scribd company logo
1 of 17
Copyright © 2017, Dave Derrick
Converting and Migrating Wiki
Markup to HTML
• This presentation describes the tasks involved in converting Wiki pages to HTML, however many of the
procedures are applicable to creating, updating, and maintaining existing HTML pages.
• These procedures describe using Microsoft Expressions because it is free, relatively easy to use,
relatively bug-free, and offers Design (wysiwyg), Code, and Split views for easier editing. Other HTML-
compatible authoring tools can be used in its place, although many of the Expression-specific details
contained in this presentation may not apply.
General
• Converting Wiki markup to HTML:
Overview: How to Convert Wiki to HTML
• Creating a new HTML site:
How to Create a New HTML Site
• Preparing a new HTML page:
How to Add Formats to a New HTML Page
How to Add the Footer to a New HTML Page
How to Create and Link TOC Entries
How to Add “Return to Top” Links
How to Insert Illustrations
RESOURCE – Microsoft Expressions Web 4, available at Microsoft Download Center here:
https://www.microsoft.com/en-us/download/details.aspx?id=36179
Presentation Contents
• Open the target Wiki page and copy the page (document) title
• Open Expressions
• Create a new site using the page (document) title as the name
• Copy and paste all Wiki page content into Expressions “default” page
• Reformat the page by inserting CSS code
• Add footer material to the page bottom
• If internal sections use <h1> section headers, demote all h1 (except the h1 document title called
“firstHeading”), h2, & h3 headers appropriately
• Create hyperlink bookmarks for the page title and all section headers
• Link TOC entries to section the headers
• Insert Return to Top “(top)” links for all section headers
• Save file using “Save as” to new file name using lowercase and underscores for spaces
Overview: How to Convert Wiki to HTML
• Choose an existing folder or create a new folder for the HTML site on your local drive.
• Open Expressions.
• Click “New Site” icon in the tool bar, and when the “New” dialog box comes up, click “Browse.”
How to Create a New HTML Site
• Browse to the appropriate folder on your local drive and select “Open.”
• In the “New” dialog box, paste or
type the name of the document
into the “Location” box following
the folder path name and click
“OK.”
How to Create a New HTML Site (continued)
• Double click default.html to open the new HTML page.
• When the page opens, copy and paste the complete Wiki page content into the <body> block of the
default.html page.
• Best Practice: Save the default doc or “Save As…” your new file name at this point.
How to Create a New HTML Site (continued)
How to Add Formats to a New HTML Page
• Click the “Code” button at the bottom of your Expressions window.
• When the HTML code view appears, scroll to the top of the file.
• Click to locate your cursor just under the initial <body> block tag and insert the Embedded CSS code
from the HTML Cheat Sheet document.
• In the “Code” view, scroll to the bottom of the file.
• Click to locate your cursor between the final </div> tag and </body> tag, and insert the Footer Foo
code from the HTML Cheat Sheet document.
How to Add the Footer to a New HTML Page
• In “Design” view, click to select the full text of a header to which you wish to link.
• Press Ctrl-G to bring up the Bookmark dialog box.
• Click OK or press Enter to create the new
bookmark.
How to Create and Link TOC Entries
• Scroll to the TOC at the top, and click to select the full text of the TOC entry to which you wish to link.
• Right click your selection to bring up the actions dialog box, and select the Hyperlink option at the
bottom of the box.
• When the Insert Hyperlink dialog
box appears, click to select
Place in This Document.
• When the Bookmarks list appears,
click to select the bookmark that
corresponds to your TOC entry.
How to Create and Link TOC Entries (continued)
• In “Split” view, find the header to which you wish to link.
• Click to locate your cursor at the right-most end of the header text. Your “Code” view cursor will
automatically move to the corresponding location in the HTML code.
How to Add “Return to Top” Links
• Click to ensure your cursor is located just before the </span> tag and insert the Return-to-Top Link
code from the HTML Cheat Sheet document.
• Replace First_Header_Goes_Here with the firstHeading <a name=“ ” link.
How to Add “Return to Top” Links (continued)
• The resulting code should look similar to the example shown here. (Note: You must retain the # in the
Return-to-Top Link for the href to work.)
• When you click into the Detail portion of the screen, the “(top)” link appears as shown.
• Once you have created the first Return-to-Top Link in a document, copy the entire statement, from <a
style=… to the closing </a> tag as highlighted above, and paste it into the remaining headers in the
document.
How to Add “Return to Top” Links (continued)
• Existing illustrations are copied along with text and tables, but the files are saved separately in the
HTML site folder.
• With the full document contents pasted into Expressions, in the File menu, select “Save As…”
• When you enter the file name and
click Save, the Save Embedded Files
dialog pops up with a list of the files
embedded in the copied and pasted
document.
• Click OK to save the files into your
site folder along with the HTML
version of the document.
How to Insert Illustrations
• To insert a new illustration, copy the graphic source file into the folder containing your HTML page.
• Open the graphic file and copy the graphic. (WEM accepts .JPG and .PNG. It may also accept .GIF.)
• In “Design” view, create an empty paragraph where you want your graphic to be located.
• Click inside the empty paragraph and select paste to insert your graphic.
• When the Accessibility Options dialog appears, enter the Alternate text and Long description as
needed.
How to Insert Illustrations (continued)
• Click “OK,” and the graphic appears
inside the selected paragraph tag.
• In “Split” view, click on the illustration in the Design portion of the window to locate the corresponding
HTML code in the Code portion of the screen.
• In the Code portion of the screen, delete the path shown in <img src=“ ”, leaving only the file name.
• For example, the highlighted portion of the image path name shown below must be deleted.
How to Insert Illustrations (continued)

More Related Content

What's hot (17)

Webexpration2007 ii
Webexpration2007 iiWebexpration2007 ii
Webexpration2007 ii
 
HTML5
HTML5 HTML5
HTML5
 
Creating And Editing St. Marks Wiki Pages
Creating And Editing St. Marks Wiki PagesCreating And Editing St. Marks Wiki Pages
Creating And Editing St. Marks Wiki Pages
 
Hyperlinking
HyperlinkingHyperlinking
Hyperlinking
 
Web development basics
Web development basicsWeb development basics
Web development basics
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 
Html 5
Html 5Html 5
Html 5
 
Skydrive tutorial sirui
Skydrive tutorial   siruiSkydrive tutorial   sirui
Skydrive tutorial sirui
 
HTML Basics 2 workshop
HTML Basics 2 workshopHTML Basics 2 workshop
HTML Basics 2 workshop
 
Html5 Basic Structure
Html5 Basic StructureHtml5 Basic Structure
Html5 Basic Structure
 
Images, lists and links
Images, lists and linksImages, lists and links
Images, lists and links
 
Week 6 Lecture
Week 6 LectureWeek 6 Lecture
Week 6 Lecture
 
Understanding the Web Page Layout
Understanding the Web Page LayoutUnderstanding the Web Page Layout
Understanding the Web Page Layout
 
Introducing HTML
Introducing HTMLIntroducing HTML
Introducing HTML
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
How to Make HTML and CSS Files
How to Make HTML and CSS FilesHow to Make HTML and CSS Files
How to Make HTML and CSS Files
 
Artistic Web Applications - Week3 - Part 2
Artistic Web Applications - Week3 - Part 2Artistic Web Applications - Week3 - Part 2
Artistic Web Applications - Week3 - Part 2
 

Similar to Wiki to HTML Conversion

How to Create a Simple Webpage Using Notepad.pptx
How to Create a Simple Webpage Using Notepad.pptxHow to Create a Simple Webpage Using Notepad.pptx
How to Create a Simple Webpage Using Notepad.pptxminhanaa21
 
Web design-1.pptx
Web design-1.pptxWeb design-1.pptx
Web design-1.pptxRabiaAsif31
 
How to - Embed Content in a Widget on Netvibes
How to - Embed Content in a Widget on NetvibesHow to - Embed Content in a Widget on Netvibes
How to - Embed Content in a Widget on Netvibesmmoore17
 
Html introduction
Html introductionHtml introduction
Html introductionRanjithaM32
 
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStart
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStartMadCap Flare Tips and Tricks - Scott DeLoach, ClickStart
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStartScott DeLoach
 
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateSean Burgess
 
Castro Chapter 3
Castro Chapter 3Castro Chapter 3
Castro Chapter 3Jeff Byrnes
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_mediaDhairya Joshi
 
Learn HTML and CSS_ Learn to build a website with HTML and CSS
Learn HTML and CSS_ Learn to build a website with HTML and CSS Learn HTML and CSS_ Learn to build a website with HTML and CSS
Learn HTML and CSS_ Learn to build a website with HTML and CSS simodafire
 
Merging Result-merged.pdf
Merging Result-merged.pdfMerging Result-merged.pdf
Merging Result-merged.pdfsimodafire
 
Week 2 HTML lists, hyperlinks, tables, and images
Week 2 HTML lists, hyperlinks, tables, and imagesWeek 2 HTML lists, hyperlinks, tables, and images
Week 2 HTML lists, hyperlinks, tables, and imagesRowena LI
 
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docxITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docxchristiandean12115
 
HTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docxHTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docxadampcarr67227
 
Thinkful - HTML/CSS Crash Course (May 4 2017)
Thinkful - HTML/CSS Crash Course (May 4 2017)Thinkful - HTML/CSS Crash Course (May 4 2017)
Thinkful - HTML/CSS Crash Course (May 4 2017)TJ Stalcup
 
15 Howto Customization Look And Feel
15 Howto Customization Look And Feel15 Howto Customization Look And Feel
15 Howto Customization Look And FeelSWING Software
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmleShikshak
 

Similar to Wiki to HTML Conversion (20)

How to Create a Simple Webpage Using Notepad.pptx
How to Create a Simple Webpage Using Notepad.pptxHow to Create a Simple Webpage Using Notepad.pptx
How to Create a Simple Webpage Using Notepad.pptx
 
Web design-1.pptx
Web design-1.pptxWeb design-1.pptx
Web design-1.pptx
 
Ddpz2613 topic3 linking
Ddpz2613 topic3 linkingDdpz2613 topic3 linking
Ddpz2613 topic3 linking
 
How to - Embed Content in a Widget on Netvibes
How to - Embed Content in a Widget on NetvibesHow to - Embed Content in a Widget on Netvibes
How to - Embed Content in a Widget on Netvibes
 
Html introduction
Html introductionHtml introduction
Html introduction
 
What is HTML5
What is HTML5What is HTML5
What is HTML5
 
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStart
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStartMadCap Flare Tips and Tricks - Scott DeLoach, ClickStart
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStart
 
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
 
Castro Chapter 3
Castro Chapter 3Castro Chapter 3
Castro Chapter 3
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_media
 
Learn HTML and CSS_ Learn to build a website with HTML and CSS
Learn HTML and CSS_ Learn to build a website with HTML and CSS Learn HTML and CSS_ Learn to build a website with HTML and CSS
Learn HTML and CSS_ Learn to build a website with HTML and CSS
 
Merging Result-merged.pdf
Merging Result-merged.pdfMerging Result-merged.pdf
Merging Result-merged.pdf
 
Week 2 HTML lists, hyperlinks, tables, and images
Week 2 HTML lists, hyperlinks, tables, and imagesWeek 2 HTML lists, hyperlinks, tables, and images
Week 2 HTML lists, hyperlinks, tables, and images
 
Class1slides
Class1slidesClass1slides
Class1slides
 
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docxITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
 
HTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docxHTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docx
 
Lecture 2 - HTML Basics
Lecture 2 - HTML BasicsLecture 2 - HTML Basics
Lecture 2 - HTML Basics
 
Thinkful - HTML/CSS Crash Course (May 4 2017)
Thinkful - HTML/CSS Crash Course (May 4 2017)Thinkful - HTML/CSS Crash Course (May 4 2017)
Thinkful - HTML/CSS Crash Course (May 4 2017)
 
15 Howto Customization Look And Feel
15 Howto Customization Look And Feel15 Howto Customization Look And Feel
15 Howto Customization Look And Feel
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 

Recently uploaded

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Recently uploaded (20)

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

Wiki to HTML Conversion

  • 1. Copyright © 2017, Dave Derrick Converting and Migrating Wiki Markup to HTML
  • 2. • This presentation describes the tasks involved in converting Wiki pages to HTML, however many of the procedures are applicable to creating, updating, and maintaining existing HTML pages. • These procedures describe using Microsoft Expressions because it is free, relatively easy to use, relatively bug-free, and offers Design (wysiwyg), Code, and Split views for easier editing. Other HTML- compatible authoring tools can be used in its place, although many of the Expression-specific details contained in this presentation may not apply. General
  • 3. • Converting Wiki markup to HTML: Overview: How to Convert Wiki to HTML • Creating a new HTML site: How to Create a New HTML Site • Preparing a new HTML page: How to Add Formats to a New HTML Page How to Add the Footer to a New HTML Page How to Create and Link TOC Entries How to Add “Return to Top” Links How to Insert Illustrations RESOURCE – Microsoft Expressions Web 4, available at Microsoft Download Center here: https://www.microsoft.com/en-us/download/details.aspx?id=36179 Presentation Contents
  • 4. • Open the target Wiki page and copy the page (document) title • Open Expressions • Create a new site using the page (document) title as the name • Copy and paste all Wiki page content into Expressions “default” page • Reformat the page by inserting CSS code • Add footer material to the page bottom • If internal sections use <h1> section headers, demote all h1 (except the h1 document title called “firstHeading”), h2, & h3 headers appropriately • Create hyperlink bookmarks for the page title and all section headers • Link TOC entries to section the headers • Insert Return to Top “(top)” links for all section headers • Save file using “Save as” to new file name using lowercase and underscores for spaces Overview: How to Convert Wiki to HTML
  • 5. • Choose an existing folder or create a new folder for the HTML site on your local drive. • Open Expressions. • Click “New Site” icon in the tool bar, and when the “New” dialog box comes up, click “Browse.” How to Create a New HTML Site
  • 6. • Browse to the appropriate folder on your local drive and select “Open.” • In the “New” dialog box, paste or type the name of the document into the “Location” box following the folder path name and click “OK.” How to Create a New HTML Site (continued)
  • 7. • Double click default.html to open the new HTML page. • When the page opens, copy and paste the complete Wiki page content into the <body> block of the default.html page. • Best Practice: Save the default doc or “Save As…” your new file name at this point. How to Create a New HTML Site (continued)
  • 8. How to Add Formats to a New HTML Page • Click the “Code” button at the bottom of your Expressions window. • When the HTML code view appears, scroll to the top of the file. • Click to locate your cursor just under the initial <body> block tag and insert the Embedded CSS code from the HTML Cheat Sheet document.
  • 9. • In the “Code” view, scroll to the bottom of the file. • Click to locate your cursor between the final </div> tag and </body> tag, and insert the Footer Foo code from the HTML Cheat Sheet document. How to Add the Footer to a New HTML Page
  • 10. • In “Design” view, click to select the full text of a header to which you wish to link. • Press Ctrl-G to bring up the Bookmark dialog box. • Click OK or press Enter to create the new bookmark. How to Create and Link TOC Entries
  • 11. • Scroll to the TOC at the top, and click to select the full text of the TOC entry to which you wish to link. • Right click your selection to bring up the actions dialog box, and select the Hyperlink option at the bottom of the box. • When the Insert Hyperlink dialog box appears, click to select Place in This Document. • When the Bookmarks list appears, click to select the bookmark that corresponds to your TOC entry. How to Create and Link TOC Entries (continued)
  • 12. • In “Split” view, find the header to which you wish to link. • Click to locate your cursor at the right-most end of the header text. Your “Code” view cursor will automatically move to the corresponding location in the HTML code. How to Add “Return to Top” Links
  • 13. • Click to ensure your cursor is located just before the </span> tag and insert the Return-to-Top Link code from the HTML Cheat Sheet document. • Replace First_Header_Goes_Here with the firstHeading <a name=“ ” link. How to Add “Return to Top” Links (continued)
  • 14. • The resulting code should look similar to the example shown here. (Note: You must retain the # in the Return-to-Top Link for the href to work.) • When you click into the Detail portion of the screen, the “(top)” link appears as shown. • Once you have created the first Return-to-Top Link in a document, copy the entire statement, from <a style=… to the closing </a> tag as highlighted above, and paste it into the remaining headers in the document. How to Add “Return to Top” Links (continued)
  • 15. • Existing illustrations are copied along with text and tables, but the files are saved separately in the HTML site folder. • With the full document contents pasted into Expressions, in the File menu, select “Save As…” • When you enter the file name and click Save, the Save Embedded Files dialog pops up with a list of the files embedded in the copied and pasted document. • Click OK to save the files into your site folder along with the HTML version of the document. How to Insert Illustrations
  • 16. • To insert a new illustration, copy the graphic source file into the folder containing your HTML page. • Open the graphic file and copy the graphic. (WEM accepts .JPG and .PNG. It may also accept .GIF.) • In “Design” view, create an empty paragraph where you want your graphic to be located. • Click inside the empty paragraph and select paste to insert your graphic. • When the Accessibility Options dialog appears, enter the Alternate text and Long description as needed. How to Insert Illustrations (continued)
  • 17. • Click “OK,” and the graphic appears inside the selected paragraph tag. • In “Split” view, click on the illustration in the Design portion of the window to locate the corresponding HTML code in the Code portion of the screen. • In the Code portion of the screen, delete the path shown in <img src=“ ”, leaving only the file name. • For example, the highlighted portion of the image path name shown below must be deleted. How to Insert Illustrations (continued)