<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Delete text string from incoming message]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Delete text string from incoming message of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Thu, 06 Dec 2018 13:37:09 +0200</lastBuildDateTag>		<item>
			<title>Delete text string from incoming message</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic13606/message46545/">Delete text string from incoming message</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			Thanks Daniel. <br />I thought it would be much easier. I submit this problem to Ritlabs support. <br />
			<i>06 December 2018 13:37:09, <a href="http://www.ritlabs.com/en/forums/">Mefisto</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic13606/message46545/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic13606/message46545/</guid>
			<pubDate>Thu, 06 Dec 2018 13:37:09 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>Delete text string from incoming message</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic13606/message46540/">Delete text string from incoming message</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_tO2XsD1X" href="/en/forums/" bx-tooltip-user-id="96512">Mefisto</a> wrote:<br />Is it possible to add in the filter the operation of deleting the search string from the message?<br />=============<br /><br />Not internally in The Bat, as far as I know.<br /><br />You can use filter actions to save the attachments (or the whole message) and then use an external action to edit the saved file, but I don't think there's a way to then replace the message.html attachment with the edited version...<br /><br />Maybe you could extract the attachments to a folder, then run an external action to edit the message.html there, then use the "Create a formatted message" filter action to create a duplicate of the original message (with attachments stripped), and use a macro in the formatted message to (re)attach the edited attachments. I've never tried anything like this and I'm not confident that it will work, but it might be worth a try.<br /><br />(to edit the html file externally, you could use a batch-capable text manipulation tool. You can probably find a suitable one in this review of such utilities: <noindex><a href="https://www.smashingmagazine.com/2009/04/25-text-batch-processing-tools-reviewed/" target="_blank" rel="nofollow">https://www.smashingmagazine.com/2009/04/25-text-batch-processing-tools-reviewed/</a></noindex> )<br /><br /><br />====quote====<br />After a small investigation, I discovered that the problem is the wrong HTML code in this messages.<br />This code is just before the footer. I would like to delete this piece from the original message using the filter.<br />=============<br /><br />Well, if it is a common problem, maybe you could submit this issue to Ritlabs and ask if they could work around it in their HTML renderer? That way we all benefit! <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_smile.gif" border="0" data-code=":-)" data-definition="SD" alt=":-)" style="width:16px;height:16px;" title="" class="bx-smile" /> <br />
			<i>06 December 2018 00:23:47, <a href="http://www.ritlabs.com/en/forums/">Daniel van Rooijen</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic13606/message46540/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic13606/message46540/</guid>
			<pubDate>Thu, 06 Dec 2018 00:23:47 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>Delete text string from incoming message</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic13606/message46539/">Delete text string from incoming message</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			Hi,<br />Is it possible to add in the filter the operation of deleting the search string from the message?<br />After the update from version 7.6 to 8.6, I have a messages (HTML) in which I do not see the content, only the footer.<br />After a small investigation, I discovered that the problem is the wrong HTML code in this messages.<br />This code is just before the footer. I would like to delete this piece from the original message using the filter.<br /><br />I know that there is a filter that has the condition &quot;Message source -&gt; contains&quot;.<br />But in the output operation there is no &quot;Delete that string&quot; option. It would be very useful <br />
			<i>05 December 2018 22:52:45, <a href="http://www.ritlabs.com/en/forums/">Mefisto</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic13606/message46539/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic13606/message46539/</guid>
			<pubDate>Wed, 05 Dec 2018 22:52:45 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
	</channel>
</rss>
