If Text Then Code

  • About the Course
    • Course Goals
    • Course Modules
  • Important Information
    • Contact Me
    • Policies
  • Schedule
  • Assignments
    • Reflection Posts
      • Prompt #1
      • Prompt #2
      • Prompt #3
    • “Found Text” Abstracts
    • Build Your Own Website
    • Write Your Own Text Adventure Game
    • Publish Your Own Digital Edition
    • Final Project
    • Rubrics
  • Resources
    • Readings
    • Tool Kit
    • Tutorials & Exercises
  • Reflections

Bringing Linn’s Writing into the Digital Age

December 12, 2016 by Dale Hartman

My job for the final project was to design a website that our Linn anthology could live on.  Many of my peers went out and did some excellent analysis of Linn’s writings.  However, if we keep doing what we have done in the past with our studies on Linn, these works are going to be loosely connected with no real description of what they are or why our study of James Merrill Linn is important.  I wanted to make sure that our work could be published in a way that makes it understandable by people outside of our classes.

Before I could do any coding, I needed to generate a diagram of what our site would look like, both at a high-level map view, and a specific page-by-page view.  I did this the old-fashioned way, by creating some pencil-and-paper sketches of what elements I thought needed to be included in the site, and how different pages were going to connect to each other.  At this stage, I decided that a navigation bar would be the best way to organize all of the sections of our site, providing easy-to-find links to both our editorial comments and content.

Using the online color palette generator at Paletton.com

As I was beginning development of the site, I discovered that color is a very important consideration when doing web design.  In the computer science curriculum here at Bucknell, I’ve learned that identifying a bad interface is quite easy, but picking out what’s wrong with it is much more challenging.  As someone without much artistic skill, I needed some help when it came to making the website visually pleasing.  Thankfully, there are plenty of tools out on the web that provide a number of different services for web developers.  The site I primarily used, palleton.com, helps designers generate aesthetic color schemes.  I fiddled with the available settings for quite a while until I managed to find a palette that I thought fit our historical research quite well.

 

Using HTML’s ‘li’ elements and CSS’s built-in classes to create a working navigation bar with a dropdown menu

Another major part of my work was creating the navigation bar that would link all the parts of our site together.  To do this, I followed a standard method of turning an HTML list of links into a functioning navigation bar using CSS.  In order to create elements that respond to a user’s cursor, I had to use the CSS :hover selector to change the properties of elements whenever the cursor was hovering over it.  The most challenging thing to implement was the dropdown menu when navigating to our editorial content.  CSS can recognize some classes, such as “dropdown-content,” and automatically apply certain properties to elements of that class without the designer needing to explicitly code it in the stylesheet.  Learning to use this built-in dropdown feature, and modify it to work the way I wanted it to, took quite some time.  But, the end result greatly benefits the layout of the navigation bar.

Overall, I’m quite happy with what I’ve managed to accomplish in this final project.  If I had a bit more time, my next step would probably be to spend time setting up a genuine image gallery, with the ability to scroll through images and open them up in an overlay screen.  Using Javascript, I could also automatically populate this gallery with every image in a folder, without needing to explicitly code each one of them in the HTML file.  After working on this project, I feel more comfortable with web design, and I look forward for the opportunity to do more work in this field in the future.

Filed Under: Reflections Tagged With: CSS, final, HTML, james merrill linn, reflection, web design

A glimpse of battles, trauma and Linn’s sentiments

December 11, 2016 by Tong Tong

For the final project, Matt, Iris and I together have conducted a sentimental analysis based on Linn’s journal, and after combining it with the battles’ dates, we have some very interesting results. Before we started, we have envisioned several plans. For example, I was interested in the relationship between weather and memory/emotion and longed to explore that if weather functioned as an indicator for his emotional states or as a factor contributing to the change in sentiments. Another direction we could go is to analyze the sentiments in the journals as well as those in the letters, and when presenting both emotions from sources in the same visualization, we might find the difference (such as the letter has more positive sentiments and deliberately hides negative sentiments), which is valuable when we think about the audience and the objective of Linn’s writing. I still think that these could be the potential research questions for future plans regarding Linn’s journal. However, due to the limited time available, we finally chose to investigate the change in sentiments in Linn’s letter and its relationship with the battles Linn experienced.

After we determine our research question, we divided the journal into three parts so that everyone can mark up the emotions and share their impressions in the second meeting. I read the first part of the journal which is from the beginning to Feb 18th. However, we didn’t specify how to mark up and have not standardize our markups until the second meeting. For example, I marked up by words instead of ideas; considering that different readers might have different readings towards the same text, I was very cautious in only marking up the vocabularies that are definitely positive or negative. In addition, even though we made sure that we all used <state> and <note>, I marked up the word like “<state type= “emotion”>pleasant</state> <note>positive</note>.” Later, when we talked to Iris, she told us that it was more convenient for her to extract data if we marked up the text like: “pleasant<state type= “emotion”><note>positive</note></state>.” Therefore, I then cleared up my markup and made sure that it consistent with the rest of the text. Below the is screenshot of my markup (on GitHub):

%e5%b1%8f%e5%b9%95%e6%88%aa%e5%9b%be43
Figure 1: The highlighted text is my markup. “” is a previous markup, and I’m using the and tag to mark up the “impatient day” in front of it.

 

Thanks to Iris for making the visualization to illustrate Linn’s changes in sentiments throughout the days. Below is the screenshot of the final visualization:

figure_2
Figure 2: the screenshot of our visualization with indications of the battles (thanks, Iris!)

Here are the dates for the battles:

Battle of Roanoke Island: February 7-8, 1862 (Union victory)

Battle of New Bern: March 14, 1862 (Union victory)

Battle of South Mills: April 19, 1862 (Confederate victory)

 

After the first battle, Linn was deeply frustrated even though Union claimed victory. He had recorded in his journal of all the wounded soldiers and dead corpses, and his negative sentiments were also reflected in our graph. Before that, he was usually happy about the beautiful views of nature, and it seems like that he didn’t realize what war would be like. Therefore, he was extremely disillusioned after the first battle in his life. Linn did not write any journals during the second battle. While he seemed to be peaceful, the text suggested that he paid more attention to the details in life, and probably he did not know how to react to the battle that easily and absurdly destroyed the beauty of life. Finally, Linn seemed to be gave due to the loss of the Battle of South Mills. However, based on the journals, we don’t have many details about what happened after April 19th.

For the future projects, it would be interesting to see if there is any difference in what Linn valued before and after Linn’s experience of battles. Nonetheless, it is clear that he was most disillusioned after participating the first battle, and he did not really know how to cope with the latter battles and the violence he witnessed.

This is an interesting project and it is only a start. I am so happy that I learnt about TEI in this class, which I think is a powerful way to enhance “close reading” as well as to provide data for “distant reading.” I also learnt that standardization is especially important in group projects, and in the end I want to thank my wonderful teammates, Matt and Iris! I hope to see further developments of Linn’s project!

Filed Under: Reflections Tagged With: final, Linn, markup, TEI

Where’s James Merill Linn? Mapping Linn in New Bern, NC

December 9, 2016 by Maureen Maclean

My role in this project was to spatially markup James Merill Linn’s journal entries from March 23- April 19, 1862, using ArcGIS online. Using the transcribed journal entries and historical research, I plotted, on various maps from the Civil War era, points where Linn mentioned he had gone for each of his journal entries (one point= one journal entry). Most of the points are around the New Bern area in North Carolina, where Linn spent most of his time (March 23- April 9, April 12-16, 1862) as part of the Union occupation of the town under General Burnside. On April 17, 1862, Linn and other Union troops left New Bern for South Mills in a (failed) effort to undermine Confederate transportation schemes by destroying the Dismal Swamp Canal locks. The Battle of South Mills (April 19, 1862) was one of only a few Union defeats as part of Burnside’s Expedition.

Screenshot of my work on ArcGIS
Screenshot of my work on ArcGIS

One of the hardest parts of mapping Linn was the fact that Linn rarely named the places he visited or the streets that they are on. For example, he mentions General Burnside’s headquarters as a white house in New Bern but doesn’t explain where it is or what the house was called. To find out what house it was so I could map it I had to do some research online. I figured out that the house was the Stanly House. However, the house was moved from its original location in the 1960’s and I couldn’t figure out where the house was originally located. I eventually found the general area where the house first was located after going through old land deeds but I hit another pitfall because the Stanly House isn’t listed on the map I was plotting the points on from 1866. The only building mentioned where the house was first located was listed as the Washington Hotel on the map. After even more research, I discovered that George Washington stayed at the Stanly house in 1770 and surmised that the map maker was referring to this moment in time when labeling the map.

General Burnside's headquarters at Stanly House.
General Burnside’s headquarters at Stanly House.

My struggle to find Gen. Burnside’s headquarters was probably one of my easier efforts to find a location Linn talks about because at least it is a physical landmark. For a lot of the journal entries, Linn just talks about his time at camp yet he doesn’t give the name of the camp he stays at and only offers hints of the general location. I used his hints, research, and the maps (both the 1866 and 1864 maps) to try to locate the camps he stayed at to the best of my ability. For example, on April 3, 1862 Linn mentions moving camp to be on the other side of the river (the two previous camps were on the south bank of the Trent) on the west side of town. Using a map from a newspaper article from that time, I surmised that the camp was located north of the Railroad Depot. Unfortunately, I cannot be entirely sure that the locations I plotted for Linn’s time at the camps, or for any of the points for that matter, are correct. That being said, my spatial analysis is more of a communication device than a historical record of Linn’s location; the purpose of mapping Linn’s entries is to provide an engaging interface for readers to contextualize Linn’s situation. A large part of this goal is aesthetics and accessibility, two key elements of effective communication. To make the analysis clear and good looking, I colored coded elements as well as labeled them. For example, instead of tracking Linn’s travels within New Bern, I instead just used a blue circle to indicate the general area he traversed during the majority of this time and labeled it as so. I figured that if I tried to track his moves around the city, like I did with his journey to South Mills and Pollocksville, it would be too cluttered and visually overwhelming. Additionally, instead of including the whole transcribed entry for each point, I instead only included a quote from the entry that related to the location of the pin. I did this because 1) it is more clean and concise and 2) it makes the reader want to find out more and thus click the link to read the full entry.

Newspaper map I used to help determine where on of the camps Linn stayed at was located. The red circle marks the label of a camp according to the map maker.
Newspaper map I used to help determine where on of the camps Linn stayed at was located. The red circle marks the label of a camp according to the map maker.
Entry that Linn talks about the camp. I used the context that Linn supplied with additional research (like the newspaper map) to determine the location of the camp.
Entry that Linn talks about the camp. I used the context that Linn supplied with additional research (like the newspaper map) to determine the location of the camp.

Overall, I am satisfied with the work I did and I think that I was effective in achieving my goals. In terms of relating the process to the other work we did, I think spatial analysis can be considered another form of transcription since I had to transcribe his words in a spacial fashion. Just like with the actual transcription of Linn’s writings, I had to negotiate Linn’s actual words with what I thought Linn meant, or in my case, where Linn meant he was. I had to question Linn’s own accuracy of his locations and use historical research to try to determine where he was. As I mentioned previously, my spatial interpretation of Linn’s entries is just that- an interpretation. This relates back to what Pierazzo says about digital editions:

“We should simply say that the notion of objectivity is not very productive or helpful in the case of transcription and subsequently of diplomatic editions and that we should instead make peace with the fact that we are simply doing our works as scholars when transcribing and preparing a diplomatic edition.” (Pierazzo 466).

Just as I choose what to markup for the various transcription/ TEI work we did this semester, I decided what places I thought were the most important to my edition and used research as well as Linn’s words to spatially markup the entries. As Pierazzo says, we have to distance ourselves from the notion of objective truth- our editions will be inherently subjective and we can’t be stuck on trying to make it “correct.” This is exactly what I did- I adjusted my knowledge and did the best that I could to make a scholarly edition of Linn’s journal entries.

Filed Under: Reflections Tagged With: 1862, arcGIS, burnside, final, Linn, map, maureen, new bern

HUMN 271

Bertrand 012
TR 9:30-11:20am
Dr. Diane Jakacki

Authors

  • Dale Hartman RSS feed
  • Diane Jakacki RSS feed
  • ejp013 RSS feed
  • Ella Ekstrom RSS feed
  • jaa023 RSS feed
  • Jingya Wu RSS feed
  • Julia Wigginton RSS feed
  • Matthew Fay RSS feed
  • Matthew Lucas RSS feed
  • Neil Lin RSS feed
  • Peter Onusconich RSS feed
  • Sarah Rosecky RSS feed
  • Tong Tong RSS feed
  • Xing Fu RSS feed
  • Yash Mittal RSS feed

Creative Commons License

Creative Commons License Bucknell University Humanities 271 Course by Diane Jakacki is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Copyright © 2023 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in