Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the syntax for a cover image to the xml #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions generate-rss.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const blogPostsRssXml = () => {

posts.forEach(({content, meta}) => {
const {title, description, date, slug} = meta;
const coverImageUrl = `https://vandebron.tech/${meta.coverImage}`;

const postDate = new Date(date).toISOString();

const postHref = `https://vandebron.tech/${slug}`;
Expand All @@ -33,7 +35,7 @@ const blogPostsRssXml = () => {
<pubDate>${postDate}</pubDate>
<guid isPermaLink="false">${postHref}</guid>
<description>
<![CDATA[${description}]]>
<![CDATA[<img src="${coverImageUrl}" alt="${title}"/>${description}]]>
</description>
<content:encoded>
<![CDATA[${md.render(content)}]]>
Expand All @@ -55,7 +57,7 @@ const getRssXml = () => {
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:atom="http://www.w3.org/2005/Atom"
version="2.0"
>
>
<channel>
<title><![CDATA[Vandebron Engineering & Data]]></title>
<link>https://vandebron.tech</link>
Expand Down
28 changes: 14 additions & 14 deletions public/rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:atom="http://www.w3.org/2005/Atom"
version="2.0"
>
>
<channel>
<title><![CDATA[Vandebron Engineering & Data]]></title>
<link>https://vandebron.tech</link>
Expand All @@ -20,7 +20,7 @@
<pubDate>2023-01-11T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/balancing-dutch-energy-grid-with-flex-services</guid>
<description>
<![CDATA[Our journey to find the best fitting hardware and operating system to use for our flex services]]>
<![CDATA[<img src="https://vandebron.tech/images/flex-wallpaper.webp" alt="How Vandebron helps balancing the Dutch energy grid together with OnLogic & Talos Linux"/>Our journey to find the best fitting hardware and operating system to use for our flex services]]>
</description>
<content:encoded>
<![CDATA[<p>Vandebron is a Dutch green-tech energy company on a mission to accelerate the transition to 100% renewable energy, 100% of the time. As part of <a href="https://vandebron.nl/100procentgroen">our mission and strategy</a>, we are constantly innovating and looking for ways to optimize energy operations and reduce negative impacts when it comes to energy production.</p>
Expand All @@ -44,7 +44,7 @@
<pubDate>2022-07-08T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/cicd-dagster-user-code</guid>
<description>
<![CDATA[If you frequently deploy new user code repositories in Dagster, you want to automate this process. However, this is not so straightforward as it may seem at first. This post explains what we did at Vandebron.]]>
<![CDATA[<img src="https://vandebron.tech/images/dagster-cicd.png" alt="The Why and How of Dagster User Code Deployment Automation"/>If you frequently deploy new user code repositories in Dagster, you want to automate this process. However, this is not so straightforward as it may seem at first. This post explains what we did at Vandebron.]]>
</description>
<content:encoded>
<![CDATA[<h3>TL;DR</h3>
Expand Down Expand Up @@ -128,7 +128,7 @@
<pubDate>2022-07-06T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/the-difference-between-a-component-library-and-a-design-system</guid>
<description>
<![CDATA[A while back we started a rather extensive project of migrating and unifying our component library, these are some of the learnings we made during the project.]]>
<![CDATA[<img src="https://vandebron.tech/images/WindmolenCover.jpg" alt="The difference between a component library and a design system, and how they can help bridge the gap between design and development"/>A while back we started a rather extensive project of migrating and unifying our component library, these are some of the learnings we made during the project.]]>
</description>
<content:encoded>
<![CDATA[<p><strong>A while back, our former technology manager Roy Derks covered the subject of component libraries here on the blog. From a technical perspective, he spoke about when you need one (and when you don’t need one) and what to consider when building one. Since then, obviously a lot has happened at Vandebron. But one of the more interesting things to happen is that design became an integrated part of the digital department, as opposed to previously being attached to marketing. In this new setup, one of the first major projects the design team was involved in was the alignment of our component libraries. And no that’s not a typo, that’s libraries as in the plural form of library. Confusing? I thought so too. In this blog I’ll try to explain further why that was the case, how the work actually helped us bridge the gap between design and development, and dissect the work of unifying those component libraries into one single source of truth and ultimately what’s to become our design system.</strong></p>
Expand Down Expand Up @@ -185,7 +185,7 @@
<pubDate>2021-06-28T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/how-to-sign-soap-messages</guid>
<description>
<![CDATA[This blogpost will explain with code examples how we at Vandebron are signing and verifying SOAP messages for our latest SOAP client implementation.]]>
<![CDATA[<img src="https://vandebron.tech/images/soap.jpg" alt="Signing and verifying SOAP messages with wss4j and Scala"/>This blogpost will explain with code examples how we at Vandebron are signing and verifying SOAP messages for our latest SOAP client implementation.]]>
</description>
<content:encoded>
<![CDATA[<h1>Signing and verfiying SOAP messages with wss4j and Scala</h1>
Expand Down Expand Up @@ -503,7 +503,7 @@ class SigningService(signingCertificate: SigningCertificate, trustedCertificates
<pubDate>2021-04-05T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/looking-back-at-vandebron-greentech-hackathon-2021</guid>
<description>
<![CDATA[At the end of March, we organized a public hackathon to create solutions to tackle climate challenges. After having done internal hackathons, we thought it was time to share our technologies with other innovative people and companies.]]>
<![CDATA[<img src="https://vandebron.tech/images/looking-back-at-vandebron-greentech-hackathon-2021.png" alt="Looking back at the Vandebron GreenTech Hackathon 2021"/>At the end of March, we organized a public hackathon to create solutions to tackle climate challenges. After having done internal hackathons, we thought it was time to share our technologies with other innovative people and companies.]]>
</description>
<content:encoded>
<![CDATA[<p>At the end of March, we organized a public hackathon to create solutions to tackle climate challenges. After having done internal hackathons, we thought it was time to share our technologies with other innovative people and companies. Together with a group of partners, and enthusiastic participants, spend three full days of (remote) hacking with great results.</p>
Expand All @@ -525,7 +525,7 @@ class SigningService(signingCertificate: SigningCertificate, trustedCertificates
<pubDate>2021-03-19T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/power-regular-hackathons</guid>
<description>
<![CDATA[At Vandebron we have been organizing a regular hackathon for the last four years. Every three months we organize a two-day event. At first glance this seems quite an investment. Eight days a year, almost losing two working-weeks of productivity for your teams!]]>
<![CDATA[<img src="https://vandebron.tech/images/power-regular-hackathons.png" alt="The power of regular hackathons"/>At Vandebron we have been organizing a regular hackathon for the last four years. Every three months we organize a two-day event. At first glance this seems quite an investment. Eight days a year, almost losing two working-weeks of productivity for your teams!]]>
</description>
<content:encoded>
<![CDATA[<p>At Vandebron we have been organizing a regular hackathon for the last four years. Every three months we organize a two-day event. At first glance this seems quite an investment. Eight days a year, almost losing two working-weeks of productivity for your teams!</p>
Expand Down Expand Up @@ -557,7 +557,7 @@ class SigningService(signingCertificate: SigningCertificate, trustedCertificates
<pubDate>2021-03-05T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/migrating-dcos-kubernetes-l4lb</guid>
<description>
<![CDATA[When you want minimal downtime, you need to build your own tools]]>
<![CDATA[<img src="https://vandebron.tech/images/migrating-dcos-kubernetes-l4lb.jpg" alt="Migrating from DCOS to Kubernetes, dealing with the l4lb loadbalancer"/>When you want minimal downtime, you need to build your own tools]]>
</description>
<content:encoded>
<![CDATA[<p>In October 2020 D2IQ <a href="https://d2iq.com/blog/d2iq-takes-the-next-step-forward">announced</a> that they are moving onwards with their Kubernetes offering. Vandebron has been a D2IQ customer for their DCOS offering, we were just in the middle of a migration of our first workloads to DCOS Enterprise. We have evaluated the D2IQ K8s offering and decided to go for another Kubernetes product. We had a few migrations over the years, we migrated from Azure to AWS, we migrated workloads from normal instances to spot instances and all these migrations were done with nearly any downtime. We plan to reduce the downtime to a couple of minutes this migration and this is a real challenge. The first challenge that we will discuss today: We want to pair our Kubernetes clusters to the DCOS/Mesos clusters, while we move a workload it should be able to connect to its dependencies in the DCOS cluster. We use DCOS for our NoSQL databases like Cassandra, internal data that we want to keep internal. Pairing DCOS and Kubernetes clusters enable us to reduce downtime, enabling us to switch back if we run into issues and move faster because it reduces complexity.</p>
Expand Down Expand Up @@ -884,7 +884,7 @@ env GOOS=${GOOS} GOARCH=${GOARCH} go build -v -ldflags &quot;-X main.gitCommit=$
<pubDate>2021-02-05T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/cypress-component-design-technique-for-react-applications</guid>
<description>
<![CDATA[Cypress is a game-changer in the automation testing world, the way that Cypress was built and its architecture allows us as testers to cover more scenarios.]]>
<![CDATA[<img src="https://vandebron.tech/images/cypress-component-design-technique-for-react-applications.png" alt="Cypress.io Component Design Technique for React Applications"/>Cypress is a game-changer in the automation testing world, the way that Cypress was built and its architecture allows us as testers to cover more scenarios.]]>
</description>
<content:encoded>
<![CDATA[<p>Cypress is a game-changer in the automation testing world, the way that Cypress was built and its architecture allows us as testers to cover more scenarios.</p>
Expand Down Expand Up @@ -974,7 +974,7 @@ describe(&quot;Test Login Page&quot;, () =&gt; {
<pubDate>2021-01-25T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/spin-up-kubernetes-on-macbook</guid>
<description>
<![CDATA[It is can be useful to create a disposable Kubernetes sandbox to play with when you are exploring a new application and how it could work.]]>
<![CDATA[<img src="https://vandebron.tech/images/spin-up-kubernetes-on-macbook.jpg" alt="How to Spin Up A Kubernetes Cluster On Your Macbook"/>It is can be useful to create a disposable Kubernetes sandbox to play with when you are exploring a new application and how it could work.]]>
</description>
<content:encoded>
<![CDATA[<p>In Vandebron we have been using container clusters to host our services since the foundation of our Big Data team.
Expand Down Expand Up @@ -1053,7 +1053,7 @@ Both of these tools have to be installed and run from your local laptop, either
<pubDate>2020-12-10T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/optimizing-converting-and-exporting-svg-icons-in-react</guid>
<description>
<![CDATA[If you've ever build a component library, you probably dealt with optimizing and converting icons before. With SVGO and SVGR you can do this at scale.]]>
<![CDATA[<img src="https://vandebron.tech/images/optimizing-converting-and-exporting-svg-icons-in-react.jpg" alt="Optimizing, Converting And Exporting SVG Icons In React"/>If you've ever build a component library, you probably dealt with optimizing and converting icons before. With SVGO and SVGR you can do this at scale.]]>
</description>
<content:encoded>
<![CDATA[<p>At Vandebron we're maintaining a component library called <a href="https://windmolen.netlify.app/">Windmolen</a> (Dutch for &quot;wind turbine&quot;). And if you've ever built a component library, you probably dealt with optimizing and converting icons before. With SVGO and SVGR you can do this at scale, without compromising the quality or size of your icons.</p>
Expand Down Expand Up @@ -1207,7 +1207,7 @@ export default MyComponent;
<pubDate>2020-11-04T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/fueling-the-energy-transition-with-spark-part-1</guid>
<description>
<![CDATA[Our main backend language is Scala, and by using Spark we build distributed parallel algorithms to fuel the Energy Transition. But why is Spark the best choice for that job?]]>
<![CDATA[<img src="https://vandebron.tech/images/fueling-the-energy-transition-with-spark-part-1.jpg" alt="Fueling the Energy Transition With Spark - Part 1"/>Our main backend language is Scala, and by using Spark we build distributed parallel algorithms to fuel the Energy Transition. But why is Spark the best choice for that job?]]>
</description>
<content:encoded>
<![CDATA[<p>Here at Vandebron, we have several projects which need to compute large amounts of data. To achieve acceptable results, we had to choose a computing tool that should have helped us to build such algorithms.</p>
Expand Down Expand Up @@ -1309,7 +1309,7 @@ x =&gt; rdd2.values.count() * x //This will NEVER work!!!!
<pubDate>2020-10-06T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/building-native-images-and-compiling-with-graalvm-and-sbt</guid>
<description>
<![CDATA[At Vandebron we organized a two-day long Hackathon, a colleague and I took the chance to dig into the wonderful world of GraalVM.]]>
<![CDATA[<img src="https://vandebron.tech/images/building-native-images-and-compiling-with-graalvm-and-sbt.jpg" alt="Building native images and compiling with GraalVM and sbt"/>At Vandebron we organized a two-day long Hackathon, a colleague and I took the chance to dig into the wonderful world of GraalVM.]]>
</description>
<content:encoded>
<![CDATA[<p>At Vandebron we organize a two-day long Hackathon every quarter, and a colleague and I took this chance to dig into the wonderful world of GraalVM.</p>
Expand Down Expand Up @@ -1626,7 +1626,7 @@ Christian Wimmer</li>
<pubDate>2020-10-05T00:00:00.000Z</pubDate>
<guid isPermaLink="false">https://vandebron.tech/blog/when-not-to-build-a-reusable-component-library</guid>
<description>
<![CDATA[You can find much information on why a reusable component library is a good investment, but most articles don't state the (obvious) disadvantages..]]>
<![CDATA[<img src="https://vandebron.tech/images/when-not-to-build-a-reusable-component-library.jpg" alt="When (Not) To Build A Reusable Component Library"/>You can find much information on why a reusable component library is a good investment, but most articles don't state the (obvious) disadvantages..]]>
</description>
<content:encoded>
<![CDATA[<p>Two months ago, I started my journey at Vandebron. One of the projects I first dove into was their efforts to build a <a href="https://windmolen.netlify.app/">component library</a>. Something I was already familiar with from previous companies I worked at.</p>
Expand Down
1 change: 1 addition & 0 deletions tech-blog
Submodule tech-blog added at d3509f
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@
resolved "https://registry.yarnpkg.com/@types/warning/-/warning-3.0.0.tgz#0d2501268ad8f9962b740d387c4654f5f8e23e52"
integrity sha512-t/Tvs5qR47OLOr+4E9ckN8AmP2Tf16gWq+/qA4iUGS/OOyHVO8wv2vjJuX8SNOUTJyWb+2t7wJm6cXILFnOROA==

"@vandebron/windmolen@17.10.1":
version "17.10.1"
resolved "https://registry.yarnpkg.com/@vandebron/windmolen/-/windmolen-17.10.1.tgz#6f7d5c75b97fe7b18754dd3bd9122b1956051135"
integrity sha512-isFrHrP1eO5JRlItlOxUh1ougWqZgdMPWUsdTREsxrvbKXRSIj75aMwCIRkGoMnvR3ScgNbvJ35/2FmuG+eVuw==
"@vandebron/windmolen@^15.28.1-alpha.1":
version "15.38.0"
resolved "https://registry.yarnpkg.com/@vandebron/windmolen/-/windmolen-15.38.0.tgz#ca738289c7a00b8b32a305fe30db950476d5f9c4"
integrity sha512-HaHImMPPglqTWwpRwd3F7Iz6SdctN2cPx57JiBavEKWYWWKDhws+XeZyZoHQjI3QST4CLc57HVxAOLniWrgfvg==
dependencies:
bootstrap "^4.6.1"
es-abstract "^1.17.6"
Expand Down