Giter Site home page Giter Site logo

Consistent Coding about cityslavegirls HOT 2 CLOSED

rjp43 avatar rjp43 commented on June 1, 2024
Consistent Coding

from cityslavegirls.

Comments (2)

RJP43 avatar RJP43 commented on June 1, 2024

@spadafour @KariWomack @CodyKarch Okay so I am trying to finish up the XSLT for the article templates and I am getting started on writing the <span> representations for the <rs> and I am running into the question on whether we want to have our spans pull out the @type or @subtype... a basic question here... Do we want to have the conditions or the connotations be colored text? VERY BASICALLY when the website user toggles the javascript there will be a sense of who is speaking identified one with CSS (underline, bold, a color, etc.) and then when they hit another toggle it will show what they are talking about (context) or what tone (positive or negative) they are talking about. There is also the option to use the title attribute on any html element and tooltip, which we would need to research more if we want to have both the @type and @subtype appear in some way.

Also another cool thing we can do perhaps even easier than an svg graph or perhaps alongside it would be to create an SVG bar of sorts at the top of each article that would give us a representation of how negative a single article by focusing on the <rs> @subtype. This idea was suggested by Dr. B. right after class and I could imagine we would take the count of instances where the @subtype="negative" and set it in relation to the count of all @subtypes to determine how negative a single article is...or how positive... or perhaps a gradient bar of sorts.

what does everyone think about all of this?

from cityslavegirls.

RJP43 avatar RJP43 commented on June 1, 2024

Only XML to tag as of 12/11 until we get the schematron and site index complete

the structural elements are <head>, <div>, and <p>

  • the <head>element contains the element <title> only
  • the <div> element has the attribute @type which is equal to one of the following values "headlines", "articeBody", or "advertisement"
    *inside of the <div type="headlines"> there is the additional structural markup of <list> and <item> with each <item> holding the individual headline sentences. There are no <p> elements inside of this <div>. (no contextual markup in headlines, please! It causes duplicate information.)
  • the other two div types should have <p> elements separating the paragraphs as they are represented in the original texts.

contextual markup:
<orgName type="exposedCompany" ref="#theXMLid> (XML identified in #15)>
<said> for quoted info.
<placeName type="address" ref="#theXMLid> (XML identified in #15)
more generally <orgName> and <placeName> tags

from cityslavegirls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.