<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alex Antaniuk on Medium]]></title>
        <description><![CDATA[Stories by Alex Antaniuk on Medium]]></description>
        <link>https://medium.com/@alexantaniuk?source=rss-375c9e92bddb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9dx0TLpZ_MtUcSFBgr7J1w.jpeg</url>
            <title>Stories by Alex Antaniuk on Medium</title>
            <link>https://medium.com/@alexantaniuk?source=rss-375c9e92bddb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 02:38:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alexantaniuk/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Как переехать из Беларуси в Нидерланды — Часть 1]]></title>
            <link>https://medium.com/@alexantaniuk/how-to-relocate-from-belarus-to-the-netherlands-part-1-7130ced4b96f?source=rss-375c9e92bddb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7130ced4b96f</guid>
            <category><![CDATA[belarus]]></category>
            <category><![CDATA[change]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[relocation]]></category>
            <category><![CDATA[netherlands]]></category>
            <dc:creator><![CDATA[Alex Antaniuk]]></dc:creator>
            <pubDate>Sat, 29 Jul 2017 11:49:36 GMT</pubDate>
            <atom:updated>2017-07-29T11:49:36.148Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0aRTZxmq7216O5ZYKCYFOA.png" /><figcaption>Летнее польское солнце будит всё ещё спящих красавиц и сигнализирует о том, что пора выдвигаться дальше</figcaption></figure><p>Всё началось с сильного желания переехать в другую страну. После непродолжительных мучений выбор пал на Европу, а именно, солнечную Испанию. Солнечный климат, море и красивый испанский язык сделали своё дело. Начался долгий процесс поиска подходящей вакансии.</p><p>Несколько недель прошли в поисках и немногочисленных собеседованиях, но к цели мы не приблизились. И вот в один прекрасный день мне на почту пришло письмо от парня с вопросом, не хочу ли я переехать работать в Нидерланды. Учитывая все обстоятельства в тот момент, мы решили, что есть смысл попробовать.</p><p>На удивление, весь многоступенчатый процесс собеседования на должность разработчика шёл достаточно гладко и вот спустя 2–3 недели мы уже впервые оказались в Амстердаме для прохождения очного интервью (да-да, мы были готовы переехать в страну, даже не бывая в ней до этого). Это была наша первая возможность поближе познакомиться со страной и людьми, её населяющими. Нас поселили в районе IJburg. Это не центр Амстердама, конечно, но достаточно недалеко от него и всё так же зелено и красиво. Время пролетело незаметно за подготовкой к собеседованию, но несмотря на это, нам удалось насладиться городом, посетив район каналов и выставку Banksy. После этого возвращаться в прохладную пасмурную минскую весну было болезненно, но волнительно: ведь дома нам станет известен результат последнего этапа собеседования. Ещё день ожидания, пару дней переговоров и вот предложение принято и пора собирать вещи! Ура!</p><p><strong>Совет №1</strong>: Не тяните с увольнением, как только приняли предложение. Скорее всего, вам потребуется больше времени, чем вы думаете, для того, чтобы организовать переезд.</p><p>Нам очень повезло с условиями рабочего контракта, так как компания всячески помогала нам с переездом. А именно: одна фирма помогала нам с оформлением рабочей визы и вида на жительство, вторая помогала с упаковкой, таможенным оформлением и транспортировкой вещей, а третья — с поиском жилья по приезду в Нидерланды. Я даже боюсь представить, насколько сложнее оказался бы переезд без их помощи.</p><p>Чтобы дать вам некоторое представление о сроках: нам потребовалось около 5 недель (без работы и без выходных), чтобы всё организовать. И даже этого времени нам хватило впритык. Итак, на что же ушло так много времени?</p><p><em>Во-первых</em>, врачи. Надо обязательно проверить состояние своего здоровья, а также попытаться решить как можно больше известных проблем с ним до отъезда. Медицина в Беларуси дешевле, чем в Нидерландах, и попасть на приём к врачу куда проще.</p><p><strong>Совет №2</strong>: Начните ходить к врачам как можно раньше. Те же анализы могут быть готовы только через неделю, а то и две. Я не говорю уже о том, что, возможно, придётся вписать в своё расписание дополнительных врачей по мере сдачи анализов.</p><p><em>Во-вторых</em>, вещи. Важно составить список вещей первой необходимости, которые вы возьмёте с собой в самолёт, поезд или машину, и тех вещей, которые поедут в контейнере на новое место. Всё остальное придётся оставить дома.</p><p><strong>Совет №3</strong>: Если вы собираетесь брать музыкальные инструменты, картины или тому подобные вещи с собой, необходимо получить разрешение на их вывоз с территории Евразийского экономического союза. А для этого нужно получить справку о том, что эти вещи не являются историко-культурными ценностями. Получается она быстро, в течение часа, но для этого следует подготовить все необходимые бумаги, подробно описанные <a href="http://www.kultura.by/ru/upravlenie-po-ohrane-istoriko-kulturnogo-naslediya/">здесь</a>, заранее.</p><p><em>В-третьих</em>, документы. Готовьтесь к тому, что придётся получать, заполнять, переводить и легализовать немало документов. Очень вероятно, что вам понадобятся следующие:</p><ol><li>свидетельство о заключении брака <strong>или</strong> справка о том, что вы не состоите в браке, переведённые на английский язык и с проставленным апостилем;</li><li>свидетельство о рождении на английском языке и с апостилем;</li><li>переведённая на английский язык и с проставленным апостилем справка о смене фамилии (например, в результате замужества);</li><li>диплом с приложением, переведённый на английский язык и с проставленным апостилем;</li><li>рабочий контракт с предыдущего места работы на английском языке.</li></ol><p>Проставлением апостилей на документы в данном случае занимается Министерство иностранных дел Республики Беларусь; <a href="http://mfa.gov.by/visa/adproc/aaecdbcb57e9ce2a.html">здесь</a> можно прочитать подробнее про процесс легализации справок.</p><p><strong>Совет №4</strong>: Чтобы сэкономить время, можно поручить перевод и легализацию бумаг одному из многочисленных агенств по переводам в Минске. Это стоит дороже, но экономит вам немало времени и сил. Мы пользовались услугами бюро переводов <a href="https://lan.by/">https://lan.by/</a>.</p><p>Если вы собираетесь ехать на машине, то не помешает иметь при себе следующие документы:</p><ol><li>переведённый на английский язык техпаспорт (свидетельство о регистрации);</li><li>переведённую на английский язык страховку (договор обязательного страхования гражданской ответственности);</li><li>договор покупки/дарения автомобиля на английском языке.</li></ol><p>А если вы ещё и домашних животных (например, собак) с собой везёте, то придётся добавить к списку следующий документ:</p><ol><li>справка из государственной ветклиники, на польском <strong>и</strong> английском языках в случае пересечения границы с Польшей.</li></ol><p>В любом случае, советую изучить сайт таможни государства Евросоюза, границу которого вы собираетесь пересекать. Гарантирую, что это спасёт вас от неприятных сюрпризов в самый неподходящий момент. Информацию о правилах пересечения польской границы мы нашли <a href="http://granica.gov.pl/kartyinfo.php?v=ru">здесь</a>.</p><p>При наличии детей список необходимых документов разрастается ещё больше. Как минимум, нужен будут следующий:</p><ol><li>свидетельство о рождении, переведённое на английский язык и с проставленным апостилем.</li></ol><p>Вполне возможно, вам также следует написать доверенности на получение справок на ваше имя и/или управление банковскими счетами на родственников или друзей. Хотя всё зависит от конкретной ситуации.</p><p>Будьте готовы к тому, что получение самого главного документа — рабочей визы — может потребовать от вас поездки в соседнюю страну. На момент написания статьи рабочие визы в Нидерланды выдавали посольства в Москве, Киеве и Варшаве, но не в Минске. А это ещё несколько драгоценных дней подготовки. Нам повезло в этом плане: мы поехали в Киев, подали документы в 11 утра и уже в тот же день в 4 вечера получили визы и выехали домой.</p><p><strong>Совет №5</strong>: Обязательно скажите организации, которая занимается оформлением вашей рабочей визы, в каком именно посольстве вы бы хотели подавать документы.</p><p>Если у вас всё ещё не пропало желание переехать, то я вас поздравляю — большая часть подготовки позади!</p><p>С документами покончено — давайте вернёмся к списку наших дел.</p><p><em>В-четвёртых</em>, в случае путешествия на машине распланируйте ваш маршрут. Мы нашли <a href="http://dreamroute.ru/v-gollandiyu-niderlandyi-na-avtomobile/">отличный путеводитель</a> и решили ехать способом, описанным в нём: с ночёвками в Варшаве и Берлине.</p><p><strong>Совет №6</strong>: При путешествии на машине обращайте внимание на время въезда в отель и обязательно оставьте часть времени на прохождение таможни и непредвиденные ситуации. Мы этого не сделали в должной мере и лишь разница в один час с Польшой спасла нас от необходимости поздно вечером искать место для ночёвки в незнакомой стране.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WUDBvXMDh_Iyl89ChphOMQ.png" /><figcaption>Третий день путешествия на машине — ехать надоело даже собакам</figcaption></figure><p><em>В-пятых</em>, позаботьтесь о мобильной связи за рубежом: наличие интернета под рукой сильно облегчает жизнь. Роуминг — это удобный, но дорогой вариант. Лучше купить предоплаченную сим-карту на просторах Евросоюза и пользоваться ей.</p><p><em>И последний пункт</em>: расторгните все контракты, которые вам более не нужны, перед отъездом. На мобильную связь, интернет услуги и т. д.</p><p>Если вы всё сделаете правильно, то, как и мы, уже в ближайшее время сможете спокойно вдохнуть свежий морской воздух в окружении сказочных домиков. Дальше — интеграция в голландское общество, но об этом в следующей части…</p><p><em>Ставьте лайк, если понравилась статья, и делитесь своим опытом переезда в комментариях. Всем хорошего дня!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7130ced4b96f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Guide to multi-tenancy with Spring Boot and MongoDB]]></title>
            <link>https://medium.com/@alexantaniuk/guide-to-multi-tenancy-with-spring-boot-and-mongodb-78ea5ef89466?source=rss-375c9e92bddb------2</link>
            <guid isPermaLink="false">https://medium.com/p/78ea5ef89466</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[spring]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[spring-boot]]></category>
            <dc:creator><![CDATA[Alex Antaniuk]]></dc:creator>
            <pubDate>Wed, 10 May 2017 13:37:32 GMT</pubDate>
            <atom:updated>2017-05-10T13:45:45.262Z</atom:updated>
            <cc:license>https://creativecommons.org/publicdomain/mark/1.0/</cc:license>
            <content:encoded><![CDATA[<h4>Target application design</h4><p>We’ll be modifying our sample Spring Boot application to support “Separate DB” version of the multi-tenant data architecture which will also be capable of handling “Separate schema” version out-of-box (see <a href="https://msdn.microsoft.com/en-us/library/aa479086.aspx">https://msdn.microsoft.com/en-us/library/aa479086.aspx</a> for different approaches to managing multi-tenant data).</p><p>In our simplified target application architecture all user- and tenant-related information will be stored in the shared database while other data will come from tenant-specific storages (Tenant A, B, C, D in the picture below).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*YVkLJvDNWzibol54piMy7g.png" /></figure><h4>Security filters</h4><p>Spring security is based on filters and this is where we’re going to start. We want to be able to authenticate users both w/and w/o providing tenant identifier. Thus we can already sketch out security flow between our components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*hUfatrW1HY4UfUsq-GyGzQ.png" /><figcaption>Security flow</figcaption></figure><p>We‘ve defined custom filters in order to support the requirement above. Two of them — TenantAuthenticationFilter and GlobalAuthenticationFilter — are responsible for user authentication and are called before Spring’s BasicAuthenticationFilter, while the third one — TenantContextFilter — manages tenant information and is executed <strong>after</strong> the successful authentication.</p><p>First, TenantAuthenticationFilter is called which checks for the X-Tenant HTTP header and tries to authenticate the user in case the header is present.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/941fd0108aa031bfebdd712bf1450743/href">https://medium.com/media/941fd0108aa031bfebdd712bf1450743/href</a></iframe><p>Then, GlobalAuthenticationFilter filters the incoming HTTP request if user hasn’t been authenticated by theTenantAuthenticationFilter.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0c0e0b3595c5f814e5dd72fa5c7bd688/href">https://medium.com/media/0c0e0b3595c5f814e5dd72fa5c7bd688/href</a></iframe><p>Lastly, TenantContextFilter is executed which sole responsibility is to store a particular TenantConfiguration (if any present) for the duration of a HTTP request and then clear it after the request has been processed.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fead133249c2273bfad29091d9fde413/href">https://medium.com/media/fead133249c2273bfad29091d9fde413/href</a></iframe><h4>Dynamic configuration of a database connection</h4><p>In order to be able to dynamically configure a database connection we implement our own MongoDbFactory that will return a DB instance (creating it if necessary) associated with the currently stored TenantConfiguration.</p><p>Below is the target flow for acquiring the required DB connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*MmbHSzcNQtZy_gaIyi7H6A.png" /><figcaption>Database connection acquiring flow</figcaption></figure><p>First, we create custom MultiTenantMongoFactory which internally uses CurrentMongoConfigHolder— a simple holder class that saves MongoConnectionConfig specific to a particular HTTP request. We’ve already seen the usage of this class in the TenantContextFilter implementation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/657f5243a95b867cf3fcce6b4b3fc009/href">https://medium.com/media/657f5243a95b867cf3fcce6b4b3fc009/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7e095dab5b8fbc70ba8f304c56682e51/href">https://medium.com/media/7e095dab5b8fbc70ba8f304c56682e51/href</a></iframe><p>All the heavylifting regarding the initialization of a new database connection is done by the MongoConnector implementation — in this case, CachedMongoConnector.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/54d9eb04466324fab23788ca95c85575/href">https://medium.com/media/54d9eb04466324fab23788ca95c85575/href</a></iframe><p>It makes use of a simple cache implementation used for storing initialized Mongo connections — MongoConnectionCacheImpl.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/aaca2d367cba4a161e124792deb74444/href">https://medium.com/media/aaca2d367cba4a161e124792deb74444/href</a></iframe><p>And now we’re ready for the final piece of the puzzle — custom AOP aspect. It’s only responsible for updating the CurrentMongoConfigHolder with the appropriate MongoConnectionConfig — either tenant-specific or default one — and nothing else.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5b39c5b43617ff63d1f81c413c86f253/href">https://medium.com/media/5b39c5b43617ff63d1f81c413c86f253/href</a></iframe><p>As you may recall, CurrentMongoConfigHolder is used for storing MongoConnectionConfig associated with a particular HTTP request.</p><h4>Example</h4><p>Let’s consider an example: we want to be able to find a user by his/her id. As mentioned at the beginning of the article, we’re storing all users in the shared database. So in order to tell our application to use connection to that shared Mongo database we simply (1) add @UseDefaultMongoConfig annotation to the method that (2) wraps the call to the Spring’s MongoRepository implementation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/df9319bcbdef9fab1a468e921e3891ad/href">https://medium.com/media/df9319bcbdef9fab1a468e921e3891ad/href</a></iframe><h4>Summary</h4><p>In this article we’ve successfully created infrastructure for supporting “Separate schema/Separate DB” multi-tenant data architecture versions in a simple Spring Boot application. This tutorial doesn’t cover such topics as storing MongoDB connection credentials in an encrypted way, as well as retrieving user information including his/her tenant roles and permissions during authentication. However, current architecture can be extended quite easily to support these requirements.</p><p>Like this post if you’ve found it helpful and enjoyed it. Happy coding! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78ea5ef89466" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hassle-free Android UI tests using Dagger 2]]></title>
            <link>https://medium.com/@alexantaniuk/hassle-free-android-ui-tests-using-dagger-2-b1f63b304b4b?source=rss-375c9e92bddb------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1f63b304b4b</guid>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Alex Antaniuk]]></dc:creator>
            <pubDate>Fri, 29 Jan 2016 20:35:03 GMT</pubDate>
            <atom:updated>2016-01-29T20:35:03.386Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UaOwNVNrM91hwEgqeHkE-A.jpeg" /></figure><p>You may be wondering: “Why do we need yet another article about UI testing of Android apps that make use of <em>Dagger 2</em> library? There are plenty of tutorials already.” Well, if I didn’t have anything to add to this conversation I wouldn’t be writing to you.</p><p><strong>The main problem</strong> I was trying to solve is to remove all the hassle related to <strong>injecting mocked or stubbed dependencies into the activities</strong>. Of course one can find many pieces of advice on how to do this <em>proper way</em>. But all of them involve creation of additional modules and components that are only used to provide test dependencies. What if I don’t want to do this? <em>It’s too much work for me!</em> There should be an easier way. And it turns out there is…</p><p>Before we continue let me say that the method I’m about to show you works well with any presentation layer organization (not only MVP - <em>Model-View-Presenter</em>) as long as there are dependencies which you want to control that are injected in the activity.</p><p>So let’s get started, shall we? Imagine that you have a welcome screen in your app implemented using a simple Android activity named <em>WelcomeActivity</em>. To inject dependencies in the activity you create a component like this one:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6bd1508264d9c35a12f98a01abd204f7/href">https://medium.com/media/6bd1508264d9c35a12f98a01abd204f7/href</a></iframe><p>And the required dependencies are provided by the <em>WelcomeModule</em>:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d8c180aa0e570d2960e8de1492af7cd0/href">https://medium.com/media/d8c180aa0e570d2960e8de1492af7cd0/href</a></iframe><p>Pretty basic stuff. Now, how do we inject our dependencies into the <em>WelcomeActivity</em>? We do it in the <em>Activity#onCreate(Bundle)</em> method. The main trick here is how we actually create a <em>WelcomeComponent </em>instance that is then used to perform dependency injection. In this case it’s created and managed by the global <em>AndroidApplication</em> class. That’ll come in handy when we later write UI tests for our welcome screen.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a83514562a10642db25bcf9e3af8aa88/href">https://medium.com/media/a83514562a10642db25bcf9e3af8aa88/href</a></iframe><p>And here’s our main application class:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/29af8fed169c9387eac69b28318ad083/href">https://medium.com/media/29af8fed169c9387eac69b28318ad083/href</a></iframe><p>In order to test our activity we need to be able to return a test version of the <em>WelcomeComponent</em> when <em>WelcomeActivity</em> requests it in the <em>onCreate</em> method. It can be achieved by extending our main application class and overriding <em>AndroidApplication#createWelcomeComponent()</em> method:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/82268095240167f4d4ebcbe4fbca705a/href">https://medium.com/media/82268095240167f4d4ebcbe4fbca705a/href</a></iframe><p>From this point onwards it doesn’t matter whether you prefer to write UI tests using <a href="https://google.github.io/android-testing-support-library/docs/espresso/index.html"><em>Espresso</em></a> or <a href="http://robolectric.org/"><em>Robolectric</em></a> or any other testing framework — you’ll always be able to inject dependencies created specifically for the testing purpose.</p><p>For example, let’s see how we would set up a <em>Robolectric</em> test for the <em>WelcomeActivity</em>. All we need to do is:</p><ol><li>Create an instance of the <em>WelcomeComponent.</em></li><li>Override the method that performs the dependency injection (<em>WelcomeComponent#inject(WelcomeActivity)</em> in this case).</li><li>Tell our main test application class to return this component when requested instead of creating an actual one.</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8473228c01506b8ed16b9e77bffcfd6a/href">https://medium.com/media/8473228c01506b8ed16b9e77bffcfd6a/href</a></iframe><p>The same approach works well for the <em>Espresso</em> tests also! The only difference is the way you specify what application class should be used when running the tests. You can do this by extending default <em>AndroidJUnitRunner</em> and setting <em>testInstrumentationRunner</em> property in the <em>build.gradle</em> file to point to our custom runner:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/682c786cfe08ac76912d04fc1c59aff3/href">https://medium.com/media/682c786cfe08ac76912d04fc1c59aff3/href</a></iframe><p>Congratulations! In less than 5 minutes you were able to start writing hassle-free Android UI tests. <strong>Forget about unnecessary Dagger 2 modules created solely for the testing purpose.</strong></p><p>This approach was successfully tested when developing <a href="https://play.google.com/store/apps/details?id=com.agilefit"><strong><em>AgileFit</em></strong></a> application I’ve been working on recently. Go ahead and try it to see whether writing tests this way helped me create bug-free user experience :) <strong>Bonus</strong>: you can even use this approach in conjunction with the <a href="https://github.com/square/spoon">Spoon</a> library to automate screenshot capturing process for the Google Play Store app page.</p><p>Hope this article did show you a more elegant way of writing UI tests!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1f63b304b4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>