dxh405 / hughes_project

Repo for Langston Hughes final project in DIGIT 110
https://dxh405.github.io/hughes_project/
1 stars 0 forks source link

XSLT updates and Website + CSS suggestions #2

Open ebeshero opened 3 years ago

ebeshero commented 3 years ago

I've pushed up some revisions to your XSLT and made lots of comments, in this commit: https://github.com/dxh405/hughes_project/commit/76ff76b8465b23d2489f9adfb612a8f5d9dd93aa

Do a git pull and take a look through this. I also saved my output as montageOutput-ebb.html, and saved a change in the hughproject.css in both the code and the docs directories. Here is a summary of my updates:

1) Implement the xsl:analyze-string code I talked about in class yesterday to capture a phrase ("dream deferred". (You can do as many of those as you like.)

2) Make sure all of your styling properties you coded on the <format> element are output on your HTML <em> elements: all at once so you get them all. For that, we just wanted one template rule on and process all the attribute values at the same time.

3) Simplify the CSS link lines so you are outputting the correct CSS lines in the XSLT that you seem to be using for the project: so they always point to "hughproject.css" and the font CSS you were importing.

4) I added a line to "hughproject.css" to make the little "dream deferred" phrase we captured with xsl:analyze-string pop out in the output in red. You may want to change how I did that.

I'm really not crazy about that olicana font, by the way--It looks good on the poem titles when they are not block caps, but normal text is super small and hard to read without a screen magnifier. I hope you'll shop around for some other options! There's nothing wrong with using olicana just on the poem titles, but maybe switch to a more legible font for the main text?

@dxh405 @wdjacca @AtomicOlsen @amayadwillis @BarbieCessar

ebeshero commented 3 years ago

For your website, you want something with multiple pages to help introduce and discuss your project work, and provide a little context around your edition. Tell us something about the source document, its origins, and what you're doing with it by making it a markup project. Introduce each other as a project team, provide a link to a view of your code on your GitHub repo, all that. We'll talk more about this on Monday.