Is there a way to add more than one gsub to a feed? And how about eliminating the () that remains?
Feed Informer Support
1) You can nest them. <gsub><gsub><gsub></gsub></gsub></gsub> etc..
2) In theory you can just add those () to the replace pattern.. there shouldn't be any remnants, but I am willing to look at your specific digest if you are having problems.
Note that when you nest them, you also need to close each of them. That's why it currently is broken for you. Currently you have it as:
<gsub from="subscription" to=""><gsub from="press release" to="">%TITLE%</gsub>
but you need another </gsub> on the end to stop both gsubs :)
Also.. does this work?
<gsub from="(press release)" to="">%TITLE%</gsub>
If not, I might have to look into that. Sometimes brackets can be an annoyance. As a temporary measure also try:
<gsub from="\(press release\)" to="">%TITLE%</gsub>
That may work instead.
I notice you seem to have resolved the issue, so I am closing this thread :)Posted 11 years ago #
This topic has been closed to new replies.