My name: John Adams
Narrative: Exploring the HTML Parsing Library, (after a misunderstanding- I believed a line of code to be user-entered in the console, when it was really part of the coding within DrRacket) I've been able to create two HTML 'strings' of three segments, or parts: a 'head' and two 'paragraph' pieces, contained in the body segment.
I was then able to have both HTML strings print to the console, using the two require code-pieces at the bottom-
#lang racket
(require html)
(module html-test1 racket
...)
(module html-test2 racket
...)
(require 'html-test1)
(require 'html-test2)
The two (require 'html-test)'s I had originally believed to be entered into the console, when they were part of the code itself. I finally found out I was incorrect, and the two printed to the screen properly.
Roughly in the middle of the above screen shot, there is a define:
(define an-html
(h:read-xhtml
(open-input-string
(string-append
"<html><head><title>Fred Martin</title></head><body>"
"<p>Teaches OPL on Mondays, Wednesdays, and Fridays</p><p><b>From 12pm to 1pm</b></p>"
"</body></html>"))))
This is the first, three-piece HTML string- the Header, and two Paragraph segments, contained in the body. This HTML-String is contained in html-test1, the first custom module.
The output can be seen at the bottom of the screenshot, in the REPL.