Example - RSS Feed

RSS for third party content

Concrete5 already has an RSS block, but its a bit tired and inflexible. If you want to do more with an RSS feed you either need to get coding for a block template and possibly a controller override, or you can explore the possibilities with Universal Content Puller.

As an RSS feed will be external to the site, the Content Source  to use will again be URL

Basic feed

To investigate the possibilities, we need an RSS feed. NASA is a good source. From those available, the example here uses Breaking News at https://www.nasa.gov/rss/dyn/breaking_news.rss.

The Multi Selector Content Transform can pick out items from XML data.

  • Source content type - XML / XHTML
  • Container css selector - channel
  • Level 1 - item
  • Level 2 - [blank] (for all children) + Return text with attributes, url src type title alt

For display, The Multi Level List Content Display has the flexibility to display the pulled RSS in many ways.

  • Level 1 - Paragraphs + First child value
  • Level 2 - Definition List, horizontal + Capitalised keys + Filter 1 Title Source Enclosure Type Guid Dc:identifier, Source Url, Dc:creator, content:encoded

The filters are to remove elements pulled from the XML that would clutter our display. Definition List, horizontal is a good list type as it shows all the headings (keys), so can help identify what to add to the filter.

Make frequent use of the Preview button to review the incoming data to the transform and display.

As the RSS feed can be long, its an ideal place to explore the pagination capabilities of UCP. Here the pagination is set very low so we don't fill too much of this page.

  • Outer list items to display - 2
  • Paginate - Below
  • Include block identity in pagination - No

By leaving out the block identity in the pagination, all variations of the RSS feed shown on this page will paginate together!

In the Advanced tab, the main settings we need are the Advanced Autolinker and to Render Image URLs as Images. An important point here is that the settings don't change the file size of images, just the maximum size they are displayed.

ARMD Solicitations

Pubdate
Fri, 29 Mar 2024 08:00:00 +0000
Category
Aeronautics
Category 2
Aeronautics Research Mission Directorate
Description
This ARMD solicitations page compiles the opportunities to collaborate with NASA’s aeronautical innovators and/or contribute to their research to enable new and improved air transportation systems. A summary of available opportunities with key dates requiring action are listed first. More information about each opportunity is detailed lower on this page. AAVP FellowshipKey date: April 30, […]

I Am Artemis: Mat Bevill

Pubdate
Thu, 28 Mar 2024 21:05:09 +0000
Category
Artemis
Category 2
Artemis 2
Category 3
Humans in Space
Category 4
I Am Artemis
Category 5
Marshall Space Flight Center
Category 6
Space Launch System (SLS)
Description
Significant events in history keep finding Mat Bevill. As the associate chief engineer for NASA’s SLS (Space Launch System) Program, Bevill assists the program chief engineer by interfacing with each of the element chief engineers and helping make critical decisions for the development and flight of the SLS mega rocket that will power NASA’s Artemis […]

View settings

Getting the items in order

By default, the various elements are shown in the sequence they are declared in the XML of the RSS feed. That can be changed by entering a Shuffle sequence for the second list level.

The version below has a Shuffle set to Pubdate, Description, Enclosure Url, Link.

ARMD Solicitations

Pubdate
Fri, 29 Mar 2024 08:00:00 +0000
Description
This ARMD solicitations page compiles the opportunities to collaborate with NASA’s aeronautical innovators and/or contribute to their research to enable new and improved air transportation systems. A summary of available opportunities with key dates requiring action are listed first. More information about each opportunity is detailed lower on this page. AAVP FellowshipKey date: April 30, […]
Category
Aeronautics
Category 2
Aeronautics Research Mission Directorate

I Am Artemis: Mat Bevill

Pubdate
Thu, 28 Mar 2024 21:05:09 +0000
Description
Significant events in history keep finding Mat Bevill. As the associate chief engineer for NASA’s SLS (Space Launch System) Program, Bevill assists the program chief engineer by interfacing with each of the element chief engineers and helping make critical decisions for the development and flight of the SLS mega rocket that will power NASA’s Artemis […]
Category
Artemis
Category 2
Artemis 2
Category 3
Humans in Space
Category 4
I Am Artemis
Category 5
Marshall Space Flight Center
Category 6
Space Launch System (SLS)

View settings

Removing the titles

For a variation, the Level 2 list type can be set to Paragraphs + none.

As a side effect, the Level 2 items no longer have headings, so they can only be filtered and shuffled by number. Hence an intermediary step is to set Paragraphs + Number 1,2,3 to see the numbers of the items. Then make a note of the numbers to filter, below these are 1 2 3 5 8 9 10, then change to Paragraphs + none for the finished list.

Having filtered, the numbers for shuffling are reset to a contguous 1,2,3... Here we need to actually count from the start of our filtered numbers. The publication date is the 4th item and the rest are already in the sequence we want, so simply setting Shuffle to 4 will achieve the desired effect.

ARMD Solicitations

Fri, 29 Mar 2024 08:00:00 +0000

Aeronautics Research Mission Directorate

www.nasa.gov/

I Am Artemis: Mat Bevill

www.nasa.gov/&p=638493

Thu, 28 Mar 2024 21:05:09 +0000

Artemis 2

Humans in Space

Significant events in history keep finding Mat Bevill. As the associate chief engineer for NASA’s SLS (Space Launch System) Program, Bevill assists the program chief engineer by interfacing with each of the element chief engineers and helping make critical decisions for the development and flight of the SLS mega rocket that will power NASA’s Artemis […]

Mat Bevill, the associate chief engineer for NASA’s SLS (Space Launch System) Program, plays a crucial role in the development and flight of the SLS mega rocket. His NASA journey started as an intern, led him to have hands-on experience with solid rocket boosters, and landed him in the position of supporting the SLS Chief Engineer’s Office.
Mat Bevill, the associate chief engineer for NASA’s SLS (Space Launch System) Program, stands in front of a four-segment solid rocket booster that powered the space shuttle at NASA’s Marshall Space Flight Center in Huntsville, Alabama. 
NASA/Brandon Hancock

Significant events in history keep finding Mat Bevill. As the associate chief engineer for NASA’s SLS (Space Launch System) Program, Bevill assists the program chief engineer by interfacing with each of the element chief engineers and helping make critical decisions for the development and flight of the SLS mega rocket that will power NASA’s Artemis campaign. With the launch of Artemis II, the first crewed test flight of SLS and the Orion spacecraft, Bevill’s technical leadership and support for the SLS Chief Engineer’s Office will place him, once again, at a notable moment in time.

“Think of me as the assistant coach. While the head coach is on the front line leading the team, I’m on the sidelines providing feedback and advising those efforts,” said Bevill. As a jack-of-all-trades, he enables progress in any way that he can, something he’s familiar with after 37 years with NASA. And, on Nov. 16, 2022, as the SLS rocket roared to life for the first time with the Artemis I test flight, Bevill couldn’t help but reflect on a lifetime of experiences and lessons that led to that moment.

Bevill began his NASA career while he was still attending the University of Tennessee at Chattanooga. During his sophomore year as a mechanical engineer student, he applied for the agency’s internship program at NASA’s Marshall Space Flight Center in Huntsville, Alabama.

Just a few months before Bevill began his journey with NASA, the Challenger accident occurred, taking the lives of all seven crewmembers in January 1986. Bevill joined the Solid Motor Branch at Marshall as teams across the agency worked to understand the cause of the accident. It was a fast-paced environment, and Bevill had to learn quickly about the solid rocket boosters.

“It was a surreal experience, but I was privileged to work with those people. We were figuring out tough lessons together and working toward a common goal,” Bevill recalls.

Those tough lessons provided Bevill with tremendous hands-on experience related to the solid rocket booster hardware that would not only shape his career, but, later, the SLS rocket. The five-segment solid rocket boosters that provide more than 75% of thrust for SLS to go to the Moon are based on the same four-segment design that powered 135 shuttle missions to low Earth orbit. His experience from his time with the shuttle led him to deputy chief engineer for the SLS Boosters Office.

Just as for Artemis I, Bevill will be standing by and serving as the “assistant coach” for Artemis II as the SLS rocket, once again, takes flight and sends the first crewed Artemis mission around the Moon. “SLS has been the crowning jewel of my career, and I consider myself blessed to be a part of NASA’s history,” Bevill said.

SLS is part of NASA’s backbone for deep space exploration, along with the Orion spacecraft, advanced spacesuits and rovers, the Gateway in orbit around the Moon, and commercial human landing systems. SLS is the only rocket that can send Orion, astronauts, and supplies to the Moon in a single launch.

View settings

Adding Style

We now have a few options for a readable RSS feed where we have complete control over what data is presented and the sequence it is shown.

Now we want to add a bit of style. Each item in the UCP list is assigned classes based on heading and position in the list, so styles could be added to the theme, or (slightly naughty) declared in an HTML block, or placed in a Header Extra Content attribute as we have done here. 

The styles can be localised to a specific UCP block by adding a unique wrapper class in the Advanced tab of the edit dialog. In this case example-styled.

[code]<style>
.ucp-body.example-styled .ucp-item-2-1{
    font-size:80%;
    font-style:italic;
}
.ucp-body.example-styled h3{
    clear:both;
}
</style>[/code]

ARMD Solicitations

Fri, 29 Mar 2024 08:00:00 +0000

Aeronautics Research Mission Directorate

www.nasa.gov/

I Am Artemis: Mat Bevill

Thu, 28 Mar 2024 21:05:09 +0000

Artemis 2

Humans in Space

www.nasa.gov/&p=638493

Significant events in history keep finding Mat Bevill. As the associate chief engineer for NASA’s SLS (Space Launch System) Program, Bevill assists the program chief engineer by interfacing with each of the element chief engineers and helping make critical decisions for the development and flight of the SLS mega rocket that will power NASA’s Artemis […]

Mat Bevill, the associate chief engineer for NASA’s SLS (Space Launch System) Program, plays a crucial role in the development and flight of the SLS mega rocket. His NASA journey started as an intern, led him to have hands-on experience with solid rocket boosters, and landed him in the position of supporting the SLS Chief Engineer’s Office.
Mat Bevill, the associate chief engineer for NASA’s SLS (Space Launch System) Program, stands in front of a four-segment solid rocket booster that powered the space shuttle at NASA’s Marshall Space Flight Center in Huntsville, Alabama. 
NASA/Brandon Hancock

Significant events in history keep finding Mat Bevill. As the associate chief engineer for NASA’s SLS (Space Launch System) Program, Bevill assists the program chief engineer by interfacing with each of the element chief engineers and helping make critical decisions for the development and flight of the SLS mega rocket that will power NASA’s Artemis campaign. With the launch of Artemis II, the first crewed test flight of SLS and the Orion spacecraft, Bevill’s technical leadership and support for the SLS Chief Engineer’s Office will place him, once again, at a notable moment in time.

“Think of me as the assistant coach. While the head coach is on the front line leading the team, I’m on the sidelines providing feedback and advising those efforts,” said Bevill. As a jack-of-all-trades, he enables progress in any way that he can, something he’s familiar with after 37 years with NASA. And, on Nov. 16, 2022, as the SLS rocket roared to life for the first time with the Artemis I test flight, Bevill couldn’t help but reflect on a lifetime of experiences and lessons that led to that moment.

Bevill began his NASA career while he was still attending the University of Tennessee at Chattanooga. During his sophomore year as a mechanical engineer student, he applied for the agency’s internship program at NASA’s Marshall Space Flight Center in Huntsville, Alabama.

Just a few months before Bevill began his journey with NASA, the Challenger accident occurred, taking the lives of all seven crewmembers in January 1986. Bevill joined the Solid Motor Branch at Marshall as teams across the agency worked to understand the cause of the accident. It was a fast-paced environment, and Bevill had to learn quickly about the solid rocket boosters.

“It was a surreal experience, but I was privileged to work with those people. We were figuring out tough lessons together and working toward a common goal,” Bevill recalls.

Those tough lessons provided Bevill with tremendous hands-on experience related to the solid rocket booster hardware that would not only shape his career, but, later, the SLS rocket. The five-segment solid rocket boosters that provide more than 75% of thrust for SLS to go to the Moon are based on the same four-segment design that powered 135 shuttle missions to low Earth orbit. His experience from his time with the shuttle led him to deputy chief engineer for the SLS Boosters Office.

Just as for Artemis I, Bevill will be standing by and serving as the “assistant coach” for Artemis II as the SLS rocket, once again, takes flight and sends the first crewed Artemis mission around the Moon. “SLS has been the crowning jewel of my career, and I consider myself blessed to be a part of NASA’s history,” Bevill said.

SLS is part of NASA’s backbone for deep space exploration, along with the Orion spacecraft, advanced spacesuits and rovers, the Gateway in orbit around the Moon, and commercial human landing systems. SLS is the only rocket that can send Orion, astronauts, and supplies to the Moon in a single launch.

View settings

Expandable lists

With v9.3.1, Universal Content Puller introduced an expandable list option to the Multi Level List content display.

Our next version of the NASA RSS feed is similar to the above, but with expanders enabled on the item headings. A couple more changes were required, to configure the use <div> elements for the level 1 item bodies rather than <p> elements. 

ARMD Solicitations

Fri, 29 Mar 2024 08:00:00 +0000

Aeronautics Research Mission Directorate

www.nasa.gov/

I Am Artemis: Mat Bevill

Thu, 28 Mar 2024 21:05:09 +0000

Artemis 2

Humans in Space

www.nasa.gov/&p=638493

Significant events in history keep finding Mat Bevill. As the associate chief engineer for NASA’s SLS (Space Launch System) Program, Bevill assists the program chief engineer by interfacing with each of the element chief engineers and helping make critical decisions for the development and flight of the SLS mega rocket that will power NASA’s Artemis […]

Mat Bevill, the associate chief engineer for NASA’s SLS (Space Launch System) Program, plays a crucial role in the development and flight of the SLS mega rocket. His NASA journey started as an intern, led him to have hands-on experience with solid rocket boosters, and landed him in the position of supporting the SLS Chief Engineer’s Office.
Mat Bevill, the associate chief engineer for NASA’s SLS (Space Launch System) Program, stands in front of a four-segment solid rocket booster that powered the space shuttle at NASA’s Marshall Space Flight Center in Huntsville, Alabama. 
NASA/Brandon Hancock

Significant events in history keep finding Mat Bevill. As the associate chief engineer for NASA’s SLS (Space Launch System) Program, Bevill assists the program chief engineer by interfacing with each of the element chief engineers and helping make critical decisions for the development and flight of the SLS mega rocket that will power NASA’s Artemis campaign. With the launch of Artemis II, the first crewed test flight of SLS and the Orion spacecraft, Bevill’s technical leadership and support for the SLS Chief Engineer’s Office will place him, once again, at a notable moment in time.

“Think of me as the assistant coach. While the head coach is on the front line leading the team, I’m on the sidelines providing feedback and advising those efforts,” said Bevill. As a jack-of-all-trades, he enables progress in any way that he can, something he’s familiar with after 37 years with NASA. And, on Nov. 16, 2022, as the SLS rocket roared to life for the first time with the Artemis I test flight, Bevill couldn’t help but reflect on a lifetime of experiences and lessons that led to that moment.

Bevill began his NASA career while he was still attending the University of Tennessee at Chattanooga. During his sophomore year as a mechanical engineer student, he applied for the agency’s internship program at NASA’s Marshall Space Flight Center in Huntsville, Alabama.

Just a few months before Bevill began his journey with NASA, the Challenger accident occurred, taking the lives of all seven crewmembers in January 1986. Bevill joined the Solid Motor Branch at Marshall as teams across the agency worked to understand the cause of the accident. It was a fast-paced environment, and Bevill had to learn quickly about the solid rocket boosters.

“It was a surreal experience, but I was privileged to work with those people. We were figuring out tough lessons together and working toward a common goal,” Bevill recalls.

Those tough lessons provided Bevill with tremendous hands-on experience related to the solid rocket booster hardware that would not only shape his career, but, later, the SLS rocket. The five-segment solid rocket boosters that provide more than 75% of thrust for SLS to go to the Moon are based on the same four-segment design that powered 135 shuttle missions to low Earth orbit. His experience from his time with the shuttle led him to deputy chief engineer for the SLS Boosters Office.

Just as for Artemis I, Bevill will be standing by and serving as the “assistant coach” for Artemis II as the SLS rocket, once again, takes flight and sends the first crewed Artemis mission around the Moon. “SLS has been the crowning jewel of my career, and I consider myself blessed to be a part of NASA’s history,” Bevill said.

SLS is part of NASA’s backbone for deep space exploration, along with the Orion spacecraft, advanced spacesuits and rovers, the Gateway in orbit around the Moon, and commercial human landing systems. SLS is the only rocket that can send Orion, astronauts, and supplies to the Moon in a single launch.

View settings

Additional Pages

About this Sidebar

Creating a sidebar for a group of pages without messing about with stacks is an easy use-case for Universal Content Puller.

This sidebar is edited once, within the main addon page for Universal Content Puller.

It is then pulled into all UCP sub-pages using a UCP block.

The Content Source is Parent Page, set to pull the Sidebar area from 2 pages from the top. The Content Transform is Selector, set to remove container and row classes that, when unnecessarily nested, could mess up the Bootstrap grid. The Content Display is Plain, which just outputs the transformed text.

In the advanced settings, sanitization is disabled as we trust the source page and don't want to strip out any formatting or functionality from the pulled sidebar.