A photo of Geoffrey Hayward

Serving Static Assets from Bloomreach CMS

Published June 19, 2019

An abstract illustration, featuring a stylized file icons with a mini hippo design prominently displayed.

Serving a static files with Bloomreach (formally known as Hippo CMS), such as BingVerify.xml, is not as simple as dropping it in the webapp folder. However, with a little extra configuration Bloomreach CMS will serve the file.

First add the static file in webapp. In my case example site/src/main/webapp/BingSiteAuth.xml. Then update hts:default in sitemap.ymal akin to the following.

/hst:hst/hst:configurations/hst:default/hst:sitemap:
 /BingSiteAuth.xml:
   hst:authenticated: false
   hst:containerresource: true
   jcr:primaryType: hst:sitemapitem

After rebuilding the project, the static file BingSiteAuth.xml will be served by Bloomreach CMS.

Latest Posts

And abstract image of programming code surrounded by a light bulb.

Notes on Successfully Running Ubuntu in VirtualBox

January 26, 2024

As a Software Developer who likes to use Ubuntu for Development but can sometimes only run it as just another window in Windows, I would like to share some nuanced VirtualBox configurations I built up over the years.

Continue reading
And abstract image of programming code surrounded by a light bulb.

Setting Default Values in GitHub Actions Workflows

October 20, 2023

GitHub Actions is a powerful platform for automating workflows and tasks in your software development process. When creating workflows, you often need to set default values for variables or parameters, especially when certain values are not always going to be provided. In this blog post, let’s explore two techniques to set default values in GitHub Actions workflows, including a handy ! contains() approach and the double pipe || hack. We’ll also discuss the potential limitations of the double pipe hack.

Continue reading
A post style illustration of a slack slash command that shows an Octocat

Triggering a GitHub Actions Workflow with a Slack Slash Command

May 10, 2021

In this post I am going to show how you can trigger a GitHub Actions workflow with a Slack Slash command.

Continue reading