RSS feeds

Wikipedia : RSS

RSS Advisory Board : RSS 2.0 Specification

XSL file – “case-study-feeds/rss.xsl”
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="1.0" exclude-result-prefixes="atom media">

    <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:include href="../../plugins/tenandtwo-xslt-processor/xsl/date.xsl"/>

    <xsl:template match="/">
        <xsl:apply-templates select="//channel"/>
    </xsl:template>

    <xsl:template match="channel">
        <!-- header -->
        <div><xsl:apply-templates select="image"/></div>
        <h3><xsl:value-of disable-output-escaping="yes" select="title"/></h3>

        <!-- body -->
        <xsl:apply-templates select="item"/>

        <!-- footer -->
        <hr size="1"/>
        <div>
            <xsl:text>RSS Feed Updated : </xsl:text>
            <xsl:call-template name="date-format">
                <xsl:with-param name="value" select="pubDate"/>
                <xsl:with-param name="format" select="'Y-m-d h:i A'"/>
            </xsl:call-template>
        </div>
        <div>
            <a target="_blank">
                <xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute>
                <xsl:text>Visit Website →</xsl:text>
            </a>
        </div>
    </xsl:template>

    <xsl:template match="item">
        <hr size="1"/>
        <div>
            <xsl:apply-templates select="media:content[1]"/>
        </div>
        <h4>
            <a target="_blank">
                <xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute>
                <xsl:value-of disable-output-escaping="yes" select="title"/>
            </a>
        </h4>
        <div>
            <xsl:value-of disable-output-escaping="yes" select="description"/>
        </div>
    </xsl:template>

    <xsl:template match="image">
        <a>
            <xsl:attribute name="target">_blank</xsl:attribute>
            <xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute>
            <img>
                <xsl:attribute name="src"><xsl:value-of select="url"/></xsl:attribute>
                <xsl:attribute name="alt"><xsl:value-of select="title"/></xsl:attribute>
            </img>
        </a>
    </xsl:template>

    <xsl:template match="media:content">
        <img>
            <xsl:attribute name="src"><xsl:value-of select="@url"/></xsl:attribute>
<!--             <xsl:attribute name="height"><xsl:value-of select="@height"/></xsl:attribute> -->
<!--             <xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute> -->
        </img>
    </xsl:template>

</xsl:stylesheet><!-- end rss.xsl -->

New York Times

[xslt_transform_xml xsl="case-study-feeds/rss.xsl" xml="https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml" /]
Output

NYT > Top Stories


G.O.P. Spending Hawks Defy Trump on the Debt Limit, Previewing More Clashes

President-elect Donald J. Trump is known for his tight grip on members of his party, but the rare rejection of his demand to suspend the debt limit reflected a disconnect that could plague his policy agenda.

Biden Signs Spending Bill, Finalizing End to Shutdown Drama

President Biden’s signature, while technically coming after the midnight deadline for a shutdown, ensured that there would be no lapse in government funding.

Dropped From Spending Bill, Cancer Research and D.C. Stadium Measures Revived by Senate

Two bills on pediatric cancer research and a football stadium site had been left out of the main spending package, but passed early Saturday as separate legislation.

Trump Appoints ‘The Apprentice’ Producer as Special Envoy to Britain

Mark Burnett and President-elect Donald J. Trump had a long and successful collaboration that made Mr. Trump a household name.

Iran’s Energy Crisis Hits ‘Dire’ Point as Industries Are Forced to Shut Down

Although Iran has one of the biggest supplies of natural gas and crude oil in the world, it finds itself in a full blown energy emergency, coming just as it also suffers major geopolitical setbacks.

In Search of Loved Ones, Syrian Women Face Horror of Assad’s Regime

In Syria, women begin to pick up the pieces of a broken nation.

Top Uniformed N.Y.P.D. Officer Resigns After Abuse Allegations

Jeffrey Maddrey demanded sexual favors, according to subordinates, and the federal authorities are investigating. He had previously been accused of harassment on the job.

Rickey Henderson, Baseball’s Flamboyant ‘Man of Steal,’ Dies at 65

Widely regarded as the greatest leadoff hitter in baseball history, he was not just one of the game’s most exciting players but also one of its most eccentric.

‘The Interview’: Jonathan Roumie

The star of “The Chosen” discusses his early struggles in Hollywood, fans who conflate him with his character and how his own faith informs his work.

How Netflix’s ‘Culinary Class Wars’ Made Chef Anh Sung-jae a Star

Anh Sung-jae went to America as a 13-year-old, joined the Army, went to culinary school and opened a top restaurant in San Francisco. Now back home in South Korea, he’s a Netflix star.

Germany Bulked Up Christmas Market Security. An Attack Still Happened.

The latest deadly assault on a beloved German tradition illustrates the challenge of holiday safety.

3-Minute Christmas Market Rampage Shakes Germany

At least five people, including a 9-year-old child, were killed in the attack, which took place in the eastern city of Magdeburg. The authorities are still seeking a motive.

How to Keep ‘People Pleasing” From Ruining Your Finances

Spending money to avoid conflict or gain social acceptance can ruin your finances. Some self-reflection and support from professionals can help turn things around.

What a School Performance Shows Us About Japanese Education

A look into the Japanese educational system’s delicate balancing of teamwork, discipline and personal growth.

Religion Has Been in Decline. This Christmas Seems Different.

Why religious trends in the later 2020s might be different from the trends of the 2010s.

University of California Resolves Civil Rights Complaints Over Gaza Protests

Five schools agreed to changes after reports that they failed to protect students from antisemitism and anti-Arab and anti-Muslim discrimination.

Police Fatally Shoot Man Who Drove Pickup Into Killeen Mall, Injuring 5

The police said the man was being investigated for possible drunken driving but instead of stopping, he smashed his pickup truck into a J.C. Penney.

Community in Madison, Wisconsin, Gathers to Mourn Abundant Life Christian School Shooting Victim

Rubi Patricia Vergara was one of two victims killed in Madison this week. At a memorial service, she was remembered as an empathetic teenager with a passion for music and art.

Pakistan Faces Resurgance of Terrorism

Political instability, dwindling public support and economic constraints are eroding the costly gains that the country made in combating militancy after a ghastly school attack in 2014.

Encountering Italy and Germany on a Road Trip Through Southern Brazil

A road trip through Brazil’s Rio Grande do Sul state leads to German and Italian cuisine, dialects and a surprising number of music festivals.

RSS Feed Updated : 2024-12-22 04:26 AM

National Center for Environmental Information

[xslt_transform_xml xsl="case-study-feeds/rss.xsl" xml="https://www.ncei.noaa.gov/access/monitoring/monthly-report/rss.xml" /]
Output

NCEI News Feed


World Magnetic Model 2025 Released

NCEI plays a critical role in the development, maintenance, and distribution of the World Magnetic Model.

Assessing the Global Climate in November 2024

The global land and ocean temperature departure from average for November 2024 was the second highest on record.

Assessing the U.S. Climate in November 2024

During November, the average contiguous U.S. temperature was 45.3°F, 3.6°F above the 20th-century average.

El Recorrido de un Árbol de Navidad

Los árboles de Navidad son afectados por eventos extremos del tiempo y el cambio climático.

A Christmas Tree’s Journey

Christmas trees are affected by extreme weather events and climate change.

Participating in the 2024 AGU Annual Meeting

Explore What’s Next for Science at the American Geophysical Union 2024 Meeting.

On This Day: 1929 Grand Banks Tsunami

The November 18, 1929 Grand Banks earthquake and tsunami is the most tragic event of its kind in Canadian history with 28 lives lost.

Global Atlas Expands Reach of NOAA Microplastics Database

New atlas of ocean microplastics provides access to global quality-controlled data from different countries.

Assessing the Global Climate in October 2024

The global land and ocean temperature departure from average for October 2024 was the second highest on record.

Assessing the U.S. Climate in October 2024

During October, the average contiguous U.S. temperature was 59.0°F, 4.9°F above the 20th-century average.

RSS Feed Updated : 2024-12-22 04:52 AM