Concatenate title elements

Hi,

is it somehow possible to concatenate multiple elements to one feed title similar to what is possible for feed bodies?
I tried //[@id=“c70”]/div/h1 | //[@id=“c70”]/div/h2 and //[@id=“c70”]/div/[self::h1 or self::h2] but unfortunately neither worked.

Thanks a lot!

Hi Tristan, sorry for the late reply. You should be able to achieve this using XPath’s concat function:

title: concat(//…, //…, //…)

See https://stackoverflow.com/questions/21996965/concatenate-multiple-node-values-in-xpath

Let us know if you have any trouble with it.

Hi Keyvan,

works perfectly.

Thank you!

Tristan Hager