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


Federal Inquiry Traced Matt Gaetz’s Venmo Payments to Women

A document prepared by federal investigators bolsters claims by women who say they were hired for sex by Matt Gaetz, President-elect Donald J. Trump’s choice for attorney general, who denies wrongdoing.

JD Vance Courts Senators With Matt Gaetz, Controversial Cabinet Pick

Vice President-elect JD Vance was on Capitol Hill with Matt Gaetz, the former representative whom President-elect Donald J. Trump wants as his attorney general.

Police Report Offers Graphic Details of Sexual Assault Claim Against Hegseth

President-elect Donald J. Trump’s choice for defense secretary was never charged with a crime and vehemently denied to the police that a sexual encounter was coerced.

Ukraine Fires Long-Range Storm Shadow Missiles Into Russia

Britain allowed Ukrainians to use Storm Shadows a week after President Biden authorized the use of American-made missiles inside Russia, a shift from a more cautious military strategy.

Ukraine Strikes Inside Russia With U.S. Missiles

The next two or three months in Ukraine are likely to be exceedingly violent, in a war that has already been the deadliest in Europe in the past 80 years. Marc Santora, who has been reporting from Ukraine since the beginning of the war with Russia, explains why.

Biden Agrees to Supply Ukraine With Anti-Personnel Mines

The decision is the latest in a series of moves by the U.S. and Russia that have escalated tensions between the two.

‘Get Somebody Else to Do It’: Trump Resistance Encounters Fatigue

Donald J. Trump’s grass-roots opponents search for a new playbook as they reckon with how little they accomplished during his first term.

North Carolina Republicans Push to Seize Power From Top Democrats

The state’s Republican-controlled legislature passed a sweeping bill that would erode the power of the Democratic governor and attorney general and hand the G.O.P. more control over elections.

Begich Defeats Peltola in Alaska, Flipping House Seat for Republicans

The G.O.P. united behind Nick Begich III, the conservative son of a prominent liberal Alaska political family, to beat Representative Mary Peltola, a Democrat.

U.S. Proposes Breakup of Google to Fix Search Monopoly

In a landmark antitrust case, the government asked a judge to force the company to sell its popular Chrome browser.

How to Cook the Best Thanksgiving Turkey

Eric Kim roasted dozens of birds and taste-tested eight different recipes before landing on this clever approach.

Atmospheric River Brings Rain, Snow and Power Outages to California and West Coast

The first “atmospheric river” storm of the season battered Northern California and the Pacific Northwest, disrupting travel and leaving at least two people dead from falling trees.

New York City Will Get Some Rain, but Not Enough to Ease Its Drought

About two inches were forecast to fall through Saturday. Officials say it won’t be enough to fully replenish the city’s reservoirs.

Israel and Iran Seemed on the Brink of a Bigger War. What’s Holding Them Back?

So far, direct attacks between the two adversaries have been precise and calculated. Whether that lasts is another question.

Democrats Split as Senate Rejects Bills to Block Weapons Transfers to Israel

The legislation failed resoundingly but highlighted a growing Democratic divide over whether the United States should withhold some weapons to register its disapproval of Israel’s war tactics.

U.S. Casts Sole Vote Against Gaza Cease-Fire Resolution

The U.S. veto at the U.N. came as the Biden administration’s envoy in Lebanon reported “additional progress” on cease-fire talks in the war between Israel and Hezbollah.

Who’s Laughing Now? Banana-as-Art Sells for $6.2 Million at Sotheby’s

A conceptual artwork by Maurizio Cattelan, “Comedian,” is just a fruit-stand banana taped on the wall. But 7 bidders were biting. It went to a crypto entrepreneur.

US Charges Gautam Adani With Fraud Over Bribery Scheme

Gautam Adani and his associates were accused of paying more than $250 million in bribes to obtain lucrative solar energy contracts.

Rudy Giuliani’s New Lawyer Takes His Case to the Streets

Mr. Giuliani has not turned over his apartment and other items to two women he defamed. His new counsel, a Staten Island divorce lawyer, held a sidewalk news conference.

Robert Lighthizer Is One Person Trump Needs in His Administration

Robert Lighthizer has championed plans to revive American industry and transform the global economy.

Trump’s Victory Feels Like a Diagnosis

With Trump’s return, we are all about to find out how vulnerable we really are.

The Bathrooms of the Capitol Are Now Unsafe Spaces

Republicans are exploiting juvenile gossip and unfounded fears of sexual violence.

How Democrats Can Regain the Upper Hand

Are there ways to bring the left and the center together without sacrificing either?

Percival Everett, Author of ‘James,’ Wins National Book Award for Fiction

Jason De León received the nonfiction award for “Soldiers and Kings: Survival and Hope in the World of Human Smuggling.”

Nvidia’s Profit Doubles as A.I. Chip Sales Soar

The company, which dominates the market for chips used to build artificial intelligence, expects another big jump in the current quarter.

Urologist Who Sexually Abused Patients Is Sentenced to Life in Prison

Darius A. Paduch, a fertility specialist, assaulted men and boys for years at prominent New York hospitals, prosecutors said.

Accusations of “Race-Shifting” Prompt Canadian Cabinet Minister to Resign

Randy Boissonnault, who resigned as employment minister, had long described himself as the great-grandson of a Cree woman, but now acknowledges he was wrong about his family’s ancestry.

The Artist, the Gallerist and Their Liver

Far from the dizzying auctions, splashy galas and angling dealers, a precious gift sheds light on a gentler way the art world works.

RSS Feed Updated : 2024-11-21 06:14 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


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.

La Paradoja del Huerto de Calabazas

La “Paradoja del Huerto de Calabazas”—la producción de calabazas es afectada por un clima más cálido.

Pumpkin Patch Paradox

The “Pumpkin Patch Paradox”—production of pumpkins is affected by a warmer climate.

Assessing the U.S. and Global Climate in September 2024

During September, the global surface temperature was 2.23°F (1.24°C) above the 20th-century average. The September average temperature of the contiguous U.S. was 68.6°F, 3.8°F above average.

Update on Hurricane Helene’s Impacts to NCEI

Helene’s impacts to NCEI headquarters in Asheville, NC continue, but services are being restored and many systems are beginning to come back online.

Helene Devastates Southeast, Impacts NOAA NCEI Headquarters

NCEI headquarters in Asheville, NC, has been severely impacted by Hurricane Helene. All of our employees and staff have been accounted for with all data holdings–including paper and film records–safe.

September 2024 Regional Climate Impacts and Outlooks

The September 2024 three-month summaries of climate impacts and outlooks are now available for 13 regions and sub-regions.

RSS Feed Updated : 2024-11-21 06:21 AM