Posts Tagged ‘ CSS ’

Making it work

Each format may contain one or more of these iconsI’ve been plugging away at the XSL loop for a solid week now. I think I’ve nearly exhausted all that XSLT can do for this project, which I am mainly using to call information from a massive database when certain conditions are met. For example, I was able to make it so that when “Israel” is selected as the location, all of the stories involving Israel will show up with the news item’s headline (wrapped in the story’s permalink), over the publication date, the lede and icons corresponding to the news item’s format (text, audio, video and commentary).

Although I include the publication date as part of each item’s presentation, it will not bear any impact the site’s organizing principle. Each item’s story location(s)¬†will also show up as a dot on a world map. Hovering over either a dot or its corresponding news item’s box brings focus to both the news item and the dot (i.e. by fading out all other story items and dots). Continue reading

Advertisements

Testing…

I’ve been hard at work on coding the XML framework, specifically making the processor that will generate what the final site will look like, but let me just update on my progress.

Even as an XML newbie, I’ve been able to streamline the workflow I highlighted two posts ago. I’ve opted for a massive, well-constructed XML file instead of a folder structure. The XSLT stylesheet I’m coding now will draw the necessary information from the XML file and place each element in a uniquely labeled div, which I will later style with CSS.

To eliminate any duplicate news items, I’ve turned to the admirable open-source work found at EXSLT.org. This community has created extensions that help simplify overly complicated XSL commands, in this case reducing a complicated template command to the line set:distinct().

I still intend to make a database of locations and file types, but I think coding a discrete topic database by hand. The more I think about it, the more I want the topic navigation to be user-defined (i.e. with a search bar) rather than solely defined by me, the developer (i.e. with a drop-down menu with a discrete set of terms). Continue reading

Operational difficulties of querying semantic information

Folder Structure and Workflow for Parallactic DriftIn order to implement an efficient system of organizing news items, content providers must label information in a common way within each platform, be it RSS, blogs or web sites. Standards in fact do exist for XML tagging for news sites. Several web consortia exist (including W3C and NewsML) to ensure that a single format is followed, and that information flows freely between publications and reaches more users.

Perhaps it’s because this principle of “free-flowing information” seems in itself counter-intuitive to how traditional publications share news items, but an inconsistent style stifles any RDF standard across different publications. Even if designs remain idiosyncratic, as they should, the semantic tagging of information, in HTML and XML should not deviate too much from an agreed-upon standard. Continue reading