Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Merge and Manipulate IBM Domino Server Side Generated HTML in Express using cheerio

    expressExpress
    ^4.16.3

    This lesson will show how you can reuse Domino generated HTML inside an Express handlebars template.

    It might make more sense in some cases where you have complicated business logic which is producing HTML in Domino to reuse it without having to reconstruct it again using handlebars logic.

    Using the cheerio package we demonstrate modifying the Domino HTML so we can add the Domino host name to our images, as well as removing elements we no longer need.