Skip to navigation – Site map

HomeIssuesIssue 17By a Thread: Encoding Online Foru...

By a Thread: Encoding Online Forum Data in TEI

Sebastian Reimann, Lina Rodenhausen, Frederik Elwert and Tatjana Scheffler

Abstract

Online forums are platforms where users interact in conversations organized around common topics. In this paper, we make a proposal for encoding forum data according to the TEI Guidelines using a unified format, which covers both traditional online forums as well as Reddit, the largest platform that offers forum functionality. We first discuss the specific properties of various types of forums, including most prominently their treelike thread structure. We argue that this tree structure is best represented in a nested XML tree, and does not follow existing stream- or timestamp-based CMC schemas. We present a solution that makes use of a wide range of previously available elements from the TEI Guidelines and the CMC-core schema to encode forums with different thread structures, types of post reactions, and sets of available emojis. Moreover, we propose a TEI header for storing forum metadata within the context of interdisciplinary research, which addresses the challenges of applying TEI elements to born-digital data. Finally, we propose customizations to preexisting TEI elements that are necessary to cover several peculiarities of online forums.

Top of page

Full text

The work reported here was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – SFB 1475 – Project ID 441126958.

1. Introduction

1Online forums are one of the longest-running types of interactive content on the internet, and they cover as many different topics as are interesting to their human users. Because of their long history, online forums come in various forms, from earlier Usenet-style discussion boards to current Reddit discussions. These forums are considered computer-mediated communication, or CMC. In this paper, we investigate the structure of several online forums and propose a TEI-based encoding of their text and metadata. In particular, we make several amendments to the recently proposed CMC-core schema in order to capture the treelike, not chronological, structure of forum discussions, and to better represent components such as forum-specific emojis and annotations on individual posts such as upvotes and downvotes.

2As a case study, we have created corpora of five online forums on three different platforms containing discussions by laypeople on religious topics. These include the large German-speaking Christian forums Jesus.de and Mykath, as well as three English-speaking Christian subreddits. These corpora have been collected within the Collaborative Research Center (CRC) “Metaphors of Religion”1 at Ruhr University Bochum in Germany, and will form the basis of a common analysis using methods from linguistics and religious studies. The CRC assembles an interdisciplinary team of researchers to do comparative work on different texts from various religious traditions and eras, where the online forums are the only born-digital data. All text corpora will be hosted in a shared repository and metaphor annotation is used as a common instrument by all subprojects. In this paper, we present the TEI XML–based schema that allows us to transform all online forum data into a common format for further analysis.

3Our paper makes the following contributions. We systematically discuss the types of data and metadata that constitute various kinds of online forums and their posts. Existing schemas for CMC data encounter specific challenges when faced with this type of data. Therefore, we use existing TEI elements for a unified format to encode the different thread structures of these forums. We propose to represent the macrostructure level through a native treelike structure directly in the XML tree and to represent the microstructure level—reactions to posts and custom emojis of forums—through other structures. Moreover, we address the question of how to store forum metadata in the TEI header within the context of a large interdisciplinary project with various data types and present a possible solution. Finally, we propose customizations to preexisting TEI elements that are necessary to cover peculiarities of online forums such as the presence of deleted users (whose metadata is unknown) and the existence of time-stamped edits to some posts.

2. Online Forum Data

4Online forums or discussion boards have existed in various forms since the 1990s, and have been replaced by newer types of social media in some respects. However, they are still actively used and preferred over other types of social media within specific communities and for certain topics, such as the Christian communities in our study. While traditionally, online forums have usually been hosted independently for each community, Reddit is a current, internationally popular platform that offers forum functionality in a centralized way. On this shared platform, individual communities organize in the form of “subreddits.” We consider a subreddit to be an online forum similar in function to the previously mentioned traditional online forums.

5Online forums have particular characteristics which make them fruitful for our research. To begin with, they are usually created for communication about a specific topic or for a specific group of people, such as Christians and subgroups of Christians in this research project. They are not focused on one content creator but on one topic and a group of users shapes the forum together. Forums make it possible to exchange mainly text, and sometimes various types of audiovisual media, independent of geographical place and time. It is common for users of online forums to write long posts and have longer discussions (in comparison to other more short-lived types of social media posts). Our cases are all open forums, so anyone can read every post and every registered user can at any time contribute to the discussion. Therefore, it is quite common that several thematically different discussions occur in one thread, possibly at the same time. It is also possible that the discussion can involve people who are not considered to be part of the same community, or do not share the same understanding, as those who created the forum. This is particularly common on Reddit, since it gathers forums on different topics, so all Reddit users can interact with posts in subreddits they are not usually a part of. However, moderators have the authorization to remove posts and ban users who do not adhere to rules which were set for a forum. Users of online forums are usually pseudonymous. They create usernames so that they do not have to share details about their offline life but are still identifiable on a platform as a specific user.

2.1 Religious Online Forums

6As in most areas of life, internet use is also part of contemporary everyday religiosity. Consequently, research on contemporary religion should include online religious practice and communication (Neumaier 2016, 443–44). “Digital Religion scholars consider both how digital media are used by religious groups and users to translate religious practices and beliefs into new contexts, as well as the reimagining of religion offered by unique affordances within these new media and spaces” (Campbell 2016, 16).

7Previous research shows that religious online forums can give valuable insight about religion in the twenty-first century. Studies on Buddhist online forums have researched the identity-making of global Buddhism in online communities (Busch 2011, Sharapan 2018, Sul and Bailey 2013) and the German forums of this project have been analyzed before with an interest in preconditions of religious online activity (Neumaier 2016) and in inter- and intrareligious dialogue (Elwert, Tabti, and Pfahler 2020). Some recent research on religion and Reddit includes Sanders and Ferré’s study on religion news (2020), Lundmark and LeDrew’s analysis of the r/atheism subreddit (2019), and distant reading studies of religious subreddits by Schmidt, Kaindl, and Wolff (2020) as well as Stine, Deitrick, and Agarwal (2020).

8Research in our project focuses on five Christian online communities on three different platforms. The first corpus of a German forum was gathered from the Christian information and discussion platform Jesus.de.2 This is the largest German Christian online forum and an important example of contemporary religious communication. A second example is the smaller but still active Mykath forum,3 which aims specifically at a Roman Catholic audience. For an analysis of contrasting positions, we chose the progressive Christian subreddit r/OpenChristian4 and the conservative Christian subreddit r/TrueChristian.5 In addition to these two, the biggest and most general Christian subreddit r/Christianity6 completes the data.

  • 7 The forum Jesus.de has since undergone a major relaunch, making posts older than 2019 unavailable. (...)
  • 8 https://​pushshift.​io/
  • 9 While we were in the process of scraping all posts from this subreddit, the Pushshift API was moved (...)

9All conversations from the five online forums have been extracted in structured form. For the older-style forums, we wrote semicustom web scrapers,7 while we scraped the subreddits using the Pushshift API.8 Table 1 presents an overview of the size of the corpora we have gathered. The individual corpora contain between 150,000 and nearly seven million posts each, and cover about the last six to twenty years.9

Table 1. Overview of the collected corpora.

Forum Number of threads Number of posts Number of tokens Date
Jesus.de 35,549 1,659,837 129,564,417 2007–2022
Mykath 13,508 1,157,591 112,140,361 2001–2022
r/OpenChristian 15,887 158,171 11,720,419 2010–2022
r/TrueChristian 55,986 1,084,214 79,981,720 2012–2022
r/Christianity 304,185 6,925,770 385,519,059 2016–2022

2.2 Characteristic Properties of Selected Online Forum Platforms

10We chose these platforms with specific characteristics of online forums that are important for our research and which we need to capture in the TEI representation. It was also important to the project to gather several forums with structural differences for comparative analysis. Therefore, our TEI schema had to be flexible enough to deal with these differences while still being able to capture every platform in the same way to make comparative analyses possible.

11For our interests, one thread, meaning one original post with all its replies and their replies, counts as one document. One of the most crucial characteristics of online forum threads is the way the conversation is structured on the platforms. Posts within one thread can be ordered in a tree structure or chronologically by their timestamp. A treelike structure groups all replies to a post together, independent of their posting date, whereas the chronological ordering sorts posts linearly by their timestamp, corresponding more closely to a constant stream of posts (see figure 1). The features of the platform determine how a conversation is traced and how one can contribute. It is characteristic of online forums that they organize the discussion by topic, and therefore often enable a tree structure.

Figure 1. Tree structure of a forum (left) vs. linear chronological presentation (right).

Figure 1. Tree structure of a forum (left) vs. linear chronological presentation (right).

12The forum of the website Jesus.de provides a tree structure, and so does Reddit. In the forum Mykath, on the other hand, threads are structured by the timestamps of the posts. In a tree structure, it is possible for a thread to consist of several subthreads. Replies are not necessarily linked to the original post but to a reply to it. On Jesus.de and Reddit, a user can reply to any post, either the original post or a reply, by means of a “reply to”-feature, as can be seen in figure 2 on the left. Additionally, if this user would like to address a specific part of this post or any other post, it is possible to quote parts of the text (or, theoretically, the whole text). This quotation of previous posts is the only way to reply directly in the case of a linear forum, such as Mykath. The reply will always be added to the end of the thread, so if the user wants the new post to be a reply to a specific previous post, they have to use the quote feature, shown on the right side of figure 2. We consider the structure of the conversations and the logic of replies to be an important characteristic that should be captured by a representation of the data in a TEI format.

Figure 2. Examples of a Reddit thread (left) and a Mykath thread (right).

Figure 2. Examples of a Reddit thread (left) and a Mykath thread (right).

13Apart from reacting to posts in the form of replies, any other type of reaction the platform provides should be represented in TEI. Reddit includes a score for each post which can be changed by other users with so-called upvotes and downvotes, which are aggregated to one number as an indication of the quality of the post. Jesus.de allows upvotes and downvotes as well, but not every post has to include this type of score and if it does, up- and downvotes are listed as separate numbers. Moderators can also leave reactions such as yellow cards or a “harrumph” to warn users that they might ban them or delete posts if they continue to disobey the rules. Mykath posts cannot be assessed with numerical scores but permit reactions in the form of emojis.

14One last challenge for representing the German online forums are custom emojis. In addition to Unicode emojis, these websites offer a set of custom emojis which are not standard characters with a Unicode codepoint but still constitute curated sets of pictograms, which set them apart from user-contributed images. On Mykath, they can be chosen in the same interface that presents Unicode emojis, as seen in figure 3. Jesus.de offers only a customized set of emojis.

Figure 3. Emoji selection menu on Mykath with custom emojis (left) and Unicode emojis (right).

Figure 3. Emoji selection menu on Mykath with custom emojis (left) and Unicode emojis (right).

15Table 2 provides a summary of the central features of the three different platforms that need to be encoded in the TEI schema.

Table 2. Characteristic properties of online forum platforms.

Platform Thread structure Custom emojis Types of reactions
Jesus.de tree structure yes upvotes, downvotes, reactions by moderators (“harrumph,” yellow card)
Mykath chronological structure yes reactions with emojis
Reddit tree structure no numerical score

3. Previous Approaches to Modeling Computer-Mediated Communication in TEI

  • 10 See the website of the Computer-Mediated Communication SIG, accessed February 9, 2024, https://​tei (...)

16Our data differs from non-born-digital data with which many scholars in the humanities and the TEI community work. As a form of contemporary communication, however, it is quite common and typical. Modeling computer-mediated communication (CMC) according to the guidelines of the TEI has previously been addressed by the CMC special interest group (SIG).10 A first attempt to do so was the DeRiK schema by Beißwenger et al. (2012), which was originally used in the scope of the Deutsches Referenzkorpus zur internetbasierten Kommunikation (DeRiK) project, whose data came from a broad range of different CMC genres. Beißwenger et al. stress the need for a specific element that represents individual user contributions since they are composed in private and then transmitted as a whole. These user contributions are a separate concept from regular utterances, which makes <u> unsuitable here and which led to the introduction of the <posting> element. They moreover argue that such user postings are arranged either in the form of chronological log files or in the form of threads, which are organized either chronologically or topically. Both forms are modeled via <div> elements of the @type "logfile" or "thread" in the DeRiK schema. Additionally, they present elements to model specific forms of interaction in CMC, such as <emoticon> for emoticons.

  • 11 Ausbau und Pflege der Korpora geschriebener Gegenwartssprache…. Das Deutsche Referenzkorpus—DeReKo, (...)

17Margaretha and Lüngen (2014) make use of the DeRiK schema when converting WikiTalk pages into TEI as part of the German reference corpus DeReKo.11 This is particularly relevant for our data since they describe WikiTalk pages as “organized in dialogue structures, in which threads and sequentially ordered, posting-like dialogue turns can be identified” (Margaretha and Lüngen 2014, 64), which makes them similar to forum threads as outlined in the previous section. Margaretha and Lüngen further describe how indentations are used in WikiTalk to create a thread structure. They argue that user contributions to a WikiTalk page are similar enough to the postings described by Beißwenger et al. (2012) and thus decide to use <posting> in their work. To show how the post fits into the structure of a thread, they use an @indentLevel attribute.

  • 12 See the CoMeRe Repository: Corpora of Computer-Mediated Communication in French (ORTOLANG), accesse (...)

18Chanier et al. (2014) adjusted this schema to be more suitable for multimodal corpora, like the CoMeRe corpus,12 which consists of data from French Internet Relay Chats, SMS messages, and online courses for language learning, by introducing a <prod> element for non-verbal acts. On the other hand, the CMC-core schema (Beißwenger and Lüngen 2020) focused on a reduction of newly introduced elements. Beißwenger and Lüngen (2020) argue that all types of communication that are produced and perceived simultaneously, either of verbal or non-verbal nature, may be modeled through either <u>, <kinesic>, or <incident>. This makes only the introduction of an element for the previously mentioned postings, which are produced in private and then transmitted en bloc, necessary in addition.

  • 13 The description of the cmc module in this paragraph follows Beißwenger and Lüngen (2020).

19They finally introduce a new module called cmc and the model model.divPart.cmc, which contains the <post> element that models the postings.13 This enables <post> to be contained in <div> elements, even in combination with <u>, <kinesic> or <incident>, for example. A <post> moreover has the specific attributes @mode, to signal whether a post is written or spoken; @replyTo, to encode a reply action made using a reply button; and, in line with the considerations of Margaretha and Lüngen (2014), @indentLevel, to mark how deeply a post is embedded in a thread structure. Moreover, they introduce a @creation attribute that signals whether something is created by a human or not, which <post> may contain but which is not exclusive to <post>.

20Summing up, the application of TEI to represent CMC has been widely tackled by the corresponding SIG in recent years. However, to the best of our knowledge, the attempt by Margaretha and Lüngen (2014) to model WikiTalk pages is the only application of TEI for CMC to model forum- and thread-like text structures. Considering that the genre “forum” itself is very heterogeneous, as shown in the previous section, and that the different purposes of corpora and research interests may lead to different priorities for the representation of forum posts and threads in TEI, we thus present the way we modeled our forums in the next sections of this paper. We explain which preexisting TEI elements may be used to encode the specific characteristics of forums and what potential customizations were necessary to get to our desired result.

4. Application of TEI to Online Forum Data

21The considerations of Beißwenger et al. (2012) and Beißwenger and Lüngen (2020) also hold true for forum posts in our corpus and, consequently, we choose <post> to represent the basic unit of a user posting in a forum. We moreover found that a wide range of elements from TEI P5 is suitable for modeling the characteristics of online forums, although in a slightly different manner compared to the CMC-core schema. In the following sections we present how we used TEI to model the macrostructure, microstructure, and metadata.

4.1 Macrostructure

22When it comes to capturing the structure of threads in which posts are arranged, we deviate from the suggestions of Beißwenger and Lüngen (2020). They recommend an @indentLevel attribute to signal how far a post is indented in a thread-like structure. Although the thread structure may be reconstructed from these attributes, this leads to the paradoxical situation that the hierarchical structure of the thread is linearized in the XML representation, while XML itself is structured hierarchically as well. Instead, we decided to make use of the nested structure of XML files for representing threads as trees. Formally, a tree is a recursive data structure that consists of a root node and (in the case of XML) an ordered list of children (subtrees; in our case, subthreads). We follow this formal description of a thread tree and represent threads as a pair of the root post and a list of its replies.

23In line with previous work, we choose a <div> element of the @type "thread" that represents an entire thread. These elements are, in our current encoding method, further subdivided. They contain the starting post of a thread with its title, and also a second <div> element that has the @type "replies", where posts are stored that are replies to the respective starting posts. Another thread <div> is used if these replies have further replies, which results in a nested structure where a thread <div> element always represents a post with its replies. In case of linear thread structures, there would be one thread <div> element containing the starting posts and a <div> for replies with all other replies to the starting post.

Example 1. Nested TEI representation of a post with replies.

<div type="thread">
  <post xml:id="p_9pmll8" who="user:3884129583" when="2018-10-19T20:35:44">
    <head>What's your opinion of monks and nuns?</head>
    <fs type="post-reactions">
      <f name="score">
        <numeric value="2"/>
      </f>
    </fs>
    <ab>I have been going to a monastery and I am surprised how
      friendly people are there, besides of being really dedicated
      to God. </ab>
  </post>
  <div type="replies">
    <div type="thread">
      <post xml:id="p_e82sikk" replyTo="#p_9pmll8" who="user:deleted" when="2018-10-19T20:42:22">
        <fs type="post-reactions">
          <f name="score">
            <numeric value="1"/>
          </f>
        </fs>
        <ab>I have none.</ab>
        <ab>Does that count?</ab>
      </post>
      <div type="replies">
        <post xml:id="p_e82slun" replyTo="#p_e82sikk" who="user:3884129583" when="2018-10-19T20:43:37">
          <fs type="post-reactions">
            <f name="score">
              <numeric value="3"/>
            </f>
          </fs>
          <ab>Sure.</ab>
        </post>
      </div>
    </div>
    <post xml:id="p_e82sp2e" replyTo="#p_9pmll8" who="user:3626475109" when="2018-10-19T20:44:52">
      <fs type="post-reactions">
        <f name="score">
          <numeric value="2"/>
        </f>
      </fs>
      <ab>I'm sure they can be very nice and devout people, but I
        think monasticism is a fundamentally flawed movement
        despite the good that has been done through it. </ab>
    </post>
  </div>
</div>

24By preserving this nested thread structure, it is easy to use CSS stylesheets to generate human-readable files that reflect how the discussions originally unfolded. This is crucial for the further annotation work that we are planning. Moreover, using our schema, we are able to easily select certain subdiscussions that branched off from the main topic as we have represented them as subthreads (<div type="thread">). We see such nesting as having significant advantages over the @indentLevel attribute.

4.2 Microstructure

25We suggest that feature structures are ideal to represent the previously mentioned possible reactions to posts. The <fs> element stores all post reactions and each type of possible reaction is stored within an <f> element that is a child of <fs>. The @name attribute of a reaction <f> signals the specific type of reaction such as likes, upvotes, or downvotes. If the reaction is based on a numeric score as in example 2, then it will be stored in the @value attribute of a <numeric> child element. If it is not a cumulative score, as is the case with reactions by moderators such as the “harrumph” reaction in example 3, then it will be stored in a <symbol> element. The element <fs> is itself a child of the <post> element.

Example 2. TEI representation of numerical scores as feature structures.

<fs type="post-reactions">
  <f name="score">
    <numeric value="1"/>
  </f>
</fs>

Example 3. TEI representation of moderator reactions as feature structures.

<fs type="post-reactions">
  <f name="mod_reaction">
    <symbol value="harrumph"/>
  </f>
</fs>

26For the further structuring of post units, we decided to opt for <ab> for anonymous blocks instead of <p> for paragraphs. This is, on the one hand, because the text in the HTML was sometimes already structured in paragraphs, whereas other times, we had to set paragraph boundaries by ourselves depending on multiple line breaks. On the other hand, we also observed that users make highly subjective decisions on when to leave a blank line. Consequently, we cannot claim that all potential paragraphs in our forum data would have a similar semantic value, and thus it seems reasonable to choose an option like <ab> that has fewer constraints under the TEI Guidelines.

27Emojis are either standard Unicode characters or custom ones available only in online forums. The former will be preserved in Unicode fomat, whereas the latter are embedded as images. Beißwenger and Lüngen (2020) suggest <figure> for representing emojis that are embedded as images in text. We, on the other hand, argue that these custom emojis are still closer to regular Unicode emojis in their semantics since their use is conventionalized in the respective communities, they are available from the same selection menus as the Unicode emojis, and their insertion into text is considerably easier than inserting images from external sources. We thus decide to list them in a separate file, as shown in example 4, referencing this file in the <listPrefixDef> in the <encodingDesc> of our header. The encoding in the header then resolves the ids when emojis are referred to in the text via the <g> element from the gaiji module that represents a nonstandard character or glyph. This has the additional advantage of defining a reference to an image file in a central place instead of the rather verbose use of <figure>. Example 5 shows how the emoji file is referred to in text.

Example 4. Listing of emojis.

<char xml:id="emoji-mellow">
  <desc>:mellow:</desc>
  <figure>
    <graphic url="https://www.mykath.de/uploads/emoticons/default_mellow.png"/>
  </figure>
</char>
<char xml:id="emoji-huh">
  <desc>:huh:</desc>
  <figure>
    <graphic url="https://www.mykath.de/uploads/emoticons/default_huh.png"/>
  </figure>
</char>
<char xml:id="emoji-happy">
  <desc>^_^</desc>
  <figure>
    <graphic url="https://www.mykath.de/​uploads/​emoticons/​default_happy.png"/>
  </figure>
</char>

Example 5. Representation of Emojis in text.

<ab>Dem schliesse ich mich von Herzen an <g ref="#emoji-huh" type="emoji"/>
</ab>

4.3 Header: Metadata of Born-digital Data

28A TEI document is complete only with a TEI header. Creating a header for born-digital data is not straightforward at all, since the established ways to capture metadata come from a context of print data. This issue also occurs when scholars try to cite born-digital sources in academic work and the same difficulties appear in the effort to create a suitable header for CMC. Fitting our metadata into the TEI header elements had the specific challenge that in our collaborative project we try as far as possible to standardize the TEI headers for corpora of different types of analog and digital media. Since the online forum data are the only born-digital data in our collection and in general all corpora are very different, this is a difficult task. Still, this issue is not unique to this project, as all scholars in the TEI community who work with born-digital data have to find suitable elements to capture the metadata of their documents. The CMC SIG has not yet published many reflections or suggestions regarding header elements, so we would like to encourage a discussion on this topic and present our own considerations.

29The first issue arises within the title statement of the file description. Since one document covers one thread and each thread has a title chosen by the user who started the thread, it makes sense to include it in the <title> element. The title statement should also include the name of the corpus, meaning the forum or subreddit, so that it can be immediately identified. This also corresponds to the data in other text types that are taken from a larger database or corpus of texts. The TEI Guidelines (TEI Consortium 2023, Appendix C: Elements, https://​tei-c.​org/​Vault/​P5/​4.​6.​0/​doc/​tei-p5-doc/​en/​html/​ref-title.​html) suggests a @level attribute for <title>, which is supposed to indicate its bibliographic level. Its legal values are intended to identify articles, books, journals, series, or unpublished material, and are taken from traditional bibliographic references. For other kinds of metadata, suitable corresponding levels have to be found. We chose the level "a" (analytic) to provide the thread title as it is an analytic item which is part of a larger item, comparable to an article or a poem taken from a collection. It is more difficult to decide which traditional bibliographic level best describes a corpus of all posts on an online forum. We settled on "s" (series) as it is a collection of some sort, for which this value was intended.

Example 6. Title statement of a forum thread.

<titleStmt>
  <title level="s">r/TrueChristian</title>
  <title level="a">What's your opinion of monks and nuns?</title>
</titleStmt>
  • 14 See the CMC SIG’s wiki page SIG:CMC/CMC-core schema for representing CMC in TEI (2019), last edited (...)

30Especially interesting is the question of a source description for our kind of data. We tried to follow the encoding examples that applied the CMC core schema published by the CMC SIG.14 Some have decided to use <recordingStmt> of the module spoken. Although we understand the idea of relying on this module for some CMC, we do not find this element to be suitable to describe the source, especially in the case of online forums. First of all, the text is written, not spoken. Issues of multimodal media are not of interest to our schema. Also, the posts are not actually recorded in a live situation but have been archived on websites. The other CMC encoding examples have then mentioned the platforms from which the data was retrieved in an <equipment> element. We did this differently and put the platform or website as the publisher within the bibliographic citation. Other suggestions are to name the organization that holds the database or corpus as the publisher. We suggest using <distributor> for such an organization, as we did in the case of Reddit, where we retrieved the data through the Pushshift API and did not scrape it directly from the website. Another interesting question about born-digital data regards the place of publication. In the Wikipedia Talk example, the URL of Wikipedia was named in <pubPlace>. We put the platforms’ headquarters as the place, but the question of geographical place remains an interesting one for online data. It is also worth mentioning that for other encoding examples, <monogr> was chosen for the bibliographic citation of the platform or database, which goes back to the issue of title levels and the question of what traditional bibliographic item corresponds to a collection of online posts.

Example 7. Source description of a forum thread.

<sourceDesc>
  <biblFull n="digitalSource">
    <titleStmt>
      <title>Reddit</title>
    </titleStmt>
    <publicationStmt>
      <publisher>Reddit, Inc.</publisher>
      <pubPlace>San Francisco, United States</pubPlace>
      <distributor>pushshift.io</distributor>
    </publicationStmt>
  </biblFull>
</sourceDesc>

31A final question is that of authorship. Online forum discussions and many other types of CMC do not have one or several authors in a strict sense. Other projects chose to include a participation description which works well for this type of data; however, it would not fit with our standardized header for all other kinds of traditional media data. In addition, we separated the user names from the textual data in order to provide an additional layer of privacy protection for users’ online personas (even though these are generally distinct from their real names). We have therefore created a TEI file with the content of a <listPers> including all users of one forum. This document is referenced in the encoding description with a <prefixDef> which defines how to resolve the ids of the @who attribute in <post>. Such a common file for all users of one corpus also makes sense for our data, since we want to analyze not singular conversations, but whole forums in which the same users can participate in multiple threads.

Example 8. Encoding description of a forum thread.

<encodingDesc>
  <editorialDecl>
    <segmentation>
      <p>Paragraph level granularity with <gi>ab</gi> tags.</p>
    </segmentation>
  </editorialDecl>
  <listPrefixDef>
    <prefixDef ident="user" matchPattern="(\w+)" replacementPattern="userlist_TrueChristian.xml#user-$1"/>
  </listPrefixDef>
</encodingDesc>

32Our detailed suggestions for a possible TEI header for online forums are of course heavily dependent on the individual data and needs of the project, but they also involve some general issues for CMC. Some explicit suggestions or common guidelines would be helpful for the community.

5. Customization of Preexisting TEI Elements

33In three cases, we needed to customize preexisting TEI elements in order to store all the desired information in our corpus files. One such element is <add>, used for insertions in text. In all our forums, users are able to make additions to posts after posting them. In Jesus.de, these retroactive insertions are explicitly marked. With such additions, we argue that the author clearly states that the content is supposed to belong to the edited post instead of creating a new post. Thus, <add> appears to be the perfect use case for such additions rather than creating a new post for them. Moreover, in Jesus.de, the exact date when such an addition was made is recorded. It would thus be desirable to transfer this date to the TEI representation of a forum post, for example by storing it in an attribute. Unfortunately, the TEI Guidelines do not include such attributes for <add>. For this purpose, we modify <add> so that it is allowed to contain a @date attribute.

34Another modification is necessary when it comes to deleted users. As previously outlined, for each forum, we keep a list of participating users as <person> elements in a separate file. However, in all our forums, it is possible for users to have their accounts deleted. In such cases, their contributions to a discussion thread are still present but cannot be linked to one particular user, as they are simply shown as created by a deleted user. We solve this issue by introducing a dummy <person> element, allowing it to have a @type attribute and setting it to "deleted" to signal that this particular <person> element does not correspond to a single user and rather represents all deleted users. Additionally, this dummy <person> may be helpful if users want to be fully anonymized or removed from the corpus.

35Finally, according to the CMC-core schema, <post> contains a mandatory @mode attribute that should signal if a post is a written or spoken contribution. While we recognize that this attribute is vital for multimodal corpora, we also consider it redundant if the corpus in question covers one that is entirely written, such as online forums. Thus, we suggest that @mode here works better as an optional attribute.

6. Summary and Discussion

36We were confronted with the task of capturing posts from various online forums with different features in a TEI format within an interdisciplinary research project of mostly non-born-digital data. Contributions to the TEI Guidelines by the CMC-SIG15 offer elements and suggestions that are very useful for this type of text, as we were able to show in applying those guidelines. We suggest some minor changes that were adopted during the implementation for these specific corpora. These are: a @date attribute for <add> to record the date when posts are edited, a @type attribute that can have the value "deleted" in <person> in order to account for deleted users, and making @mode in <post> optional.

37Furthermore, we presented a way to capture the treelike thread structure of online forums encoded in the logic of the websites, as it is important for further analysis. We used the following elements to propose a common representation for the three different types of platforms:

  • Nested thread trees are represented by subdividing the <div> elements for threads into a root <post> and a <div> element containing the nested reply trees.

  • Feature structures are used to represent the various reactions to posts.

  • Customized emojis in individual forums are encoded using <g>.

38We would also like to encourage an in-depth discussion about TEI headers for this type of data and have started to contribute to that. In summary, we provide encodings of our corpora from five different online forums and three different platforms in a common TEI encoding as illustrative examples for further research in this area. The corpora are available for academic research from the authors by request.

SVN keywords: $Id: jtei-reimann-241-source.xml 1238 2024-07-02 07:58:10Z ron $

Top of page

Bibliography

Beißwenger, Michael, Maria Ermakova, Alexander Geyken, Lothar Lemnitzer, and Angelika Storrer. 2012. “A TEI Schema for the Representation of Computer-mediated Communication.” Journal of the Text Encoding Initiative 3. https://​journals.​openedition.​org/​jtei/​476; 10.4000/jtei.476.

Beißwenger, Michael, and Harald Lüngen. 2020. “CMC-core: A Schema for the Representation of CMC Corpora in TEI.” Corpus, no. 20. 10.4000/corpus.4553.

Busch, Laura. 2011. “To Come to a Correct Understanding of Buddhism: A Case Study on Spiritualizing Technology, Religious Authority, and the Boundaries of Orthodoxy and Identity in a Buddhist Web Forum.” New Media & Society 13 (1): 58–74. 10.1177/1461444810363909.

Campbell, Heidi A. 2017. “Surveying Theoretical Approaches within Digital Religion Studies.” New Media & Society 19 (1): 15–24. First published online July 9, 2016. 10.1177/1461444816649912.

Chanier, Thierry, Céline Poudat, Benoit Sagot, Georges Antoniadis, Ciara R. Wigham, Linda Hriba, Julien Longhi, and Djamé Seddah. 2014. “The CoMeRe Corpus for French: Structuring and Annotating Heterogeneous CMC Genres.” Journal for Language Technology and Computational Linguistics 29 (2): 1–30. 10.21248/jlcl.29.2014.187.

Elwert, Frederik, Samira Tabti, and Lukas Pfahler. 2020. “Me, Myself and the Other: Interreligious and Intrareligious Relations in Neo-conservative Online Forums.” Religion 50 (3): 414–36. 10.1080/0048721X.2020.1754603.

Lundmark, Evelina, and Stephen LeDrew. 2019. “Unorganized Atheism and the Secular Movement: Reddit as a Site for Studying ‘Lived Atheism.’” Social Compass 66 (1): 112–29. 10.1177/0037768618816096.

Margaretha, Eliza, and Harald Lüngen. 2014. “Building Linguistic Corpora from Wikipedia Articles and Discussions.” Journal for Language Technology and Computational Linguistics 29 (2): 59–82. 10.21248/jlcl.29.2014.189.

Neumaier, Anna. 2016. “‘Because Faith Is a Personal Matter!’: Aspects of Public and Private in Religious Internet Use.” Journal of Religion in Europe 9 (4): 441–62. 10.1163/18748929-00904007.

Sanders, W. Scott, and John P. Ferré. 2020. “Reader Responses to Religion News: Discussions About Ark Encounter on Reddit.” Journal of Religion, Media and Digital Culture 9 (1): 107–30. 10.1163/21659214-bja10008.

Schmidt, Thomas, Florian Kaindl, and Christian Wolff. 2020. “Distant Reading of Religious Online Communities: A Case Study for Three Religious Forums on Reddit.” Proceedings of the Digital Humanities in the Nordic Countries 5th Conference (DHN 2020), edited by Sanita Reinsone, Inguna Skadiņa, Anda Baklāne, and Jānis Daugavietis, 157–72. CEUR Workshop Proceedings 2612. Aachen: CEUR-WS. 10.5283/epub.49296.

Sharapan, Maria. 2018. “Discovering Buddhism Online: A Translocative Analysis of Tibetan Buddhist Forum Discussions.” Online: Heidelberg Journal of Religions on the Internet 13: 79–98. https://​heiup.​uni-heidelberg.​de/​journals/​religions/​article/​view/​23845/​17587.

Stine, Zachary K., James E. Deitrick, and Nitin Agarwal. 2020. “Comparative Religion, Topic Models, and Conceptualization: Towards the Characterization of Structural Relationships Between Online Religious Discourses.” In Proceedings of the Workshop on Computational Humanities Research, edited by Folgert Karsdorp, Barbara McGillivray, Adina Nerghes, and Melvin Wevers, 128–48. CEUR Workshop Proceedings 2723. Aachen: CEUR-WS. http://​ceur-ws.​org/​Vol-2723/​long47.​pdf.

Sul, Eunsook, and Benjamin Bailey. 2013. “Negotiating Zen Buddhist and Western Language Ideologies and Identities in a Text-Based, English-Language Online Forum.” Journal of Multicultural Discourses 8 (3): 213–33. 10.1080/17447143.2013.841704.

TEI Consortium. 2023. TEI P5: Guidelines for Electronic Text Encoding and Interchange. Version 4.6.0. Last updated April 4. https://​tei-c.​org/​Vault/​P5/​4.​6.​0/​doc/​tei-p5-doc/​en/​html/.

Top of page

Attachment

Top of page

Notes

1 https://​sfb1475.​ruhr-uni-bochum.​de/​en/

2 https://​forum.​jesus.​de/

3 https://​www.​mykath.​de/

4 https://​www.​reddit.​com/​r/​OpenChristian/

5 https://​www.​reddit.​com/​r/​TrueChristian/

6 https://​www.​reddit.​com/​r/​Christianity/

7 The forum Jesus.de has since undergone a major relaunch, making posts older than 2019 unavailable. Since our scraper ran on the old version, our corpus also contains earlier posts.

8 https://​pushshift.​io/

9 While we were in the process of scraping all posts from this subreddit, the Pushshift API was moved to new servers, resulting in some changes and temporarily missing data. Soon after, Reddit announced their new API terms. We decided not to try to get more posts from r/Christianity, since the amount of data we already had from this subreddit was quite substantial compared to the other forums.

10 See the website of the Computer-Mediated Communication SIG, accessed February 9, 2024, https://​tei-c.​org/​activities/​sig/​cmc/.

11 Ausbau und Pflege der Korpora geschriebener Gegenwartssprache…. Das Deutsche Referenzkorpus—DeReKo, accessed February 9, 2024, https://​www.​ids-mannheim.​de/​digspra/​kl/​projekte/​korpora/.

12 See the CoMeRe Repository: Corpora of Computer-Mediated Communication in French (ORTOLANG), accessed February 9, 2024, https://​hdl.​handle.​net/​11403/​comere.

13 The description of the cmc module in this paragraph follows Beißwenger and Lüngen (2020).

14 See the CMC SIG’s wiki page SIG:CMC/CMC-core schema for representing CMC in TEI (2019), last edited December 31, 2019, https://​wiki.​tei-c.​org/​index.​php?title=SIG:CMC/​CMC-core_schema_for_representing_CMC_in_TEI_(2019); the sample XML files can no longer be accessed.

15 https://​wiki.​tei-c.​org/​index.​php/​SIG:Computer-Mediated_Communication

Top of page

List of illustrations

Title Figure 1. Tree structure of a forum (left) vs. linear chronological presentation (right).
URL https://journals.openedition.org/jtei/docannexe/image/5084/img-1.png
File image/png, 40k
Title Figure 2. Examples of a Reddit thread (left) and a Mykath thread (right).
URL https://journals.openedition.org/jtei/docannexe/image/5084/img-2.png
File image/png, 346k
Title Figure 3. Emoji selection menu on Mykath with custom emojis (left) and Unicode emojis (right).
URL https://journals.openedition.org/jtei/docannexe/image/5084/img-3.png
File image/png, 178k
Top of page

References

Electronic reference

Sebastian Reimann, Lina Rodenhausen, Frederik Elwert and Tatjana Scheffler, “By a Thread: Encoding Online Forum Data in TEI”, Journal of the Text Encoding Initiative [Online], Issue 17 | 2024, Online since 22 May 2024, connection on 08 November 2026. URL: https://journals.openedition.org/jtei/5084; DOI: https://doi.org/10.4000/1209k

Top of page

About the authors

Sebastian Reimann

Sebastian Reimann is a research associate and PhD student in computational linguistics in the Collaborative Research Center 1475 “Metaphors of Religion” at the Center for Religious Studies at Ruhr University Bochum. His research interests include the computational analysis of texts in online communities and social media with a focus on the automatic detection of metaphors in religious online forums.

Lina Rodenhausen

Lina Rodenhausen is a research associate and PhD student in religious studies in the Collaborative Research Center 1475 “Metaphors of Religion” at the Center for Religious Studies at Ruhr University Bochum where she works on religious communication in online forums. Her research focuses on digital religious communication and discourse analyses of contemporary religious communication as well as discourses on religion.

Frederik Elwert

Frederik Elwert is a professor of digital humanities at the Center for Religious Studies at Ruhr University Bochum. His research interests include computational text analysis, network analysis, and modeling of cultural heritage data, with a particular focus on the study of contemporary religious communication in online media. He is currently principal investigator in the Collaborative Research Center 1475 “Metaphors of Religion.”

Tatjana Scheffler

Tatjana Scheffler is an assistant professor of digital forensic linguistics at Ruhr University Bochum. Her research focuses on analyzing conversations in digital media. She is a principal investigator on several externally funded research projects on topics such as the variability of language in social media, computational analysis of metaphors in online forums, disinformation detection, and the semantics and pragmatics of emojis.

Top of page

Copyright

The text only may be used under licence For this publication a Creative Commons Attribution 4.0 International license has been granted by the author(s) who retain full copyright. . All other elements (illustrations, imported files) may be subject to specific use terms.

Top of page
Search OpenEdition Search

You will be redirected to OpenEdition Search