<?xml version="1.0" encoding="windows-1251"?>

  <title>Email Parser</title>
  <tagline>http://tweakmarketing.com/blog/emp_blog/</tagline>
  <id>tag:tweakmarketing.com,2010-09-09:3</id>
  <link rel="alternate" type="text/html" href="http://tweakmarketing.com/blog/emp_blog/" />
  <copyright>Copyright (c) http://tweakmarketing.com/blog/emp_blog/</copyright>
  <modified>2010-09-09T21:31:04+02:00</modified>

<entry>
  <title type="text/html"><![CDATA[Try/Catch in Advanced Email Parser]]></title>
  <link rel="alternate" type="text/html" href="http://tweakmarketing.com/blog/emp_blog/8.php"/>
  <issued>2009-12-29T15:58:55+01:00</issued>
  <modified>2010-09-09T21:31:04+02:00</modified>
  <id>tag:tweakmarketing.com,2010-09-09:3/8</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://tweakmarketing.com/blog/emp_blog/">
<![CDATA[                         Try ... Catch scheme can be realized in AEP using 'result condition' component.<br><br>There is a simple scheme, that describe how to use it:<br><br><img src="http://tweakmarketing.com/upload/blog/c35//try_catch_scheme.gif" width="458" height="184" title="" border="0"><br><br><b>Result condition</b><br>Allows to execute selected operations set depending on the previous processing components result.<br><br><img src="http://tweakmarketing.com/upload/blog/f29//set_result_condition.gif" width="379" height="452" title="" border="0"> <br><br><b>Safe / Try</b><br>A processing component can terminate processing if an error occurs. To enable this function, check the Safe box in the component context menu.<br><br><img src="http://tweakmarketing.com/upload/blog/354//make_try_menu.gif" width="171" height="213" title="" border="0"><br><br><b>How it works?</b><br><br>As you can see - component 'Line parser (email_address_from_text)' marked as safe. That means - if this parser fails (required results not found in line), then all components below will be skipped until 'Result Condition' components is met.<br><br>If rule does not contains 'Result condition' component, then rule execution fails.<br><br>All components that follow at 'Result condition' component will be executed, of course. So, you have to insert 'Stopper' component in 'Result condition' block, if you want to terminate rule execution.                         ]]>
  </content>
  <link rel="related" type="text/html" href="http://tweakmarketing.com/blog/emp_blog/8.php" title="Try/Catch in Advanced Email Parser"/>
  <author>
    <name>TweakMarketing</name>
    <url>http://tweakmarketing.com/user/1.php</url>
  </author>
</entry>

<entry>
  <title type="text/html"><![CDATA[XE.COM Currency Exchange Rate parser]]></title>
  <link rel="alternate" type="text/html" href="http://tweakmarketing.com/blog/emp_blog/7.php"/>
  <issued>2007-06-22T10:13:53+02:00</issued>
  <modified>2010-09-09T21:31:04+02:00</modified>
  <id>tag:tweakmarketing.com,2010-09-09:3/7</id>
  <content type="text/html" mode="escaped" xml:lang="en" xml:base="http://tweakmarketing.com/blog/emp_blog/">
<![CDATA[                         There is a simple rule to parse daily reports containing currency exchange rate from following resource: <a href='http://www.xe.com' target='_blank'>http://www.xe.com</a>. As result you'll get a CSV file that can be imported to MS Excel.<br><br><br><b>About XE</b><br>Founded in 1993, originally known as &quot;Xenon Laboratories&quot;. Early in 1995, XE launched their flagship service, the <a href='http://www.xe.com/index.php?ref=ucc' target='_blank'>Universal Currency Converter®</a> -- creating one of the web's very first useful dynamic sites.<br><br><br><b><img src='http://www.tweakmarketing.com/bitrix/templates/.default/blog/images/message_edit/link.gif' border='0' alt=''> <a href='http://www.tweakmarketing.com/download/CurrencyRateParser.txt' target='_blank'>Download Currency Exchange Parser rule</a></b>                         ]]>
  </content>
  <link rel="related" type="text/html" href="http://tweakmarketing.com/blog/emp_blog/7.php" title="XE.COM Currency Exchange Rate parser"/>
  <author>
    <name>TweakMarketing</name>
    <url>http://tweakmarketing.com/user/1.php</url>
  </author>
</entry>



</feed>